Searched defs: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];
800 for (magindex = 0; magindex < ml->nmagic; magindex++) {
804 while (magindex + 1 < ml->nmagic &&
814 while (magindex + 1 < ml->nmagic &&
1235 &map->magic[j], &map->nmagic[j]) == -1) {
2705 map->nmagic[i] = swap4(ptr[i + 2]);
2707 map->nmagic[i] = ptr[i + 2];
2709 map->magic[i + 1] = map->magic[i] + map->nmagic[
2865 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
H A Dsoftmagic.c82 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode,
118 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, argument
135 for (magindex = 0; magindex < nmagic; magindex++) {
146 while (magindex + 1 < nmagic &&
186 while (magindex < nmagic - 1 &&
217 while (magindex + 1 < nmagic && magic[magindex+1].cont_level != 0 &&
1722 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o,

Completed in 10 milliseconds