Home | History | Annotate | Download | only in libdwfl

Lines Matching refs:phnum

545   size_t phnum;
546 if (elf_getphdrnum (mod->main.elf, &phnum) != 0)
549 for (size_t i = 0; i < phnum; ++i)
715 GElf_Xword phnum = 0;
731 phnum = val; \
790 if (phdr != 0 && phnum != 0)
798 .d_size = phnum * phent,
802 &in.d_size, phdr, phnum * phent,
841 if (e_phnum != phnum || ehdr->e_phentsize != phent)
850 assert (in.d_size == phnum * phent);
873 if (unlikely (phnum > SIZE_MAX / phent))
878 size_t nbytes = phnum * phent;
880 Elf32_Phdr (*p32)[phnum] = buf;
881 Elf64_Phdr (*p64)[phnum] = buf;
891 .d_size = phnum * phent,
902 for (size_t i = 0; i < phnum; ++i)
910 for (size_t i = 0; i < phnum; ++i)