Lines Matching refs:phnum
349 static unsigned int phnum;
469 phnum = ehdr->e_phnum;
473 might contain the phnum count. */
483 phnum = shdr->sh_info;
501 else if (ehdr->e_phoff + phnum * ehdr->e_phentsize > size)
518 else if (ehdr->e_phoff + phnum * ehdr->e_phentsize > size)
828 for (pcnt = 0; pcnt < phnum; ++pcnt)
835 if (pcnt == phnum)
983 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt)
1240 for (unsigned int i = 0; i < phnum; ++i)
1714 for (n = 0; n < phnum; ++n)
1723 if (unlikely (n >= phnum))
2797 for (i = 0; i < phnum; ++i)
2802 if (i == phnum)
3438 zeroth section has nonzero link value while ELF header does not signal overflow in phnum\n"));
3441 int *segment_flags = xcalloc (phnum, sizeof segment_flags[0]);
3712 for (pcnt = 0; pcnt < phnum; ++pcnt)
3773 if (pcnt == phnum)
3865 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt)
4092 for (unsigned int cnt = 0; cnt < phnum; ++cnt)
4168 for (inner = 0; inner < phnum; ++inner)
4193 if (inner >= phnum)
4202 for (inner = 0; inner < phnum; ++inner)
4216 if (inner >= phnum)