Home
last modified time | relevance | path

Searched refs:encode (Results 376 - 400 of 850) sorted by relevance

1...<<11121314151617181920>>...34

/third_party/skia/third_party/externals/brotli/c/enc/
H A Dparams.h12 #include <brotli/encode.h>
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dgen-harfbuzzcc.py15 f.write ("".join ('#include "{}"\n'.format (os.path.basename (x)) for x in sources if x.endswith (".cc")).encode ())
H A Dgen-hb-version.py33 .encode ())
/third_party/python/PC/layout/support/
H A Dprops.py99 yield "python.props", ("python.props", props.encode("utf-8"))
H A Dnuspec.py77 yield "python.nuspec", ("python.nuspec", nuspec.encode("utf-8"))
/test/testfwk/xdevice/src/xdevice/_core/report/
H A Dencrypt.py68 plain_text = str(content).encode(encoding='utf-8')
104 cipher_text = str(content).encode()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeon_vcn_enc_4_0.c132 // 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 Dbase64.h49 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.py283 # 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 Dtest_threaded_import.py209 f.write(contents.encode('utf-8'))
242 f.write(code.encode('utf-8'))
H A Dtest_abc.py876 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 Dgenerate_tests.py264 fout.write(str.encode(test_file))
278 fout.write(str.encode(cmake))
/third_party/vk-gl-cts/scripts/log/
H A Dlog_parser.py81 # 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 Dtest_httpservers.py127 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 Dtest_base64.py66 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 Dprivate-lib-roles-http-compression.h33 #include <brotli/encode.h>
/third_party/node/tools/
H A Dcompress_json.py19 text = json.dumps(obj, separators=(',', ':')).encode('utf-8')
/third_party/python/Tools/demo/
H A Drpythond.py38 conn.send(reply.encode())
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/GSYM/
H A DHeader.h120 llvm::Error encode(FileWriter &O) const;
/third_party/skia/experimental/tools/
H A Dgenerate-unicode-test-txt70 return ('\\U%08x' % i).decode('unicode-escape').encode('UTF-8')
/third_party/node/deps/v8/src/objects/
H A Dcode-inl.h611 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 Dserver.py478 # 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 Dplistlib.py132 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 Dgen_release_notes_test.py153 mock_com = mock.AsyncMock(return_value=(textwrap.dedent(content).encode(), ''))
/third_party/node/test/fixtures/wpt/url/
H A Dpercent-encoding.window.js29 const bytes = new TextEncoder().encode(input);

Completed in 15 milliseconds

1...<<11121314151617181920>>...34