Searched refs:file_looks_utf8 (Results 1 – 3 of 3) sorted by relevance
/PHP-7.1/ext/fileinfo/libmagic/ |
H A D | encoding.c | 98 } else if (file_looks_utf8(buf, nbytes, *ubuf, ulen) > 1) { in file_encoding() 294 file_looks_utf8(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in file_looks_utf8() function 369 return file_looks_utf8(buf + 3, nbytes - 3, ubuf, ulen); in looks_utf8_with_BOM()
|
H A D | file.h | 471 protected int file_looks_utf8(const unsigned char *, size_t, unichar *,
|
H A D | apprentice.c | 980 if (file_looks_utf8(m->value.us, (size_t)m->vallen, NULL, in set_test_type()
|
Completed in 16 milliseconds