Lines Matching refs:unichar
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 *);
69 file_encoding(struct magic_set *ms, const struct buffer *b, unichar **ubuf, in file_encoding()
77 unichar *udefbuf; in file_encoding()
91 if ((*ubuf = CAST(unichar *, ecalloc((size_t)1, mlen))) == NULL) { in file_encoding()
243 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ascii()
263 looks_latin1(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_latin1()
282 looks_extended(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_extended()
313 file_looks_utf8(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in file_looks_utf8()
317 unichar c; in file_looks_utf8()
384 looks_utf8_with_BOM(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_utf8_with_BOM()
394 looks_utf7(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_utf7()
413 looks_ucs16(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ucs16()