| /freebsd/contrib/file/magic/Magdir/ |
| H A D | scientific | 84 # 0\040HEAD as UTF-16 big endian without BOM 92 >>0 string x \b, UTF-16 (without BOM) big-endian text 93 # 0\040HEAD as UTF-16 little endian without BOM 101 >>2 string x \b, UTF-16 (without BOM) little-endian text 102 # Note: UTF-16 with BOM variants already described above by first test as "GEDCOM genealogy text" 103 # 0\040HEAD as UTF-16 big endian with BOM 105 # 0\040HEAD as UTF-16 little endian with BOM
|
| H A D | ispell | 122 # starting with UTF-8 Byte Order Mark (BOM) https://en.wikipedia.org/wiki/Byte_order_mark 124 # starting with UTF-8 Byte Order Mark (BOM) followed by comment starting character 126 # starting with UTF-8 BOM and with SET character command followed by whitespace 204 # for control reasons show first lines for variant starting with ByteOrderMark (BOM=\xEF\xBB\xBF) 205 >1 ubeshort =0xBBBF \b, with BOM
|
| H A D | unicode | 4 # Unicode: BOM prefixed text files - Adrian Havill <havill@turbolinux.co.jp>
|
| H A D | sosi | 18 # separator (any number of " ", "\t", "\n" or "\r"), might have BOM at
|
| /freebsd/crypto/heimdal/lib/wind/ |
| H A D | utf8.c | 278 * If the flags WIND_RW_BOM is set, check for BOM. If not BOM is in wind_ucs2read() 284 uint16_t bom = (p[0] << 8) + p[1]; in wind_ucs2read() local 285 if (bom == 0xfffe || bom == 0xfeff) { in wind_ucs2read() 286 little = (bom == 0xfffe); in wind_ucs2read() 343 uint16_t bom = 0xfffe; in wind_ucs2write() local 349 p[0] = (bom ) & 0xff; in wind_ucs2write() 350 p[1] = (bom >> 8) & 0xff; in wind_ucs2write() 352 p[1] = (bom ) & 0xff; in wind_ucs2write() 353 p[0] = (bom >> 8) & 0xff; in wind_ucs2write()
|
| H A D | test-rw.c | 65 /* only BE BOM */ 81 /* BOM only */ 105 /* BOM + water + z */ 113 /* BOM + water + z */ 129 /* error, missing BOM */
|
| H A D | wind_err.et | 20 error_code NO_BOM, "No byte order mark (BOM) in string"
|
| /freebsd/contrib/nvi/common/ |
| H A D | encoding.c | 51 * Based on RFC 3629. UTF-8 with BOM is not accepted. 123 int bom; in looks_utf16() local 129 bom = buf[0] << 8 ^ buf[1]; in looks_utf16() 130 if (bom == 0xFFFE) in looks_utf16() 132 else if (bom == 0xFEFF) in looks_utf16()
|
| /freebsd/crypto/krb5/src/lib/krb5/unicode/ucdata/ |
| H A D | ucdata.c | 61 krb5_ui_2 bom; member 167 if (hdr.bom == 0xfffe) { in _ucprop_load() 202 if (hdr.bom == 0xfffe) { in _ucprop_load() 219 if (hdr.bom == 0xfffe) { in _ucprop_load() 348 if (hdr.bom == 0xfffe) { in _uccase_load() 373 if (hdr.bom == 0xfffe) { in _uccase_load() 543 if (hdr.bom == 0xfffe) { in _uccomp_load() 560 if (hdr.bom == 0xfffe) { in _uccomp_load() 741 if (hdr.bom == 0xfffe) { in _ucdcmp_load() 759 if (hdr.bom == 0xfffe) { in _ucdcmp_load() [all …]
|
| /freebsd/contrib/bearssl/src/x509/ |
| H A D | asn1.t0 | 488 \ set to 0 on error. Leading BOM are ignored. 490 \ Skip leading BOM (U+FEFF when off is 1). 526 \ and the length is written in the first pad byte. A leading BOM is 527 \ honoured (big-endian is assumed if there is no BOM). A code point of 535 \ Leading BOM, and indicates little-endian. 543 \ Big-endian BOM, or no BOM.
|
| /freebsd/contrib/libyaml/tests/ |
| H A D | test-reader.c | 108 {"no bom (utf-8)", "Hi is \xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82!", 13}, 109 {"bom (utf-8)", "\xef\xbb\xbfHi is \xd0\x9f\xd1\x80\xd0\xb8\xd0\xb2\xd0\xb5\xd1\x82!", 13}, 110 …{"bom (utf-16-le)", "\xff\xfeH\x00i\x00 \x00i\x00s\x00 \x00\x1f\x04@\x04""8\x04""2\x04""5\x04""B\x… 111 …{"bom (utf-16-be)", "\xfe\xff\x00H\x00i\x00 \x00i\x00s\x00 \x04\x1f\x04@\x04""8\x04""2\x04""5\x04"…
|
| /freebsd/contrib/lyaml/spec/ |
| H A D | ext_yaml_scanner_spec.yaml | 26 k = yaml.scanner "# no BOM" 35 - it recognizes UTF-16 BOM: 36 k = yaml.scanner (BOM .. " BOM")
|
| H A D | ext_yaml_parser_spec.yaml | 20 e = yaml.parser "# no BOM" 29 - it recognizes UTF-16 BOM: 30 e = yaml.parser (BOM .. " BOM")
|
| /freebsd/sys/geom/label/ |
| H A D | g_label_gpt.c | 74 } else if (ch == 0xfffe) { /* BOM (U+FEFF) swapped. */ in sbuf_nprintf_utf16() 77 } else if (ch == 0xfeff) /* BOM (U+FEFF) unswapped. */ in sbuf_nprintf_utf16()
|
| /freebsd/crypto/heimdal/doc/doxyout/wind/man/man3/ |
| H A D | wind.3 | 143 If the flags WIND_RW_BOM is set, check for BOM. If not BOM is found, check is LE/BE flag is already…
|
| /freebsd/lib/libiconv_modules/UTF1632/ |
| H A D | citrus_utf1632.c | 255 const char *bom = &_bom[0]; in _citrus_UTF1632_wcrtomb_priv() local 265 bom += 2; in _citrus_UTF1632_wcrtomb_priv() 269 memcpy(s, bom, cnt); in _citrus_UTF1632_wcrtomb_priv()
|
| /freebsd/contrib/lua/src/ |
| H A D | lauxlib.c | 750 ** Skip an optional BOM at the start of a stream. If there is an 751 ** incomplete BOM (the first character is correct but the rest is 757 if (c == 0xEF && getc(f) == 0xBB && getc(f) == 0xBF) /* correct BOM? */ in skipBOM() 758 return getc(f); /* ignore BOM and return next char */ in skipBOM() 759 else /* no (valid) BOM */ in skipBOM() 765 ** reads the first character of file 'f' and skips an optional BOM mark 768 ** first "valid" character of the file (after the optional BOM and
|
| /freebsd/share/i18n/csmapper/APPLE/ |
| H A D | THAI%UCS.src | 31 # 3.2 WORD JOINER instead of ZWNBSP (BOM). 165 # WORD JOINER instead of U+FEFF ZERO WIDTH NO-BREAK SPACE (BOM)
|
| H A D | UCS%THAI.src | 31 # 3.2 WORD JOINER instead of ZWNBSP (BOM). 165 # WORD JOINER instead of U+FEFF ZERO WIDTH NO-BREAK SPACE (BOM)
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | Program.inc | 549 char BOM[2]; 551 memcpy(BOM, &src, 2); 552 OS.write(BOM, 2);
|
| /freebsd/contrib/libxo/tests/core/ |
| H A D | test_11.c | 97 entry..." The BOM at the beginning of MSG indicates UTF-8 encoding. in main()
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ConvertUTFWrapper.cpp | 110 // Skip the BOM for conversion. in convertUTF16ToUTF8String() 168 // Skip the BOM for conversion. in convertUTF32ToUTF8String()
|
| /freebsd/sys/geom/bde/ |
| H A D | g_bde_crypt.c | |
| /freebsd/tools/tools/locale/tools/ |
| H A D | mkwidths.pl | 52 # Remove BOM
|
| /freebsd/contrib/file/src/ |
| H A D | encoding.c | 116 DPRINTF(("utf8/bom %" SIZE_T_FORMAT "u\n", *ulen)); in file_encoding() 117 *code = "Unicode text, UTF-8 (with BOM)"; in file_encoding() 426 * Decide whether some text looks like UTF-8 with BOM. If there is no 427 * BOM, return -1; otherwise return the result of looks_utf8 on the
|