/external/linux-tools-perf/src/tools/perf/util/ |
D | symbol-minimal.c | 117 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id() 120 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id() 129 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) { in filename__read_build_id() 166 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id() 169 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id() 178 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) { in filename__read_build_id()
|
/external/elfutils/src/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 | gelf_getphdr.c | 83 if (ndx >= elf->state.elf32.ehdr->e_phnum 84 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM 125 if (ndx >= elf->state.elf64.ehdr->e_phnum 126 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM
|
D | elf32_newphdr.c | 97 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; 113 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count 145 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = PN_XNUM; 149 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count;
|
D | elf_getphdrnum.c | 53 ? elf->state.elf32.ehdr->e_phnum 54 : elf->state.elf64.ehdr->e_phnum);
|
D | gelf_update_ehdr.c | 90 COPY (e_phnum); in gelf_update_ehdr()
|
D | gelf_getehdr.c | 84 COPY (e_phnum);
|
/external/elfutils/src/tests/ |
D | update2.c | 77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 115 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 116 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 137 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | ecp.c | 57 if (ehdr->e_phnum > 0) in main() 61 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0) in main() 65 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) in main()
|
D | update3.c | 86 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 164 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 165 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 192 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
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 | 90 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 316 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 317 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 344 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | update1.c | 76 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 114 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | alldts.c | 232 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 233 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()
|
/external/valgrind/coregrind/m_ume/ |
D | elf.c | 136 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum; in readelf() 162 for (i = 0; i < e->e.e_phnum; i++) { in mapelf() 178 for (i = 0; i < e->e.e_phnum; i++) { in mapelf() 347 info->phnum = e->e.e_phnum; in VG_() 352 for (i = 0; i < e->e.e_phnum; i++) { in VG_() 391 for (j = 0; j < interp->e.e_phnum; j++) { in VG_()
|
/external/libunwind/src/ |
D | elfxx.c | 251 GET_EHDR_FIELD(ei, ehdr, e_phnum, true); in elf_w() 255 for (i = 0; i < ehdr->e_phnum; ++i) { in elf_w() 395 for (i = 0; i < ehdr->e_phnum; ++i) { in elf_w() 605 for (i = 0; i < ehdr->e_phnum; ++i) { in elf_w() 614 GET_EHDR_FIELD(ei, &ehdr, e_phnum, false); in elf_w() 618 for (i = 0; i < ehdr.e_phnum; ++i) { in elf_w()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 214 Elf32_Half e_phnum; member 231 Elf64_Half e_phnum; member
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 131 GET_EHDR_FIELD(ei, &ehdr, e_phnum, false); in dwarf_find_unwind_table_memory() 145 for (i = 0; i < ehdr.e_phnum; ++i) { in dwarf_find_unwind_table_memory() 278 for (i = 0; i < ehdr->e_phnum; ++i) in dwarf_find_unwind_table()
|
/external/elfutils/src/libdwfl/ |
D | elf-from-memory.c | 132 phnum = ehdr.e32.e_phnum; in elf_from_remote_memory() 144 phnum = ehdr.e64.e_phnum; in elf_from_remote_memory()
|
/external/libunwind/src/coredump/ |
D | _UCD_create.c | 152 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create()
|
/external/lldb/source/Plugins/ObjectFile/ELF/ |
D | ObjectFileELF.cpp | 643 if (m_header.e_phnum == 0) in ParseProgramHeaders() 646 m_program_headers.resize(m_header.e_phnum); in ParseProgramHeaders() 647 if (m_program_headers.size() != m_header.e_phnum) in ParseProgramHeaders() 650 const size_t ph_size = m_header.e_phnum * m_header.e_phentsize; in ParseProgramHeaders() 658 for (idx = 0, offset = 0; idx < m_header.e_phnum; ++idx) in ParseProgramHeaders() 1567 s->Printf("e_phnum = 0x%4.4x\n", header.e_phnum); in DumpELFHeader()
|
D | ELFHeader.h | 71 elf_half e_phnum; ///< Number of program header entries. member
|
/external/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 109 for (i = 0; i < ehdr->e_phnum; ++i) in ia64_find_unwind_table()
|
/external/google-breakpad/src/common/linux/ |
D | elfutils.cc | 98 for (int i = 0; i < elf_header->e_phnum; ++i) { in FindElfClassSegment()
|