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 *);
65 * the text converted into one-unichar-per-character Unicode in
69 file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar **ubuf, size_t *ulen, const char **code, const char **code_mime, const char **type)
81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) {
231 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf,
251 looks_latin1(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen)
270 looks_extended(const unsigned char *buf, size_t nbytes, unichar *ubuf,
301 file_looks_utf8(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen)
305 unichar c;
372 looks_utf8_with_BOM(const unsigned char *buf, size_t nbytes, unichar *ubuf,
382 looks_utf7(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen)
401 looks_ucs16(const unsigned char *buf, size_t nbytes, unichar *ubuf,