Lines Matching refs:size_t

51     const struct buffer *, size_t, int, int, int, uint16_t *,
54 const unsigned char *, size_t,
55 size_t, unsigned int, int, int, int, uint16_t *,
58 const struct buffer *, size_t, unsigned int);
63 private void mdebug(uint32_t, const char *, size_t);
65 const unsigned char *, uint32_t, size_t, struct magic *);
152 const char *file, size_t line) in file_fmtcheck()
203 const struct buffer *b, size_t offset, int mode, int text, in match()
507 char *strndup(const char *, size_t);
510 strndup(const char *str, size_t n) in strndup()
512 size_t len; in strndup()
526 varexpand(struct magic_set *ms, char *buf, size_t len, const char *str) in varexpand()
529 size_t l; in varexpand()
532 l = CAST(size_t, ptr - sptr); in varexpand()
679 size_t l = file_pstring_length_size(ms, m); in mprint()
838 size_t nbytes = b->flen; in moffset()
878 size_t l = file_pstring_length_size(ms, m); in moffset()
949 if (o == -1 || CAST(size_t, o) > nbytes) { in moffset()
969 if (CAST(size_t, o) > nbytes) { in moffset()
972 "u > %" SIZE_T_FORMAT "u", (size_t)o, nbytes); in moffset()
1180 size_t len, sz = file_pstring_length_size(ms, m); in mconvert()
1300 mdebug(uint32_t offset, const char *str, size_t len) in mdebug()
1310 const unsigned char *s, uint32_t offset, size_t nbytes, struct magic *m) in mcopy()
1333 size_t lines, linecnt, bytecnt; in mcopy()
1359 memchr(c = b, '\n', CAST(size_t, (end - b))))) in mcopy()
1361 memchr(c, '\r', CAST(size_t, (end - c)))))); in mcopy()
1482 const struct buffer *b, size_t o, unsigned int cont_level) in msetoffset()
1504 if (CAST(size_t, m->offset) > b->elen) in msetoffset()
1533 size_t len; in save_cont()
1550 const unsigned char *s, size_t nbytes, size_t o, unsigned int cont_level, in mget()
1915 file_strncmp(const char *s1, const char *s2, size_t len, size_t maxlen, in file_strncmp()
1989 file_strncmp16(const char *a, const char *b, size_t len, size_t maxlen, in file_strncmp16()
2001 public zend_string* convert_libmagic_pattern(const char *val, size_t len, uint32_t options) in convert_libmagic_pattern()
2181 v = file_strncmp(m->value.s, p->s, CAST(size_t, m->vallen), in magiccheck()
2188 v = file_strncmp16(m->value.s, p->s, CAST(size_t, m->vallen), in magiccheck()
2193 size_t slen; in magiccheck()
2194 size_t idx; in magiccheck()