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

/freebsd-10.0-release/contrib/file/
H A Dapprentice.c267 uint32_t nmagic = 0; local
284 rv = apprentice_load(ms, &magic, &nmagic, fn, action);
287 rv = apprentice_compile(ms, &magic, &nmagic, fn);
293 if ((rv = apprentice_map(ms, &magic, &nmagic, fn)) == -1) {
296 rv = apprentice_load(ms, &magic, &nmagic, fn, action);
304 file_delmagic(magic, mapped, nmagic);
309 file_delmagic(magic, mapped, nmagic);
315 ml->nmagic = nmagic;
573 for (magindex = 0; magindex < ml->nmagic; maginde
2406 byteswap(struct magic *magic, uint32_t nmagic) argument
[all...]
H A Dsoftmagic.c79 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, mode,
114 match(struct magic_set *ms, struct magic *magic, uint32_t nmagic, argument
129 for (magindex = 0; magindex < nmagic; magindex++) {
139 ++magindex < nmagic)
175 while (magindex < nmagic - 1 &&
205 ++magindex < nmagic) {
H A Dfile.h331 uint32_t nmagic; /* number of entries in array */ member in struct:mlist
H A Dmagic.c253 file_delmagic(mg, ml->mapped, ml->nmagic);
/freebsd-10.0-release/sys/net/
H A Dif_spppsubr.c2281 u_long nmagic; local
2383 nmagic = (u_long)p[2] << 24 |
2385 if (nmagic != sp->lcp.magic) {
2388 log(-1, "0x%lx ", nmagic);
2399 nmagic = ~sp->lcp.magic;
2401 p[2] = nmagic >> 24;
2402 p[3] = nmagic >> 16;
2403 p[4] = nmagic >> 8;
2404 p[5] = nmagic;
4833 long nmagic local
[all...]

Completed in 90 milliseconds