Home
last modified time | relevance | path

Searched refs:BOM (Results 1 – 25 of 88) sorted by relevance

1234

/external/antlr/runtime/Cpp/include/
Dantlr3input.inl470 // See if there is a BOM at the start of this UTF-8 sequence
480 // The UTF8 BOM is present so skip it
493 // See if there is a BOM at the start of the input. If not then
495 // machine (or it is really UCS2). If there is a BOM we determine if the encoding
502 // BOM Present, indicates Big Endian
512 // BOM present, indicates Little Endian
520 // No BOM present, assume local computer byte order
529 // See if there is a BOM at the start of the input. If not then
540 // BOM Present, indicates Big Endian
552 // BOM present, indicates Little Endian
[all …]
/external/python/cpython3/Lib/test/
Dtokenize_tests-latin1-coding-cookie-and-utf8-bom-sig.txt2 # IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
5 # the presence of a utf-8 BOM signature -- this is intended.
Dtokenize_tests-no-coding-cookie-and-utf8-bom-sig-only.txt1 # IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
Dtokenize_tests-utf8-coding-cookie-and-utf8-bom-sig.txt2 # IMPORTANT: this file has the utf-8 BOM signature '\xef\xbb\xbf'
Dtokenize_tests-utf8-coding-cookie-and-no-utf8-bom-sig.txt3 # does NOT have the utf-8 BOM signature '\xef\xbb\xbf' at the start
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_UnicodeTranscode.pbtxt80 (e.g. if the encoding is UTF-16 and the BOM indicates big-endian), then that
81 BOM will be consumed and not emitted into the output. If the input encoding
82 is marked with an explicit endianness (e.g. UTF-16-BE), then the BOM is
88 with an explicit endianness, the BOM is not considered part of the string itself
/external/snakeyaml/src/test/resources/pyyaml/
Dspec-05-02-utf8.data1 # Invalid use of BOM
/external/icu/icu4c/source/samples/ugrep/
DMakefile20 CHECK_ARGS=BOM readme.txt
Dreadme.txt18 begin with a BOM, in which case they are assumed to be in the UTF encoding
19 specified by the BOM. Program output is always in the system's default
/external/grpc-grpc/src/csharp/
D.editorconfig3 charset = utf-8 ; Implies no BOM.
/external/llvm-project/llvm/test/YAMLParser/
Dspec-05-02-utf8.test3 # Invalid use of BOM
/external/llvm/test/YAMLParser/
Dspec-05-02-utf8.test3 # Invalid use of BOM
/external/llvm-project/clang/test/Index/
Dpreamble-reparse-with-BOM.m8 // CHECK: preamble-reparse-with-BOM.m:2:12: ObjCInterfaceDecl=I2:2:12 Extent=[2:1 - 3:5]
/external/clang/test/Index/
Dpreamble-reparse-with-BOM.m8 // CHECK: preamble-reparse-with-BOM.m:2:12: ObjCInterfaceDecl=I2:2:12 Extent=[2:1 - 3:5]
/external/rust/crates/syn/src/
Dlib.rs976 const BOM: &str = "\u{feff}"; in parse_file() constant
977 if content.starts_with(BOM) { in parse_file()
978 content = &content[BOM.len()..]; in parse_file()
/external/python/cpython3/Doc/library/
Dtokenize.rst58 UTF-8 BOM or encoding cookie, according to :pep:`263`.
109 It detects the encoding from the presence of a UTF-8 BOM or an encoding
110 cookie as specified in :pep:`263`. If both a BOM and a cookie are present,
111 but disagree, a :exc:`SyntaxError` will be raised. Note that if the BOM is found,
/external/icu/icu4c/source/test/cintltst/
Dccapitst.c247 UChar BOM = 0x0000; in TestConvert() local
731 …ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUConte… in TestConvert()
738 if (MIA1_2 != otherUnicodeAction(MIA1) || MIA1Context2 != &BOM) in TestConvert()
745 … if (U_FAILURE(err) || oldFromUAction != otherUnicodeAction(MIA1) || oldFromUContext != &BOM) in TestConvert()
759 …ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUConte… in TestConvert()
761 if(MIA1_2 == otherUnicodeAction(MIA1) || MIA1Context2 == &BOM){ in TestConvert()
771 … ucnv_setToUCallBack(myConverter,otherCharAction(MIA2), &BOM, &oldToUAction, &oldToUContext, &err); in TestConvert()
778 if (MIA2_2 != otherCharAction(MIA2) || MIA2Context2 != &BOM) in TestConvert()
785 if (U_FAILURE(err) || oldToUAction != otherCharAction(MIA2) || oldToUContext != &BOM) in TestConvert()
799 if (MIA2_2 == otherCharAction(MIA2) || MIA2Context2 == &BOM){ in TestConvert()
[all …]
/external/icu/icu4c/source/data/mappings/
Dconvrtrs.txt157 # The ICU 2.2 UTF-16/32 converters detect and write a BOM.
159 ibm-1204 { IBM* } # UTF-16 with IBM PUA and BOM sensitive
160 ibm-1205 { IBM } # UTF-16 BOM sensitive
210 ibm-1236 { IBM* } # UTF-32 with IBM PUA and BOM sensitive
211 ibm-1237 { IBM } # UTF-32 BOM sensitive
239 # "BOM" means the Unicode Byte Order Mark, which is the encoding-scheme-specific
241 # "Reverse BOM" means the BOM for the sibling encoding scheme with the
247 # From Unicode: Writes BOM.
248 # To Unicode: Detects and consumes BOM.
249 # If there is a "reverse BOM", Java throws
[all …]
/external/llvm/test/Other/
DResponseFile.ll11 ; When the response file begins with UTF8 BOM sequence, we shall remove them.
/external/llvm-project/llvm/test/Other/
DResponseFile.ll11 ; When the response file begins with UTF8 BOM sequence, we shall remove them.
/external/python/cpython3/PC/
Dlauncher.c1108 } BOM; typedef
1114 static BOM BOMs[] = {
1125 static BOM *
1132 BOM * result = NULL; in find_BOM()
1133 BOM *bom; in find_BOM()
1145 find_terminator(char * buffer, int len, BOM *bom) in find_terminator()
1288 BOM* bom; in maybe_handle_shebang()
/external/protobuf/objectivec/Tests/
DGPBCodedInputStreamTests.m428 "\xEF\xBB\xBF String with BOM",
431 "\xEF\xBB\xBF\xe2\x99\xa1", // BOM White Heart
432 "\xEF\xBB\xBF\xEF\xBB\xBF String with Two BOM",
454 // Ensure the string is there. NSString can consume the BOM in some
/external/python/cpython2/Doc/library/
Dcodecs.rst306 .. data:: BOM
317 These constants define various encodings of the Unicode byte order mark (BOM)
321 native byte order, :const:`BOM` is an alias for :const:`BOM_UTF16`,
323 :const:`BOM_UTF16_BE`. The others represent the BOM in UTF-8 and UTF-32
824 there's the so called BOM ("Byte Order Mark"). This is the Unicode character
835 Unicode software still must be able to handle ``U+FEFF`` in both roles: as a BOM
862 As UTF-8 is an 8-bit encoding no BOM is required and any ``U+FEFF`` character in
873 is written to the file, a UTF-8 encoded BOM (which looks like this as a byte
883 correctly guessed from the byte sequence. So here the BOM is not used to be able
888 three bytes in the file. In UTF-8, the use of the BOM is discouraged and
[all …]
/external/libwebm/webvtt/
Dwebvttparser.cc277 static const char BOM[] = "\xEF\xBB\xBF"; // UTF-8 BOM in ParseBOM() local
289 if (c != BOM[i]) { in ParseBOM()
/external/icu/icu4c/source/extra/uconv/resources/
Dfr.txt68 " --add-signature add a U+FEFF Unicode signature character (BOM)\n"
69 " --remove-signature remove a U+FEFF Unicode signature character (BOM)\n"

1234