Home
last modified time | relevance | path

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

/PHP-5.6/ext/fileinfo/libmagic/
H A Dsoftmagic.c135 unsigned int cont_level = 0; in match() local
143 if (file_check_mem(ms, cont_level) == -1) 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()
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()
292 ms->c.li[cont_level].got_match = 1; in match()
[all …]
H A Dapprentice.c1506 uint32_t cont_level; in parse() local
1509 cont_level = 0; in parse()
1516 cont_level++; in parse()
1519 if (cont_level == 0 || cont_level > last_cont_level) in parse()
1522 last_cont_level = cont_level; in parse()
1524 if (cont_level != 0) { in parse()
1534 diff = (int32_t)cont_level - (int32_t)m->cont_level; in parse()
1538 m->cont_level); in parse()
1552 m->cont_level = cont_level; in parse()
1565 m->cont_level = 0; in parse()
[all …]
H A Dfile.h162 uint16_t cont_level; /* level of ">" */ member
/PHP-5.6/ext/fileinfo/
H A Dlibmagic.patch2574 - (m->cont_level & 7) + 1, ">>>>>>>>", m->offset);
3035 if (file_check_mem(ms, ++cont_level) == -1)
3038 - while (magic[magindex+1].cont_level != 0 &&
3040 + while (magindex + 1 < nmagic && magic[magindex+1].cont_level != 0 &&

Completed in 24 milliseconds