/external/elfutils/tests/ |
D | update2.c | 84 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 122 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 123 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 144 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | ecp.c | 65 if (ehdr->e_phnum > 0) in main() 69 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0) in main() 73 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) in main()
|
D | update3.c | 93 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 171 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 172 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 199 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | newfile.c | 54 ehdr->e_phnum, in print_ehdr() 133 ZERO_TEST (e_phnum); in main() 165 VALUE_TEST (e_phnum, 10); in main()
|
D | update1.c | 83 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 121 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | update4.c | 98 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 324 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 325 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 352 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | showptable.c | 84 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt) in main()
|
/external/elfutils/libelf/ |
D | elf32_newphdr.c | 112 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; 124 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count 141 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count;
|
D | gelf_update_phdr.c | 104 if (unlikely (ndx >= elf->state.elf32.ehdr->e_phnum)) in gelf_update_phdr() 137 if (unlikely (ndx >= elf->state.elf64.ehdr->e_phnum)) in gelf_update_phdr()
|
D | gelf_getphdr.c | 103 if (ndx >= elf->state.elf32.ehdr->e_phnum) 141 if (ndx >= elf->state.elf64.ehdr->e_phnum)
|
D | elf32_updatefile.c | 195 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum, 1); in __elfw2() 200 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2() 210 + elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum)); in __elfw2() 552 malloc (sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2() 561 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum, 1); in __elfw2() 568 size_t phdr_size = sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum; in __elfw2() 590 + sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2()
|
D | gelf_update_ehdr.c | 111 COPY (e_phnum); in gelf_update_ehdr()
|
D | gelf_getehdr.c | 105 COPY (e_phnum);
|
D | elf32_updatenull.c | 173 + elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum)); in __elfw2() 182 size += elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum); in __elfw2()
|
/external/valgrind/main/coregrind/m_ume/ |
D | elf.c | 138 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum; in readelf() 165 for (i = 0; i < e->e.e_phnum; i++) { in mapelf() 181 for (i = 0; i < e->e.e_phnum; i++) { in mapelf() 346 info->phnum = e->e.e_phnum; 350 for (i = 0; i < e->e.e_phnum; i++) { 390 for (j = 0; j < interp->e.e_phnum; j++) {
|
/external/qemu/ |
D | elf_ops.h | 12 bswap16s(&ehdr->e_phnum); /* Program header table entry count */ in glue() 218 size = ehdr.e_phnum * sizeof(phdr[0]); in glue() 226 for(i = 0; i < ehdr.e_phnum; i++) { in glue() 233 for(i = 0; i < ehdr.e_phnum; i++) { in glue()
|
/external/elfutils/libdwfl/ |
D | dwfl_report_elf.c | 191 for (uint_fast16_t i = 0; i < ehdr->e_phnum; ++i) in __libdwfl_report_elf() 206 for (uint_fast16_t i = ehdr->e_phnum; i-- > 0;) in __libdwfl_report_elf()
|
D | elf-from-memory.c | 148 phnum = ehdr.e32.e_phnum; in elf_from_remote_memory() 160 phnum = ehdr.e64.e_phnum; in elf_from_remote_memory()
|
D | core-file.c | 161 for (int ndx = 0; result >= 0 && ndx < ehdr->e_phnum; ++ndx) in dwfl_report_core_segments() 417 while (ndx < ehdr->e_phnum); in dwfl_core_file_report()
|
/external/kernel-headers/original/linux/ |
D | elf.h | 184 Elf32_Half e_phnum; member 201 Elf64_Half e_phnum; member
|
/external/elfutils/src/ |
D | elfcmp.c | 185 || ehdr1->e_phnum != ehdr2->e_phnum in main() 412 phdr_region.to = ehdr1->e_phoff + ehdr1->e_phnum * ehdr1->e_phentsize; in main() 447 for (int ndx = 0; ndx < ehdr1->e_phnum; ++ndx) in main()
|
D | elflint.c | 416 if (ehdr->e_phnum != 0) in check_elf_header() 422 else if (ehdr->e_phnum == 0) in check_elf_header() 482 else if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > size) in check_elf_header() 499 else if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > size) in check_elf_header() 801 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab() 808 if (pcnt == ehdr->e_phnum) in check_symtab() 956 for (int pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab() 1202 for (int i = 0; i < ehdr->e_phnum; ++i) in check_reloc_shdr() 1689 for (n = 0; n < ehdr->e_phnum; ++n) in check_dynamic() 1698 if (unlikely (n >= ehdr->e_phnum)) in check_dynamic() [all …]
|
D | unstrip.c | 261 if (ehdr->e_phnum > 0) in copy_elf() 263 ELF_CHECK (gelf_newphdr (outelf, ehdr->e_phnum), in copy_elf() 267 for (uint_fast16_t i = 0; i < ehdr->e_phnum; ++i) in copy_elf() 977 phnum = ehdr.e32.e_phnum; in find_alloc_sections_prelink() 982 phnum = ehdr.e64.e_phnum; in find_alloc_sections_prelink() 1815 if (stripped_ehdr->e_phnum > 0) in copy_elided_sections() 1816 ELF_CHECK (gelf_newphdr (unstripped, stripped_ehdr->e_phnum), in copy_elided_sections() 1820 for (uint_fast16_t i = 0; i < stripped_ehdr->e_phnum; ++i) in copy_elided_sections() 1859 for (uint_fast16_t i = 0; i < stripped_ehdr->e_phnum; ++i) in handle_file() 1959 || stripped_ehdr.e_phnum != unstripped_ehdr.e_phnum) in handle_explicit_files()
|
/external/qemu/elff/ |
D | elff_elf.h | 174 Elf_Half e_phnum; member
|
/external/elfutils/backends/ |
D | ppc_symbol.c | 83 for (int i = 0; i < ehdr->e_phnum; ++i) in find_dyn_got()
|