/third_party/skia/tests/ |
H A D | VerticesTest.cpp | 63 v0->priv().encode(writer); in self_test() 80 int iCount = 9; // odd value exercises padding logic in encode() in DEF_TEST()
|
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/ |
H A D | encoder_jni.cc | 11 #include <brotli/encode.h>
|
/third_party/skia/third_party/externals/harfbuzz/test/subset/ |
H A D | run-tests.py | 28 process.stdin.write ((';'.join (command) + '\n').encode ("utf-8"))
|
/third_party/python/Lib/test/libregrtest/ |
H A D | setup.py | 109 os.environb.setdefault(UNICODE_GUARD_ENV.encode(), TESTFN_UNDECODABLE)
|
/third_party/vixl/tools/ |
H A D | verify_assembler_traces.py | 384 out, err = llvm_mc_proc.communicate("\n".join(instructions).encode())
|
/third_party/python/Lib/test/ |
H A D | test_univnewlines.py | 50 data = data.encode("ascii")
|
H A D | test_zipfile.py | 1520 self.assertEqual(fdata.encode(), f.read()) 1537 self.assertEqual(fdata.encode(), f.read()) 1560 self.assertEqual(fdata.encode(), f.read()) 1572 self.assertEqual(fdata.encode(), f.read()) 1648 content = b'foobar' + arcname.encode() 2012 comment2 = comment2.encode("ascii") 2964 return out.replace(os.linesep.encode(), b'\n') 2993 expected = t.getvalue().encode('ascii', 'backslashreplace') 3230 zf.writestr("path/16.txt", "This was utf-16".encode("utf-16")) 3587 "This is pure ASCII.\n".encode('asci [all...] |
/third_party/python/Lib/wsgiref/ |
H A D | simple_server.py | 147 return [stdout.getvalue().encode("utf-8")]
|
/third_party/vk-gl-cts/scripts/khr_util/ |
H A D | registry_cache.py | 72 hash = hashlib.sha256(dataFiltered.encode("utf-8")).hexdigest()
|
/third_party/node/deps/v8/src/objects/ |
H A D | feedback-vector.cc | 76 int new_data = VectorICComputer::encode(data, slot.ToInt(), kind); in SetKind() 426 set_flags(TieringStateBits::encode(TieringState::kNone) | in reset_flags() 427 OsrTieringStateBit::encode(TieringState::kNone) | in reset_flags() 428 MaybeHasOptimizedCodeBit::encode(false)); in reset_flags() 860 int config = ContextIndexBits::encode(script_context_index) | in ConfigureLexicalVarMode() 861 SlotIndexBits::encode(context_slot_index) | in ConfigureLexicalVarMode() 862 ImmutabilityBit::encode(immutable); in ConfigureLexicalVarMode()
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
H A D | t1load.c | 1493 T1_Encoding encode = &face->type1.encoding; in parse_encoding() local 1524 if ( encode->char_index ) in parse_encoding() 1526 FT_FREE( encode->char_index ); in parse_encoding() 1527 FT_FREE( encode->char_name ); in parse_encoding() 1532 loader->num_chars = encode->num_chars = array_size; in parse_encoding() 1533 if ( FT_NEW_ARRAY( encode->char_index, array_size ) || in parse_encoding() 1534 FT_NEW_ARRAY( encode->char_name, array_size ) || in parse_encoding()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | auditsc.c | 1026 bool encode; in audit_log_execve_info() local 1059 encode = false; in audit_log_execve_info() 1095 encode = true; in audit_log_execve_info() 1100 if (!encode) in audit_log_execve_info() 1101 encode = audit_string_contains_control( in audit_log_execve_info() 1105 len_full = (encode ? in audit_log_execve_info() 1113 len_abuf = (encode ? len_buf * 2 : len_buf + 2); in audit_log_execve_info() 1155 if (encode) { in audit_log_execve_info() 1180 encode = false; in audit_log_execve_info()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | auditsc.c | 1135 bool encode; in audit_log_execve_info() local 1168 encode = false; in audit_log_execve_info() 1204 encode = true; in audit_log_execve_info() 1209 if (!encode) in audit_log_execve_info() 1210 encode = audit_string_contains_control( in audit_log_execve_info() 1214 len_full = (encode ? in audit_log_execve_info() 1222 len_abuf = (encode ? len_buf * 2 : len_buf + 2); in audit_log_execve_info() 1264 if (encode) { in audit_log_execve_info() 1289 encode = false; in audit_log_execve_info()
|
/third_party/python/Lib/urllib/ |
H A D | request.py | 719 # original bytes and percent-encode non-ASCII bytes, and any special 818 creds = base64.b64encode(user_pass.encode()).decode("ascii") 1016 auth = "Basic " + base64.b64encode(raw.encode()).decode("ascii") 1031 credentials = '{0}:{1}'.format(user, passwd).encode() 1142 b = s.encode("ascii") + _randombytes(8) 1211 H = lambda x: hashlib.md5(x.encode("ascii")).hexdigest() 1213 H = lambda x: hashlib.sha1(x.encode("ascii")).hexdigest() 1915 proxy_auth = base64.b64encode(proxy_passwd.encode()).decode('ascii') 1921 auth = base64.b64encode(user_passwd.encode()).decode('ascii') 2126 data = base64.decodebytes(data.encode('asci [all...] |
/third_party/curl/tests/ |
H A D | smbserver.py | 335 contents = VERIFIED_RSP.format(pid=pid).encode('utf-8') 356 contents = self.ctd.get_test_data(requested_filename).encode('utf-8')
|
/third_party/node/lib/internal/webstreams/ |
H A D | adapters.js | 276 chunk = encoder.encode(chunk); 702 chunk = encoder.encode(chunk);
|
/third_party/node/deps/v8/tools/clusterfuzz/foozzie/ |
H A D | v8_foozzie.py | 374 return text.encode('utf-8', 'replace') 398 long_key = hashlib.sha1(source.encode('utf-8')).hexdigest()
|
/third_party/node/test/parallel/ |
H A D | test-crypto-rsa-dsa-revert.js | 63 const ab = getBufferCopy(ec.encode(rsaPubPem)); 90 passphrase: ec.encode('password')
|
H A D | test-crypto-rsa-dsa.js | 62 const ab = getBufferCopy(ec.encode(rsaPubPem)); 89 passphrase: ec.encode('password')
|
/third_party/node/deps/v8/tools/testrunner/testproc/ |
H A D | progress.py | 25 print(output.encode(encoding, errors='replace').decode(encoding)) 154 print(text.encode(encoding, errors='replace').decode(encoding))
|
/third_party/node/deps/v8/src/strings/ |
H A D | string-builder-inl.h | 76 int encoded_slice = StringBuilderSubstringLength::encode(length) | in AddSubjectSlice() 77 StringBuilderSubstringPosition::encode(from); in AddSubjectSlice() 80 // Otherwise encode as two smis. in AddSubjectSlice()
|
/third_party/python/Lib/ |
H A D | telnetlib.py | 560 line = sys.stdin.readline().encode('ascii') 573 self.write(line.encode('ascii'))
|
/third_party/python/Lib/test/test_asyncio/ |
H A D | test_windows_events.py | 132 w.write('lower-{}\n'.format(i).encode()) 136 self.assertEqual(response, 'LOWER-{}\n'.format(i).encode())
|
/third_party/vk-gl-cts/external/ |
H A D | fetch_sources.py | 111 checksum_bytes = checksum.encode("utf-8") 203 return computeChecksum(data.encode('utf-8')) == self.checksum
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | LzcompCompress.java | 75 encode(); in write() 92 private void encode() { in encode() method in LzcompCompress
|