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

/PHP_5_3/ext/fileinfo/libmagic/
H A Dapprentice.c247 uint32_t nmagic = 0; local
260 rv = apprentice_load(ms, &magic, &nmagic, fn, action);
263 rv = apprentice_compile(ms, &magic, &nmagic, fn);
268 if ((rv = apprentice_map(ms, &magic, &nmagic, fn)) == -1) {
272 rv = apprentice_load(ms, &magic, &nmagic, fn, action);
282 file_delmagic(magic, mapped, nmagic);
289 ml->nmagic = nmagic;
547 for (magindex = 0; magindex < ml->nmagic; magindex++) {
551 while (magindex + 1 < ml->nmagic
2431 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
H A Dfile.h334 uint32_t nmagic; /* number of entries in array */ member in struct:mlist
H A Dsoftmagic.c80 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, mode,
115 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, argument
129 for (magindex = 0; magindex < nmagic; magindex++) {
138 while (magindex < nmagic - 1 && magic[magindex + 1].cont_level != 0) {
175 while (magindex < nmagic - 1 && magic[magindex + 1].cont_level != 0) {
204 while (magindex < nmagic - 1 && magic[magindex + 1].cont_level != 0) {

Completed in 7 milliseconds