Searched refs:file_unichar_t (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/file/src/ |
H A D | encoding.c | 46 file_private int looks_ascii(const unsigned char *, size_t, file_unichar_t *, 48 file_private int looks_utf8_with_BOM(const unsigned char *, size_t, file_unichar_t *, 50 file_private int looks_utf7(const unsigned char *, size_t, file_unichar_t *, 52 file_private int looks_ucs16(const unsigned char *, size_t, file_unichar_t *, 54 file_private int looks_ucs32(const unsigned char *, size_t, file_unichar_t *, 56 file_private int looks_latin1(const unsigned char *, size_t, file_unichar_t *, 58 file_private int looks_extended(const unsigned char *, size_t, file_unichar_t *, 76 file_unichar_t **ubuf, size_t *ulen, const char **code, in file_encoding() 83 file_unichar_t *udefbuf; in file_encoding() 100 *ubuf = CAST(file_unichar_t *, calloc(CAST(size_t, 1), mlen)); in file_encoding() [all …]
|
H A D | ascmagic.c | 53 file_private unsigned char *encode_utf8(unsigned char *, size_t, file_unichar_t *, 73 file_unichar_t *ubuf = NULL; in file_ascmagic() 106 file_unichar_t *ubuf, size_t ulen, const char *code, const char *type, in file_ascmagic_with_encoding() 337 encode_utf8(unsigned char *buf, size_t len, file_unichar_t *ubuf, size_t ulen) in encode_utf8()
|
H A D | file.h | 515 typedef unsigned long file_unichar_t; typedef 556 const struct buffer *, file_unichar_t *, size_t, const char *, const char *, int); 558 file_unichar_t **, size_t *, const char **, const char **, const char **); 593 file_unichar_t *, size_t *);
|