Lines Matching refs:size_t
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 *,
49 size_t *);
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 *);
54 private void from_ebcdic(const unsigned char *, size_t, unsigned char *);
69 file_encoding(struct magic_set *ms, const unsigned char *buf, size_t nbytes, unichar **ubuf, size_t… in file_encoding()
71 size_t mlen; in file_encoding()
81 if ((*ubuf = CAST(unichar *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
86 if ((nbuf = CAST(unsigned char *, calloc((size_t)1, mlen))) == NULL) { in file_encoding()
231 looks_ascii(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ascii()
232 size_t *ulen) in looks_ascii()
234 size_t i; in looks_ascii()
251 looks_latin1(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_latin1()
253 size_t i; in looks_latin1()
270 looks_extended(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_extended()
271 size_t *ulen) in looks_extended()
273 size_t i; in looks_extended()
301 file_looks_utf8(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in file_looks_utf8()
303 size_t i; in file_looks_utf8()
372 looks_utf8_with_BOM(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_utf8_with_BOM()
373 size_t *ulen) in looks_utf8_with_BOM()
382 looks_utf7(const unsigned char *buf, size_t nbytes, unichar *ubuf, size_t *ulen) in looks_utf7()
401 looks_ucs16(const unsigned char *buf, size_t nbytes, unichar *ubuf, in looks_ucs16()
402 size_t *ulen) in looks_ucs16()
405 size_t i; in looks_ucs16()
430 text_chars[(size_t)ubuf[*ulen - 1]] != T) in looks_ucs16()
522 from_ebcdic(const unsigned char *buf, size_t nbytes, unsigned char *out) in from_ebcdic()
524 size_t i; in from_ebcdic()