/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | params.h | 12 #include <brotli/encode.h>
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-harfbuzzcc.py | 15 f.write ("".join ('#include "{}"\n'.format (os.path.basename (x)) for x in sources if x.endswith (".cc")).encode ())
|
H A D | gen-hb-version.py | 33 .encode ())
|
/third_party/python/PC/layout/support/ |
H A D | props.py | 99 yield "python.props", ("python.props", props.encode("utf-8"))
|
H A D | nuspec.py | 77 yield "python.nuspec", ("python.nuspec", nuspec.encode("utf-8"))
|
/test/testfwk/xdevice/src/xdevice/_core/report/ |
H A D | encrypt.py | 68 plain_text = str(content).encode(encoding='utf-8') 104 cipher_text = str(content).encode()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_vcn_enc_4_0.c | 132 // 2: 1 pre encode pitch * 2 (luma + chroma) in radeon_enc_ctx() 133 // 136: 34 pre encode reconstructed pics * 4 (luma + chroma offsets + unused union) in radeon_enc_ctx() 134 // 3: 1 pre encode input pic * 3 (r,g,b offset union) in radeon_enc_ctx() 153 enc->mq_encode = enc->encode; in radeon_enc_4_0_init() 156 enc->encode = radeon_enc_sq_encode; in radeon_enc_4_0_init()
|
/third_party/nghttp2/src/ |
H A D | base64.h | 49 template <typename InputIt> std::string encode(InputIt first, InputIt last) { in encode() function 89 OutputIt encode(InputIt first, InputIt last, OutputIt d_first) { in encode() function
|
/third_party/python/Lib/email/ |
H A D | _policybase.py | 283 # the unknown-8bit charset to encode the bytes as encoded words. 338 return folded.encode('ascii', 'surrogateescape') 369 parts.append(h.encode(linesep=self.linesep, maxlinelen=maxlinelen))
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_threaded_import.py | 209 f.write(contents.encode('utf-8')) 242 f.write(code.encode('utf-8'))
|
H A D | test_abc.py | 876 self.loader.source = source.encode('utf-8') 880 self.loader.source = source.encode('latin-1') 996 mock.source = source.encode('utf-8') 1005 assert source.encode('latin-1') != source.encode('utf-8') 1006 mock.source = source.encode('latin-1') 1015 mock.source = source.encode('utf-8')
|
/third_party/spirv-tools/test/diff/diff_files/ |
H A D | generate_tests.py | 264 fout.write(str.encode(test_file)) 278 fout.write(str.encode(cmake))
|
/third_party/vk-gl-cts/scripts/log/ |
H A D | log_parser.py | 81 # In Python 2, shlex works better with bytes, so encode and decode again upon return. 82 return [w.decode('utf-8') for w in shlex.split(line.encode('utf-8'))] 203 log = log.decode('utf-8','ignore').encode("utf-8")
|
/third_party/python/Lib/test/ |
H A D | test_httpservers.py | 127 body = self.headers['x-special-incoming'].encode('utf-8') 267 self.assertEqual(res.read(), 'Ärger mit Unicode'.encode('utf-8')) 435 .encode(enc, 'surrogateescape'), body) 437 .encode(enc, 'surrogateescape'), body) 445 self.assertRegex(response, f'listing for {self.base_url}/\?x=123'.encode('latin1')) 448 self.assertRegex(response, f'listing for {self.base_url}/\?x=\xef\xbf\xbd'.encode('latin1')) 641 self.assertIn(html_text.encode(enc), body) 689 k.encode('ascii') 690 v.encode('ascii') 704 linesep = os.linesep.encode('asci [all...] |
H A D | test_base64.py | 66 base64.encode(infp, outfp) 72 self.assertRaises(TypeError, base64.encode, StringIO('abc'), BytesIO()) 73 self.assertRaises(TypeError, base64.encode, BytesIO(b'abc'), StringIO()) 74 self.assertRaises(TypeError, base64.encode, StringIO('abc'), StringIO()) 83 self.assertRaises(TypeError, base64.encode, StringIO('YWJj\n'), BytesIO()) 84 self.assertRaises(TypeError, base64.encode, BytesIO(b'YWJj\n'), StringIO()) 85 self.assertRaises(TypeError, base64.encode, StringIO('YWJj\n'), StringIO())
|
/third_party/libwebsockets/lib/roles/http/compression/ |
H A D | private-lib-roles-http-compression.h | 33 #include <brotli/encode.h>
|
/third_party/node/tools/ |
H A D | compress_json.py | 19 text = json.dumps(obj, separators=(',', ':')).encode('utf-8')
|
/third_party/python/Tools/demo/ |
H A D | rpythond.py | 38 conn.send(reply.encode())
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/ |
H A D | Header.h | 120 llvm::Error encode(FileWriter &O) const;
|
/third_party/skia/experimental/tools/ |
H A D | generate-unicode-test-txt | 70 return ('\\U%08x' % i).decode('unicode-escape').encode('UTF-8')
|
/third_party/node/deps/v8/src/objects/ |
H A D | code-inl.h | 611 uint32_t flags = KindField::encode(kind) | in initialize_flags() 612 IsTurbofannedField::encode(is_turbofanned) | in initialize_flags() 613 StackSlotsField::encode(stack_slots) | in initialize_flags() 614 IsOffHeapTrampoline::encode(is_off_heap_trampoline); in initialize_flags() 1072 uint16_t value = KindField::encode(kind); 1230 set_osr_urgency_and_install_target(OsrUrgencyBits::encode(0) | in reset_osr_urgency_and_install_target() 1231 OsrInstallTargetBits::encode(0)); in reset_osr_urgency_and_install_target()
|
/third_party/python/Lib/http/ |
H A D | server.py | 478 # HTML encode to prevent Cross Site Scripting attacks 485 body = content.encode('UTF-8', 'replace') 517 (self.protocol_version, code, message)).encode( 526 ("%s: %s\r\n" % (keyword, value)).encode('latin-1', 'strict')) 823 encoded = '\n'.join(r).encode(enc, 'surrogateescape') 1123 authorization = authorization[1].encode('ascii')
|
/third_party/python/Lib/ |
H A D | plistlib.py | 132 return binascii.a2b_base64(s.encode("utf-8")) 315 line = line.encode('utf-8') 437 prefix = bom + start.decode('ascii').encode(encoding) 790 t = value.encode('ascii') 793 t = value.encode('utf-16be')
|
/third_party/mesa3d/bin/ |
H A D | gen_release_notes_test.py | 153 mock_com = mock.AsyncMock(return_value=(textwrap.dedent(content).encode(), ''))
|
/third_party/node/test/fixtures/wpt/url/ |
H A D | percent-encoding.window.js | 29 const bytes = new TextEncoder().encode(input);
|