/third_party/python/Lib/test/ |
H A D | test_xml_etree.py | 42 SIMPLE_XMLFILE.encode("utf-8") 133 return data.replace(b'\n', os.linesep.encode()) 352 stringfile = io.BytesIO(SAMPLE_XML.encode("utf-8")) 1044 self.assertEqual(ET.XML(xml.encode(encoding)).text, body) 1056 return xml(encoding).encode(encoding) 1096 self.assertRaises(ValueError, ET.XML, xml('undefined').encode('ascii')) 1097 self.assertRaises(LookupError, ET.XML, xml('xxx').encode('ascii')) 3654 "<tag>abc</tag>" % enc).encode(enc)) 3658 "<tag>abc</tag>" % upper).encode(enc)) 3670 "<tag><&\"'></tag>" % enc).encode(en [all...] |
H A D | ssl_servers.py | 103 body = body.encode('utf-8')
|
H A D | test_quopri.py | 157 quopri.encode(infp, outfp, quotetabs=False)
|
H A D | test_zipfile64.py | 33 self.data = '\n'.join(line_gen).encode('ascii')
|
H A D | test_unicode_file.py | 15 TESTFN_UNICODE.encode(sys.getfilesystemencoding())
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/scripts/ |
H A D | mk_prim_xml_step1.py | 156 cfg_fp.write(line.encode("UTF-8"))
|
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | vpu_api.h | 357 * @return 0 for encode success, others for failure. 359 signed int (*encode)(struct VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut); member
|
/third_party/googletest/googletest/test/ |
H A D | googletest-output-test.py | 334 golden_file.write(output.encode())
|
/third_party/libunwind/libunwind/tests/ |
H A D | x64-test-dwarf-expressions.S | 9 # stack-based operations which allow the compiler to encode integer mathematics
|
/third_party/node/src/quic/ |
H A D | sessionticket.cc | 83 MaybeLocal<Object> SessionTicket::encode(Environment* env) const { in encode() function in node::quic::SessionTicket
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | MSVSNew.py | 48 d = hashlib.md5((str(seed) + str(name)).encode("utf-8")).hexdigest().upper()
|
/third_party/nghttp2/script/ |
H A D | fetch-ocsp-response | 137 write_file(issuer_fn, (m.group(1) + '\n').encode('utf-8'))
|
/third_party/ninja/src/ |
H A D | browse.py | 191 self.wfile.write(create_page(page_body).encode('utf-8'))
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | MSVSNew.py | 48 d = hashlib.md5((str(seed) + str(name)).encode("utf-8")).hexdigest().upper()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | egd_tables.py | 62 te[0].encode('unicode_escape').decode(),
|
/third_party/node/deps/undici/src/lib/fetch/ |
H A D | file.js | 284 bytes.push(encoder.encode(s))
|
/third_party/python/Lib/re/ |
H A D | __init__.py | 261 return pattern.translate(_special_chars_map).encode('latin1')
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/spec_tools/ |
H A D | console_printer.py | 133 stdout.buffer.write(line.encode('utf-8'))
|
/third_party/skia/src/gpu/ |
H A D | GrColorSpaceXform.cpp | 49 if (a->fSteps.flags.encode && in Equals()
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
H A D | afblue.pl | 149 utf8::encode($s);
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-vowel-constraints.py | 19 sys.stdout.buffer.write (s.encode ('utf-8'))
|
/third_party/vixl/tools/test_generator/ |
H A D | parser.py | 312 md5 = hashlib.md5(str(json_test_case).encode())
|
/third_party/rust/crates/rustix/src/backend/linux_raw/io/ |
H A D | epoll.rs | 156 let encoded = self.context.encode(target); in add() 180 let encoded = self.context.encode(target); in mod_()
|
/third_party/skia/third_party/externals/angle2/scripts/ |
H A D | run_code_generation.py | 153 hash_md5.update(chunk.encode())
|
/third_party/ffmpeg/libavcodec/ |
H A D | movtextenc.c | 94 void (*encode)(MovTextContext *s); member 669 box_types[j].encode(s); in mov_text_encode_frame()
|