Home
last modified time | relevance | path

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

/PHP-8.1/ext/fileinfo/libmagic/
H A Dsoftmagic.c209 unsigned int cont_level = 0; in match() local
243 cont_level = 0; in match()
330 if (cont_level < m->cont_level) in match()
332 if (cont_level > m->cont_level) { in match()
337 cont_level = m->cont_level; in match()
342 if (cont_level == 0) { in match()
447 cont_level--; in match()
473 cont_level = 0; in match()
1487 if (cont_level > 0) { in msetoffset()
1510 if (cont_level == 0) { in msetoffset()
[all …]
H A Dder.c286 DPRINTF(("cont_level = %d\n", m->cont_level)); in der_offs()
288 for (size_t i = 0; i < m->cont_level; i++) in der_offs()
292 if (m->cont_level != 0) { in der_offs()
295 ms->c.li[m->cont_level - 1].off = CAST(int, offs + tlen); in der_offs()
296 DPRINTF(("cont_level[%u] = %u\n", m->cont_level - 1, in der_offs()
297 ms->c.li[m->cont_level - 1].off)); in der_offs()
H A Dapprentice.c1830 uint32_t cont_level; in parse() local
1833 cont_level = 0; in parse()
1840 cont_level++; in parse()
1843 if (cont_level == 0 || cont_level > last_cont_level) in parse()
1846 last_cont_level = cont_level; in parse()
1848 if (cont_level != 0) { in parse()
1858 diff = CAST(int32_t, cont_level) - CAST(int32_t, m->cont_level); in parse()
1862 m->cont_level); in parse()
1876 m->cont_level = cont_level; in parse()
1889 m->cont_level = 0; in parse()
[all …]
H A Dprint.c57 (m->cont_level & 7) + 1, ">>>>>>>>", m->offset); in file_mdump()
H A Dfile.h191 uint16_t cont_level; /* level of ">" */ member
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch3157 switch (moffset(ms, m, &bb, &ms->c.li[cont_level].off)) {
3160 ms->c.li[cont_level].got_match = 1;
3203 cont_level = 0;

Completed in 48 milliseconds