/third_party/elfutils/libelf/ |
D | gelf_update_phdr.c | 84 if (ndx >= elf->state.elf32.ehdr->e_phnum in gelf_update_phdr() 85 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM in gelf_update_phdr() 121 if (ndx >= elf->state.elf64.ehdr->e_phnum in gelf_update_phdr() 122 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM in gelf_update_phdr()
|
D | elf32_newphdr.c | 98 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; in ElfW2() 114 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count in ElfW2() 156 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = PN_XNUM; in ElfW2() 160 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count; in ElfW2()
|
D | elf_getphdrnum.c | 53 ? elf->state.elf32.ehdr->e_phnum in __elf_getphdrnum_rdlock() 54 : elf->state.elf64.ehdr->e_phnum); in __elf_getphdrnum_rdlock()
|
D | gelf_update_ehdr.c | 90 COPY (e_phnum); in gelf_update_ehdr()
|
D | gelf_getehdr.c | 83 COPY (e_phnum); in __gelf_getehdr_rdlock()
|
/third_party/elfutils/tests/ |
D | update2.c | 78 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 116 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 117 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 138 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | ecp.c | 61 if (ehdr->e_phnum > 0) in main() 65 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0) in main() 69 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) in main()
|
D | update3.c | 87 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 165 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 166 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 193 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | elfshphehdr.c | 71 check ("e_phnum == 0", ehdr.e_phnum == 0); in test() 98 check ("e_phnum == 0", ehdr.e_phnum == 0); in test() 120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in test() 138 check ("e_phnum == 1", ehdr.e_phnum == 1); in test()
|
D | newfile.c | 46 ehdr->e_phnum, in print_ehdr() 125 ZERO_TEST (e_phnum); in main() 157 VALUE_TEST (e_phnum, 10); in main()
|
D | update4.c | 91 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 317 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 318 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 345 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | update1.c | 77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 115 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | alldts.c | 234 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 235 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main()
|
D | showptable.c | 76 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt) in main()
|
/third_party/libunwind/src/coredump/ |
D | _UCD_create.c | 122 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
D | elf_mem_image.cc | 107 ABSL_RAW_CHECK(index < ehdr_->e_phnum, "index out of range"); in ElfW() 199 for (int i = 0; i < ehdr_->e_phnum; ++i) { in Init()
|
/third_party/elfutils/libdwfl/ |
D | elf-from-memory.c | 138 phnum = ehdr.e32.e_phnum; in elf_from_remote_memory() 155 phnum = ehdr.e64.e_phnum; in elf_from_remote_memory()
|
/third_party/libunwind/src/ |
D | dl-iterate-phdr.c | 84 info.dlpi_phnum = ehdr->e_phnum; in dl_iterate_phdr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELF.h | 194 if (getHeader()->e_phnum && getHeader()->e_phentsize != sizeof(Elf_Phdr)) in program_headers() 198 (getHeader()->e_phnum * getHeader()->e_phentsize) > in program_headers() 203 ", e_phnum = " + Twine(getHeader()->e_phnum) + in program_headers() 207 return makeArrayRef(Begin, Begin + getHeader()->e_phnum); in program_headers()
|
/third_party/musl/src/internal/ |
D | vdso.c | 52 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __vdsosym()
|
/third_party/musl/porting/linux/user/src/internal/ |
D | vdso.c | 79 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __get_vdso_info()
|
/third_party/libunwind/include/win/ |
D | freebsd-elf32.h | 66 Elf32_Half e_phnum; /* Number of program header entries. */ member
|
/third_party/libunwind/include/mingw/ |
D | freebsd-elf32.h | 66 Elf32_Half e_phnum; /* Number of program header entries. */ member
|
D | freebsd-elf64.h | 79 Elf64_Half e_phnum; /* Number of program header entries. */ member
|
/third_party/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 109 for (i = 0; i < ehdr->e_phnum; ++i) in ia64_find_unwind_table()
|