Home
last modified time | relevance | path

Searched refs:cont_level (Results 1 – 4 of 4) sorted by relevance

/PHP-5.5/ext/fileinfo/libmagic/
H A Dsoftmagic.c126 unsigned int cont_level = 0; in match() local
134 if (file_check_mem(ms, cont_level) == -1) in match()
224 if (cont_level < m->cont_level) in match()
226 if (cont_level > m->cont_level) { in match()
231 cont_level = m->cont_level; in match()
236 ms->c.li[cont_level - 1].off; in match()
268 ms->c.li[cont_level].last_match = 0; in match()
273 ms->c.li[cont_level].last_match = 1; in match()
276 ms->c.li[cont_level].got_match = 1; in match()
278 ms->c.li[cont_level].got_match = 0; in match()
[all …]
H A Dapprentice.c1503 uint32_t cont_level; in parse() local
1506 cont_level = 0; in parse()
1513 cont_level++; in parse()
1516 if (cont_level == 0 || cont_level > last_cont_level) in parse()
1519 last_cont_level = cont_level; in parse()
1521 if (cont_level != 0) { in parse()
1531 diff = (int32_t)cont_level - (int32_t)m->cont_level; in parse()
1535 m->cont_level); in parse()
1549 m->cont_level = cont_level; in parse()
1562 m->cont_level = 0; in parse()
[all …]
H A Dfile.h162 uint16_t cont_level; /* level of ">" */ member
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch2608 - (m->cont_level & 7) + 1, ">>>>>>>>", m->offset);
2940 if (file_check_mem(ms, ++cont_level) == -1)
2943 - while (magic[magindex+1].cont_level != 0 &&
2945 + while (magindex + 1 < nmagic && magic[magindex+1].cont_level != 0 &&

Completed in 23 milliseconds