Lines Matching refs:cont_level
212 unsigned int cont_level = 0; in match() local
229 if (file_check_mem(ms, cont_level) == -1) in match()
246 magic[magindex + 1].cont_level != 0) in match()
248 cont_level = 0; in match()
252 if (msetoffset(ms, m, &bb, b, offset, cont_level) == -1) in match()
258 bb.flen, offset, cont_level, in match()
319 switch (moffset(ms, m, &bb, &ms->c.li[cont_level].off)) { in match()
328 if (file_check_mem(ms, ++cont_level) == -1) in match()
332 magic[magindex + 1].cont_level != 0) { in match()
337 if (cont_level < m->cont_level) in match()
339 if (cont_level > m->cont_level) { in match()
344 cont_level = m->cont_level; in match()
346 if (msetoffset(ms, m, &bb, b, offset, cont_level) == -1) in match()
349 if (cont_level == 0) { in match()
357 ms->c.li[cont_level - 1].off; in match()
363 if (ms->c.li[cont_level].last_match == 1) in match()
369 cont_level, mode, text, flip, indir_count, in match()
393 ms->c.li[cont_level].last_match = 0; in match()
398 ms->c.li[cont_level].last_match = 1; in match()
401 ms->c.li[cont_level].got_match = 0; in match()
402 else if (ms->c.li[cont_level].got_match) { in match()
406 ms->c.li[cont_level].got_match = 1; in match()
450 &ms->c.li[cont_level].off)) { in match()
453 cont_level--; in match()
464 if (file_check_mem(ms, ++cont_level) == -1) in match()
479 cont_level = 0; in match()
1493 const struct buffer *b, size_t o, unsigned int cont_level) in msetoffset() argument
1498 if (cont_level > 0) { in msetoffset()
1503 "level %u", m->offset, cont_level); in msetoffset()
1512 "u at level %u", o, cont_level); in msetoffset()
1521 if (cont_level == 0) { in msetoffset()
1536 b->flen, b->elen, offset, cont_level); in msetoffset()
1565 const unsigned char *s, size_t nbytes, size_t o, unsigned int cont_level, in mget() argument
1756 if (cont_level == 0) { in mget()
1762 offset += ms->c.li[cont_level - 1].off; in mget()