Lines Matching defs:pcnt
494 unsigned int pcnt;
495 for (pcnt = 0; pcnt < phnum; ++pcnt)
498 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem);
502 if (pcnt < phnum)
503 ERROR (_("Can only check %u headers, phnum was %u\n"), pcnt, phnum);
504 phnum = pcnt;
871 unsigned int pcnt;
873 for (pcnt = 0; pcnt < phnum; ++pcnt)
875 phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem);
880 if (pcnt == phnum)
1034 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt)
1037 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem);
4053 unsigned int pcnt;
4057 for (pcnt = 0; pcnt < phnum; ++pcnt)
4058 if ((phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem)) != NULL
4075 cnt, section_name (ebl, cnt), pcnt);
4085 cnt, section_name (ebl, cnt), pcnt);
4111 cnt, section_name (ebl, cnt), pcnt);
4122 cnt, section_name (ebl, cnt), pcnt);
4129 segment_flags[pcnt] |= PF_X;
4133 cnt, section_name (ebl, cnt), pcnt);
4138 segment_flags[pcnt] |= PF_W;
4143 cnt, section_name (ebl, cnt), pcnt);
4150 if (pcnt == phnum)
4242 for (unsigned int pcnt = 0; pcnt < phnum; ++pcnt)
4245 GElf_Phdr *phdr = gelf_getphdr (ebl->elf, pcnt, &phdr_mem);
4249 && (segment_flags[pcnt] & PF_X) == 0)
4252 pcnt);
4255 && (segment_flags[pcnt] & PF_W) == 0)
4258 pcnt);