Lines Matching refs:size_t
51 const unsigned char *, size_t, size_t, int, int, int, uint16_t *,
54 struct magic *, size_t, size_t, unsigned int, int, int, int, uint16_t *,
58 private int moffset(struct magic_set *, struct magic *, size_t, int32_t *);
59 private void mdebug(uint32_t, const char *, size_t);
61 const unsigned char *, uint32_t, size_t, struct magic *);
95 file_softmagic(struct magic_set *ms, const unsigned char *buf, size_t nbytes, in file_softmagic()
126 const char *file, size_t line) in file_fmtcheck()
170 const unsigned char *s, size_t nbytes, size_t offset, int mode, int text, in match()
706 moffset(struct magic_set *ms, struct magic *m, size_t nbytes, int32_t *op) in moffset()
813 if (o == -1 || (size_t)o > nbytes) { in moffset()
830 if ((size_t)o > nbytes) { in moffset()
833 (size_t)o, nbytes); in moffset()
1039 size_t sz = file_pstring_length_size(m); in mconvert()
1041 size_t len = file_pstring_get_length(m, ptr1); in mconvert()
1153 mdebug(uint32_t offset, const char *str, size_t len) in mdebug()
1163 const unsigned char *s, uint32_t offset, size_t nbytes, struct magic *m) in mcopy()
1186 size_t lines, linecnt, bytecnt; in mcopy()
1212 memchr(c = b, '\n', CAST(size_t, (end - b))))) in mcopy()
1214 memchr(c, '\r', CAST(size_t, (end - c)))))); in mcopy()
1327 size_t nbytes, size_t o, unsigned int cont_level, int mode, int text, in mget()
1607 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) in file_strncmp()
1675 file_strncmp16(const char *a, const char *b, size_t len, uint32_t flags) in file_strncmp16()
1846 v = file_strncmp(m->value.s, p->s, (size_t)m->vallen, m->str_flags); in magiccheck()
1852 v = file_strncmp16(m->value.s, p->s, (size_t)m->vallen, m->str_flags); in magiccheck()
1856 size_t slen; in magiccheck()
1857 size_t idx; in magiccheck()