Home
last modified time | relevance | path

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

/PHP-7.2/ext/fileinfo/libmagic/
H A Dder.c259 DPRINTF(("cont_level = %d\n", m->cont_level)); in der_offs()
261 for (size_t i = 0; i < m->cont_level; i++) in der_offs()
264 if (m->cont_level != 0) { in der_offs()
267 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); in der_offs()
268 DPRINTF(("cont_level[%u] = %u\n", m->cont_level - 1, in der_offs()
269 ms->c.li[m->cont_level - 1].off)); in der_offs()
H A Dsoftmagic.c175 unsigned int cont_level = 0; in match() local
201 cont_level = 0; in match()
280 if (cont_level < m->cont_level) in match()
282 if (cont_level > m->cont_level) { in match()
287 cont_level = m->cont_level; in match()
292 ms->c.li[cont_level - 1].off; in match()
324 ms->c.li[cont_level].last_match = 0; in match()
329 ms->c.li[cont_level].last_match = 1; in match()
376 &ms->c.li[cont_level].off)) { in match()
380 cont_level--; in match()
[all …]
H A Dapprentice.c1729 uint32_t cont_level; in parse() local
1732 cont_level = 0; in parse()
1739 cont_level++; in parse()
1742 if (cont_level == 0 || cont_level > last_cont_level) in parse()
1745 last_cont_level = cont_level; in parse()
1747 if (cont_level != 0) { in parse()
1757 diff = (int32_t)cont_level - (int32_t)m->cont_level; in parse()
1761 m->cont_level); in parse()
1775 m->cont_level = cont_level; in parse()
1788 m->cont_level = 0; in parse()
[all …]
H A Dfile.h164 uint16_t cont_level; /* level of ">" */ member
/PHP-7.2/ext/fileinfo/
H A Dlibmagic.patch2867 - (m->cont_level & 7) + 1, ">>>>>>>>", m->offset);

Completed in 22 milliseconds