Home
last modified time | relevance | path

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

/PHP-7.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c207 unsigned int cont_level = 0; in match() local
241 cont_level = 0; in match()
251 bb.flen, offset, cont_level, 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()
438 cont_level--; in match()
464 cont_level = 0; in match()
1460 if (cont_level > 0) { in msetoffset()
1482 if (cont_level == 0) { in msetoffset()
[all …]
H A Dder.c261 DPRINTF(("cont_level = %d\n", m->cont_level)); in der_offs()
263 for (size_t i = 0; i < m->cont_level; i++) in der_offs()
267 if (m->cont_level != 0) { in der_offs()
270 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); in der_offs()
271 DPRINTF(("cont_level[%u] = %u\n", m->cont_level - 1, in der_offs()
272 ms->c.li[m->cont_level - 1].off)); in der_offs()
H A Dapprentice.c1785 uint32_t cont_level; in parse() local
1788 cont_level = 0; in parse()
1795 cont_level++; in parse()
1798 if (cont_level == 0 || cont_level > last_cont_level) in parse()
1801 last_cont_level = cont_level; in parse()
1803 if (cont_level != 0) { in parse()
1813 diff = CAST(int32_t, cont_level) - CAST(int32_t, m->cont_level); in parse()
1817 m->cont_level); in parse()
1831 m->cont_level = cont_level; in parse()
1844 m->cont_level = 0; in parse()
[all …]
H A Dprint.c59 (m->cont_level & 7) + 1, ">>>>>>>>", m->offset); in file_mdump()
H A Dfile.h179 uint16_t cont_level; /* level of ">" */ member
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch568 - if (m->offset < 0 && cont_level != 0 &&
573 - l, cont_level);

Completed in 38 milliseconds