Searched refs:BOM_UTF8 (Results 1 – 25 of 27) sorted by relevance
12
/external/python/cpython2/Lib/encodings/ |
D | utf_8_sig.py | 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], len(input)) 19 if input[:3] == codecs.BOM_UTF8: 33 return codecs.BOM_UTF8 + codecs.utf_8_encode(input, self.errors)[0] 55 if codecs.BOM_UTF8.startswith(input): 63 if input[:3] == codecs.BOM_UTF8: 94 if codecs.BOM_UTF8.startswith(input): 98 elif input[:3] == codecs.BOM_UTF8:
|
/external/python/cpython3/Lib/encodings/ |
D | utf_8_sig.py | 15 return (codecs.BOM_UTF8 + codecs.utf_8_encode(input, errors)[0], 20 if input[:3] == codecs.BOM_UTF8: 34 return codecs.BOM_UTF8 + \ 57 if codecs.BOM_UTF8.startswith(input): 65 if input[:3] == codecs.BOM_UTF8: 107 if codecs.BOM_UTF8.startswith(input): 111 elif input[:3] == codecs.BOM_UTF8:
|
/external/python/cpython2/Lib/idlelib/ |
D | IOBinding.py | 9 from codecs import BOM_UTF8 282 if chars.startswith(BOM_UTF8): 290 self.fileencoding = BOM_UTF8 421 if self.fileencoding == BOM_UTF8 or failed: 422 return BOM_UTF8 + chars.encode("utf-8") 433 return BOM_UTF8 + chars.encode("utf-8") 440 return BOM_UTF8 + chars.encode("utf-8") 448 chars = BOM_UTF8 + chars.encode("utf-8")
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_source_encoding.py | 77 self.run_test(codecs.BOM_UTF8 + self.source_line.encode('utf-8')) 81 source = codecs.BOM_UTF8 + self.create_source('utf-8') 86 source = codecs.BOM_UTF8 + self.create_source('latin-1')
|
/external/deqp/scripts/src_util/ |
D | check_boms.py | 35 if line0.startswith(codecs.BOM_UTF8): 42 if chunk.startswith(codecs.BOM_UTF8):
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy.cpp | 108 #define BOM_UTF8 0x00BFBBEF macro 127 if (bom == BOM_UTF8) { in CFX_SeekableStreamProxy()
|
/external/icu/icu4c/as_is/ |
D | bomlist.py | 26 bom=codecs.BOM_UTF8
|
/external/cldr/tools/python/src/cldr/ |
D | refmirror.py | 110 file.write( codecs.BOM_UTF8 )
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_unicode.py | 57 ('utf-8', codecs.BOM_UTF8),
|
/external/python/cpython3/Lib/json/ |
D | __init__.py | 250 if bstartswith(codecs.BOM_UTF8):
|
/external/python/cpython2/Lib/lib2to3/pgen2/ |
D | tokenize.py | 33 from codecs import BOM_UTF8, lookup 303 if first.startswith(BOM_UTF8):
|
/external/python/cpython3/Lib/lib2to3/pgen2/ |
D | tokenize.py | 33 from codecs import BOM_UTF8, lookup 291 if first.startswith(BOM_UTF8):
|
/external/python/cpython3/Lib/ |
D | tokenize.py | 28 from codecs import lookup, BOM_UTF8 364 if first.startswith(BOM_UTF8):
|
D | codecs.py | 44 BOM_UTF8 = b'\xef\xbb\xbf' variable
|
D | plistlib.py | 417 (codecs.BOM_UTF8, "utf-8"),
|
/external/python/cpython2/Lib/lib2to3/tests/ |
D | test_refactor.py | 282 self.assertTrue(data.startswith(codecs.BOM_UTF8))
|
/external/python/cpython3/Lib/test/ |
D | test_pdb.py | 1318 codecs.BOM_UTF8 + """\
|
D | test_plistlib.py | 797 (b'utf-8', 'utf-8', codecs.BOM_UTF8),
|
D | test_codecs.py | 1062 BOM = codecs.BOM_UTF8 1103 bytestring = codecs.BOM_UTF8 + b"ABC\xC2\xA1\xE2\x88\x80XYZ"
|
/external/python/cpython3/Lib/lib2to3/tests/ |
D | test_refactor.py | 290 self.assertTrue(data.startswith(codecs.BOM_UTF8))
|
/external/fonttools/Tests/misc/ |
D | plistlib_test.py | 399 (b"utf-8", "utf-8", codecs.BOM_UTF8),
|
/external/python/cpython2/Lib/ |
D | codecs.py | 42 BOM_UTF8 = '\xef\xbb\xbf' variable
|
/external/python/cpython2/Lib/test/ |
D | test_codecs.py | 853 bytestring = codecs.BOM_UTF8 + "ABC\xC2\xA1\xE2\x88\x80XYZ"
|
/external/python/cpython2/Doc/library/ |
D | codecs.rst | 309 BOM_UTF8
|
/external/python/cpython3/Doc/library/ |
D | codecs.rst | 252 BOM_UTF8
|
12