Lines Matching refs:cont_level

207 	unsigned int cont_level = 0;  in match()  local
223 if (file_check_mem(ms, cont_level) == -1) in match()
239 magic[magindex + 1].cont_level != 0) in match()
241 cont_level = 0; in match()
245 if (msetoffset(ms, m, &bb, b, offset, cont_level) == -1) in match()
251 bb.flen, offset, cont_level, in match()
311 switch (moffset(ms, m, &bb, &ms->c.li[cont_level].off)) { in match()
320 if (file_check_mem(ms, ++cont_level) == -1) in match()
324 magic[magindex + 1].cont_level != 0) { in match()
328 if (cont_level < m->cont_level) in match()
330 if (cont_level > m->cont_level) { in match()
335 cont_level = m->cont_level; in match()
337 if (msetoffset(ms, m, &bb, b, offset, cont_level) == -1) in match()
340 if (cont_level == 0) { in match()
348 ms->c.li[cont_level - 1].off; in match()
354 if (ms->c.li[cont_level].last_match == 1) in match()
360 cont_level, mode, text, flip, indir_count, in match()
384 ms->c.li[cont_level].last_match = 0; in match()
389 ms->c.li[cont_level].last_match = 1; in match()
392 ms->c.li[cont_level].got_match = 0; in match()
393 else if (ms->c.li[cont_level].got_match) { in match()
397 ms->c.li[cont_level].got_match = 1; in match()
441 &ms->c.li[cont_level].off)) { in match()
445 cont_level--; in match()
456 if (file_check_mem(ms, ++cont_level) == -1) in match()
471 cont_level = 0; in match()
1496 const struct buffer *b, size_t o, unsigned int cont_level) in msetoffset() argument
1501 if (cont_level > 0) { in msetoffset()
1506 "level %u", m->offset, cont_level); in msetoffset()
1515 "u at level %u", o, cont_level); in msetoffset()
1524 if (cont_level == 0) { in msetoffset()
1539 b->flen, b->elen, offset, cont_level); in msetoffset()
1546 const unsigned char *s, size_t nbytes, size_t o, unsigned int cont_level, in mget() argument
1725 if (cont_level == 0) { in mget()
1731 offset += ms->c.li[cont_level - 1].off; in mget()