Lines Matching refs:cont_level
135 unsigned int cont_level = 0; in match() local
143 if (file_check_mem(ms, cont_level) == -1) in match()
158 magic[magindex + 1].cont_level != 0 && in match()
168 switch (mget(ms, s, m, nbytes, offset, cont_level, mode, text, in match()
198 magic[magindex + 1].cont_level != 0) in match()
224 ms->c.li[cont_level].off = moffset(ms, m); in match()
227 if (file_check_mem(ms, ++cont_level) == -1) in match()
230 while (magindex + 1 < nmagic && magic[magindex+1].cont_level != 0 && in match()
235 if (cont_level < m->cont_level) in match()
237 if (cont_level > m->cont_level) { in match()
242 cont_level = m->cont_level; in match()
247 ms->c.li[cont_level - 1].off; in match()
253 if (ms->c.li[cont_level].last_match == 1) in match()
257 switch (mget(ms, s, m, nbytes, offset, cont_level, mode, in match()
279 ms->c.li[cont_level].last_match = 0; in match()
284 ms->c.li[cont_level].last_match = 1; in match()
287 ms->c.li[cont_level].got_match = 0; in match()
288 else if (ms->c.li[cont_level].got_match) { in match()
292 ms->c.li[cont_level].got_match = 1; in match()
329 ms->c.li[cont_level].off = moffset(ms, m); in match()
339 if (file_check_mem(ms, ++cont_level) == -1) in match()
1163 size_t nbytes, size_t o, unsigned int cont_level, int mode, int text, in mget() argument
1667 offset += ms->c.li[cont_level-1].off; in mget()