Home
last modified time | relevance | path

Searched refs:BOM (Results 1 - 13 of 13) sorted by relevance

/third_party/icu/icu4c/source/samples/ugrep/
H A DMakefile20 CHECK_ARGS=BOM readme.txt
/third_party/skia/third_party/externals/icu/source/samples/ugrep/
H A DMakefile20 CHECK_ARGS=BOM readme.txt
/third_party/rust/crates/syn/src/
H A Dlib.rs987 // Strip the BOM if it is present in parse_file()
988 const BOM: &str = "\u{feff}"; in parse_file() consts
989 if content.starts_with(BOM) { in parse_file()
990 content = &content[BOM.len()..]; in parse_file()
/third_party/icu/icu4c/source/test/cintltst/
H A Dccapitst.c251 UChar BOM = 0x0000; in TestConvert() local
735 ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUContext, &err); in TestConvert()
742 if (MIA1_2 != otherUnicodeAction(MIA1) || MIA1Context2 != &BOM) in TestConvert()
749 if (U_FAILURE(err) || oldFromUAction != otherUnicodeAction(MIA1) || oldFromUContext != &BOM) in TestConvert()
763 ucnv_setFromUCallBack(myConverter, otherUnicodeAction(MIA1), &BOM, &oldFromUAction, &oldFromUContext, &err); in TestConvert()
765 if(MIA1_2 == otherUnicodeAction(MIA1) || MIA1Context2 == &BOM){ in TestConvert()
775 ucnv_setToUCallBack(myConverter,otherCharAction(MIA2), &BOM, &oldToUAction, &oldToUContext, &err); in TestConvert()
782 if (MIA2_2 != otherCharAction(MIA2) || MIA2Context2 != &BOM) in TestConvert()
789 if (U_FAILURE(err) || oldToUAction != otherCharAction(MIA2) || oldToUContext != &BOM) in TestConvert()
803 if (MIA2_2 == otherCharAction(MIA2) || MIA2Context2 == &BOM){ in TestConvert()
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/
H A DdumpICUrules.bat375 my $BOM = pack("C3", 239, 187, 191); # a UTF8 byte order mark
388 # Look for and delete BOM
390 s/^$BOM//;
/third_party/python/PC/
H A Dlauncher.c1127 } BOM; typedef
1133 static BOM BOMs[] = {
1135 /* Test UTF-32LE before UTF-16LE since UTF-16LE BOM is a prefix
1136 * of UTF-32LE BOM. */
1144 static BOM *
1148 * Look for a BOM in the input and return a pointer to the in find_BOM()
1151 BOM * result = NULL; in find_BOM()
1152 BOM *bom; in find_BOM()
1164 find_terminator(char * buffer, int len, BOM *bom) in find_terminator()
1311 BOM* bo in maybe_handle_shebang()
[all...]
/third_party/python/Lib/
H A Dcodecs.py20 __all__ = ["register", "lookup", "open", "EncodedFile", "BOM", "BOM_BE",
38 # Byte Order Mark (BOM = ZERO WIDTH NO-BREAK SPACE = U+FEFF)
61 BOM = BOM_UTF16 = BOM_UTF16_LE
69 BOM = BOM_UTF16 = BOM_UTF16_BE
/third_party/python/Lib/test/
H A Dtest_tokenize.py1011 As per PEP 0263, if a file starts with a utf-8 BOM signature, the only
1013 this test starts with a BOM signature, but specifies latin1 as the
1282 # test BOM (no coding cookie)
H A Dtest_codecs.py474 # check whether there is exactly one BOM in it
494 "", # first byte of BOM read
495 "", # second byte of BOM read
496 "", # third byte of BOM read
497 "", # fourth byte of BOM read => byteorder known
658 # check whether there is exactly one BOM in it
678 "", # first byte of BOM read
679 "", # second byte of BOM read => byteorder known
831 BOM = b'' variable in UTF8Test
877 self.BOM
1081 BOM = codecs.BOM_UTF8 global() variable in UTF8SigTest
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
H A DXLIFF2ICUConverter.java124 private static final String BOM = "\uFEFF"; field in XLIFF2ICUConverter
1255 byte[] bytes = BOM.getBytes(CHARSET); in writeBOM()
/third_party/node/deps/simdutf/
H A Dsimdutf.h484 UTF8 = 1, // BOM 0xef 0xbb 0xbf
485 UTF16_LE = 2, // BOM 0xff 0xfe
486 UTF16_BE = 4, // BOM 0xfe 0xff
487 UTF32_LE = 8, // BOM 0xff 0xfe 0x00 0x00
488 UTF32_BE = 16, // BOM 0x00 0x00 0xfe 0xff
503 // Note that BOM for UTF8 is discouraged.
504 namespace BOM { namespace
507 * Checks for a BOM. If not, returns unspecified
516 * Returns the size, in bytes, of the BOM for a given encoding type.
517 * Note that UTF8 BOM ar
[all...]
H A Dsimdutf.cpp4388 // We are not BOM aware. in count_code_points()
4400 // We are not BOM aware. in utf8_length_from_utf16()
4414 // We are not BOM aware. in utf32_length_from_utf16()
4465 // If there is a BOM, then we trust it.
4466 auto bom_encoding = simdutf::BOM::check_bom(input, length);
4469 // without a BOM, so if it fits, go with that. Note that it is still
4471 // data without a BOM, it could pass as UTF-8.
4476 // The next most common encoding that might appear without BOM is probably
5657 namespace BOM { namespace
5658 // Note that BOM fo
[all...]
/third_party/skia/third_party/externals/sfntly/java/lib/
H A Dicu4j-4_8_1_1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ibm/icu/ com/ibm/icu/impl/ ...

Completed in 38 milliseconds