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

/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dfile.h352 uint32_t nmagic; /* number of entries in array */ member in struct:mlist
H A Dsoftmagic.c93 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode,
129 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, argument
146 for (magindex = 0; magindex < nmagic; magindex++) {
157 while (magindex + 1 < nmagic &&
197 while (magindex < nmagic - 1 &&
230 while (magindex + 1 < nmagic && magic[magindex+1].cont_level != 0 &&
1788 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o,
H A Dapprentice.c107 uint32_t nmagic[MAGIC_SETS]; member in struct:magic_map
379 ml->nmagic = map->nmagic[idx];
817 for (magindex = 0; magindex < ml->nmagic; magindex++) {
821 while (magindex + 1 < ml->nmagic &&
831 while (magindex + 1 < ml->nmagic &&
1240 &map->magic[j], &map->nmagic[j]) == -1) {
2712 map->nmagic[i] = swap4(ptr[i + 2]);
2714 map->nmagic[i] = ptr[i + 2];
2716 map->magic[i + 1] = map->magic[i] + map->nmagic[
2868 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]

Completed in 19 milliseconds