Searched refs:file_looks_utf8 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/file/src/ |
H A D | encoding.c | 119 } else if (file_looks_utf8(buf, nbytes, *ubuf, ulen) > 1) { in file_encoding() 350 file_looks_utf8(const unsigned char *buf, size_t nbytes, file_unichar_t *ubuf, in file_looks_utf8() function 435 return file_looks_utf8(buf + 3, nbytes - 3, ubuf, ulen); in looks_utf8_with_BOM()
|
H A D | file.h | 609 file_protected int file_looks_utf8(const unsigned char *, size_t,
|
H A D | apprentice.c | 1281 if (file_looks_utf8(m->value.us, CAST(size_t, m->vallen), NULL, in set_test_type()
|