Searched defs:nmagic (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h356 uint32_t nmagic; /* number of entries in array */ member in struct:mlist
H A Dapprentice.c115 uint32_t nmagic[MAGIC_SETS]; member in struct:magic_map
391 ml->nmagic = map->nmagic[idx];
885 for (magindex = 0; magindex < ml->nmagic; magindex++) {
889 while (magindex + 1 < ml->nmagic &&
899 while (magindex + 1 < ml->nmagic &&
1307 &map->magic[j], &map->nmagic[j]) == -1) {
2912 map->nmagic[i] = swap4(ptr[i + 2]);
2914 map->nmagic[i] = ptr[i + 2];
2916 map->magic[i + 1] = map->magic[i] + map->nmagic[
3112 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
H A Dsoftmagic.c94 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode,
151 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, argument
168 for (magindex = 0; magindex < nmagic; magindex++) {
179 while (magindex + 1 < nmagic &&
219 while (magindex < nmagic - 1 &&
252 while (magindex + 1 < nmagic &&
1711 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o,

Completed in 9 milliseconds