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

/PHP_5_4/ext/fileinfo/libmagic/
H A Dfile.h352 uint32_t nmagic; /* number of entries in array */ member in struct:mlist
H A Dapprentice.c101 uint32_t nmagic[MAGIC_SETS]; member in struct:magic_map
373 ml->nmagic = map->nmagic[idx];
802 for (magindex = 0; magindex < ml->nmagic; magindex++) {
806 while (magindex + 1 < ml->nmagic &&
816 while (magindex + 1 < ml->nmagic &&
1237 &map->magic[j], &map->nmagic[j]) == -1) {
2707 map->nmagic[i] = swap4(ptr[i + 2]);
2709 map->nmagic[i] = ptr[i + 2];
2711 map->magic[i + 1] = map->magic[i] + map->nmagic[
2867 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
H A Dsoftmagic.c84 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode,
120 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, argument
137 for (magindex = 0; magindex < nmagic; magindex++) {
148 while (magindex + 1 < nmagic &&
188 while (magindex < nmagic - 1 &&
219 while (magindex + 1 < nmagic && magic[magindex+1].cont_level != 0 &&
1751 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o,

Completed in 17 milliseconds