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/python/cpython3/Lib/idlelib/ |
D | iomenu.py | 2 from codecs import BOM_UTF8 257 if bytes.startswith(BOM_UTF8): 400 return BOM_UTF8 + chars.encode("utf-8") 430 return BOM_UTF8 + chars.encode("utf-8")
|
/external/icu/icu4c/as_is/ |
D | bomlist.py | 24 bom=codecs.BOM_UTF8
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy.cpp | 131 #define BOM_UTF8 0x00BFBBEF macro 157 if (bom == BOM_UTF8) { in CFX_SeekableStreamProxy()
|
/external/cldr/tools/python/src/cldr/ |
D | refmirror.py | 110 file.write( codecs.BOM_UTF8 )
|
/external/python/cpython3/Lib/json/ |
D | __init__.py | 250 if bstartswith(codecs.BOM_UTF8):
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_unicode.py | 57 ('utf-8', 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 419 if first.startswith(BOM_UTF8):
|
D | codecs.py | 44 BOM_UTF8 = b'\xef\xbb\xbf' variable
|
D | plistlib.py | 500 (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/lib2to3/tests/ |
D | test_refactor.py | 286 self.assertTrue(data.startswith(codecs.BOM_UTF8))
|
/external/fonttools/Tests/misc/ |
D | plistlib_test.py | 412 (b"utf-8", "utf-8", codecs.BOM_UTF8),
|
/external/python/cpython2/Lib/ |
D | codecs.py | 42 BOM_UTF8 = '\xef\xbb\xbf' variable
|
/external/python/cpython3/Lib/test/ |
D | test_plistlib.py | 431 (b'utf-8', 'utf-8', codecs.BOM_UTF8),
|
D | test_codecs.py | 1092 BOM = codecs.BOM_UTF8 1133 bytestring = codecs.BOM_UTF8 + b"ABC\xC2\xA1\xE2\x88\x80XYZ"
|
/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