Home
last modified time | relevance | path

Searched full:bom (Results 1 – 25 of 55) sorted by relevance

123

/freebsd/contrib/file/magic/Magdir/
H A Dscientific84 # 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 Dispell122 # 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 Dunicode4 # Unicode: BOM prefixed text files - Adrian Havill <havill@turbolinux.co.jp>
H A Dsosi18 # separator (any number of " ", "\t", "\n" or "\r"), might have BOM at
/freebsd/crypto/heimdal/lib/wind/
H A Dutf8.c278 * 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 Dtest-rw.c65 /* only BE BOM */
81 /* BOM only */
105 /* BOM + water + z */
113 /* BOM + water + z */
129 /* error, missing BOM */
H A Dwind_err.et20 error_code NO_BOM, "No byte order mark (BOM) in string"
/freebsd/contrib/nvi/common/
H A Dencoding.c51 * 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/contrib/bearssl/src/x509/
H A Dasn1.t0488 \ 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/sys/geom/label/
H A Dg_label_gpt.c74 } 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 Dwind.3143 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 Dcitrus_utf1632.c255 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 Dlauxlib.c744 ** Skip an optional BOM at the start of a stream. If there is an
745 ** incomplete BOM (the first character is correct but the rest is
751 if (c == 0xEF && getc(f) == 0xBB && getc(f) == 0xBF) /* correct BOM? */ in skipBOM()
752 return getc(f); /* ignore BOM and return next char */ in skipBOM()
753 else /* no (valid) BOM */ in skipBOM()
759 ** reads the first character of file 'f' and skips an optional BOM mark
762 ** first "valid" character of the file (after the optional BOM and
/freebsd/share/i18n/csmapper/APPLE/
H A DTHAI%UCS.src31 # 3.2 WORD JOINER instead of ZWNBSP (BOM).
165 # WORD JOINER instead of U+FEFF ZERO WIDTH NO-BREAK SPACE (BOM)
H A DUCS%THAI.src31 # 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 DProgram.inc549 char BOM[2];
551 memcpy(BOM, &src, 2);
552 OS.write(BOM, 2);
/freebsd/contrib/libxo/tests/core/
H A Dtest_11.c97 entry..." The BOM at the beginning of MSG indicates UTF-8 encoding. in main()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTFWrapper.cpp110 // Skip the BOM for conversion. in convertUTF16ToUTF8String()
168 // Skip the BOM for conversion. in convertUTF32ToUTF8String()
/freebsd/sys/geom/bde/
H A Dg_bde_crypt.c
/freebsd/tools/tools/locale/tools/
H A Dmkwidths.pl52 # Remove BOM
/freebsd/contrib/file/src/
H A Dencoding.c116 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
/freebsd/sys/contrib/device-tree/Bindings/mfd/
H A Drohm,bd71847-pmic.yaml15 optimized for low BOM cost and compact solution footprint. BD71847MWV and
H A Drohm,bd71837-pmic.yaml15 BOM cost and compact solution footprint. BD71837MWV integrates 8 Buck
/freebsd/crypto/openssl/test/recipes/
H A D04-test_pem_reading.t37 "cert-bom.pem" => 1,
/freebsd/contrib/expat/tests/
H A Dacc_tests.c157 "\xEF\xBB\xBF" /* UTF-8 BOM */, NULL, 0}, in START_TEST()
236 "\xEF\xBB\xBF<!ATTLIST doc a1 CDATA 'value'>" /* UTF-8 BOM */, in START_TEST()

123