/third_party/node/tools/icu/ |
H A D | icutrim.py | 310 fi.write('\n'.join(remove).encode("utf-8") + b'\n')
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | loaders.py | 459 return 'tmpl_' + sha1(name.encode('utf-8')).hexdigest()
|
/third_party/python/Lib/distutils/command/ |
H A D | register.py | 275 body = body.getvalue().encode("utf-8")
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | export_targets.py | 273 acceptable_sources = {x.rsplit('/', 1)[-1].encode() for x in acceptable_sources}
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/GSYM/ |
H A D | LineTable.cpp | 122 llvm::Error LineTable::encode(FileWriter &Out, uint64_t BaseAddr) const { in encode() function in LineTable 128 "attempted to encode invalid LineTable object"); in encode() 229 // We can't encode the address delta and line delta into in encode()
|
/third_party/skia/src/core/ |
H A D | SkConvertPixels.cpp | 45 steps.flags.encode) { in swizzle_or_premul()
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | loaders.py | 481 return "tmpl_" + sha1(name.encode("utf-8")).hexdigest()
|
/third_party/unity/auto/ |
H A D | parse_output.rb | 63 str.encode(:xml => :attr)
|
/third_party/python/Lib/test/ |
H A D | test_file.py | 194 f.write(str(s).encode("ascii"))
|
H A D | test_fcntl.py | 189 expected = os.path.abspath(TESTFN).encode('utf-8')
|
H A D | test_symtable.py | 243 top = symtable.symtable(TEST_CODE.encode('utf8'), "?", "exec")
|
H A D | test_utf8_mode.py | 215 arg = 'h\xe9\u20ac'.encode('utf-8')
|
H A D | test_ntpath.py | 69 fn = fn.encode('ascii', 'backslashreplace').decode('ascii') 880 b_cap, b_free = nt._getdiskusage(sys.exec_prefix.encode()) 890 b_final_path = nt._getfinalpathname(path.encode())
|
H A D | pickletester.py | 886 xname = X.__name__.encode('ascii') 941 data = b'I' + str(maxint64).encode("ascii") + b'\n.' 946 data = b'I' + str(maxint64).encode("ascii") + b'JUNK\n.' 963 data = exception_pickle.replace(b'?', exc.__name__.encode("ascii")) 1404 f.write(locker_module.encode('utf-8')) 1406 f.write(locking_import_module.encode('utf-8')) 2200 self.assertIn(__name__.encode("utf-8"), s1) 2209 self.assertNotIn(__name__.encode("utf-8"), s2) 2680 objects = [(str(i).encode('ascii'), i % 42, {'i': str(i)}) 2876 self.assertIn(('c%s\n%s' % (mod, name)).encode(), pickle [all...] |
/third_party/python/Lib/json/ |
H A D | encoder.py | 126 Otherwise, it will be a ValueError to encode such floats. 183 def encode(self, o): member in JSONEncoder 187 >>> JSONEncoder().encode({"foo": ["bar", "baz"]}) 312 # want to encode them as integers/floats in JSON. One example
|
/third_party/rust/crates/rustix/src/backend/libc/io/ |
H A D | epoll.rs | 158 let encoded = self.context.encode(target); in add() 183 let encoded = self.context.encode(target); in mod_()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | radeon_uvd_enc_1_1.c | 976 static void encode(struct radeon_uvd_encoder *enc) in encode() function 1014 enc->encode = encode; in radeon_uvd_enc_1_1_init()
|
H A D | radeon_vce_52.c | 212 static void encode(struct rvce_encoder *enc) in encode() function 255 RVCE_BEGIN(0x03000001); // encode in encode() 676 enc->encode = encode; in si_vce_52_init()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferMemoryRequirementsTests.cpp | 718 const bool encode = (videoCodecUsage & VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR) || (videoCodecUsage & VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR); in chainVkStructure() local 738 // encode profile in chainVkStructure() 760 if (encode && decode) in chainVkStructure() 765 else if (encode) in chainVkStructure()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferMemoryRequirementsTests.cpp | 716 const bool encode = (videoCodecUsage & VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR) || (videoCodecUsage & VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR); in chainVkStructure() local 736 // encode profile in chainVkStructure() 758 if (encode && decode) in chainVkStructure() 763 else if (encode) in chainVkStructure()
|
/third_party/rust/crates/rust-openssl/openssl/src/x509/ |
H A D | tests.rs | 472 hex::encode(certs[0].digest(MessageDigest::sha1()).unwrap()), in test_stack_from_pem() 476 hex::encode(certs[1].digest(MessageDigest::sha1()).unwrap()), in test_stack_from_pem() 498 hex::encode(signature.as_slice()), in signature()
|
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
H A D | hva-h264.c | 897 /* check esram size necessary to encode a frame */ in hva_h264_open() 1049 .encode = hva_h264_encode, 1060 .encode = hva_h264_encode,
|
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/ |
H A D | hva-h264.c | 899 /* check esram size necessary to encode a frame */ in hva_h264_open() 1051 .encode = hva_h264_encode, 1062 .encode = hva_h264_encode,
|
/third_party/PyYAML/lib/yaml/ |
H A D | constructor.py | 296 value = self.construct_scalar(node).encode('ascii') 502 value = self.construct_scalar(node).encode('ascii')
|
/third_party/node/lib/internal/crypto/ |
H A D | webcrypto.js | 705 keyData = ec.encode(raw + StringPrototypeRepeat(' ', 8 - (raw.length % 8))); 707 keyData = ec.encode(raw);
|