Searched refs:unichar (Results 1 – 5 of 5) sorted by relevance
/PHP-7.2/ext/fileinfo/libmagic/ |
H A D | encoding.c | 47 private int looks_ascii(const unsigned char *, size_t, unichar *, size_t *); 48 private int looks_utf8_with_BOM(const unsigned char *, size_t, unichar *, 50 private int looks_utf7(const unsigned char *, size_t, unichar *, size_t *); 51 private int looks_ucs16(const unsigned char *, size_t, unichar *, size_t *); 52 private int looks_latin1(const unsigned char *, size_t, unichar *, size_t *); 53 private int looks_extended(const unsigned char *, size_t, unichar *, size_t *); 81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding() 231 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ascii() 270 looks_extended(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_extended() 305 unichar c; in file_looks_utf8() [all …]
|
H A D | ascmagic.c | 54 private unsigned char *encode_utf8(unsigned char *, size_t, unichar *, size_t); 74 unichar *ubuf = NULL; in file_ascmagic() 99 size_t nbytes, unichar *ubuf, size_t ulen, const char *code, in file_ascmagic_with_encoding() 312 encode_utf8(unsigned char *buf, size_t len, unichar *ubuf, size_t ulen) in encode_utf8()
|
H A D | file.h | 432 typedef unsigned long unichar; typedef 456 const unsigned char *, size_t, unichar *, size_t, const char *, 459 unichar **, size_t *, const char **, const char **, const char **); 481 protected int file_looks_utf8(const unsigned char *, size_t, unichar *,
|
H A D | funcs.c | 179 unichar *u8buf = NULL; in file_buffer()
|
/PHP-7.2/ext/fileinfo/ |
H A D | libmagic.patch | 1476 typedef unsigned long unichar;
|
Completed in 22 milliseconds