Searched refs:e_phnum (Results 1 - 25 of 50) sorted by relevance

12

/external/elfutils/src/tests/
H A Decp.c57 if (ehdr->e_phnum > 0)
61 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0)
65 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt)
H A Dnewfile.c46 ehdr->e_phnum,
125 ZERO_TEST (e_phnum);
157 VALUE_TEST (e_phnum, 10);
H A Dupdate2.c77 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
115 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
116 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
137 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
H A Dupdate3.c86 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
164 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
165 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
192 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
H A Dupdate1.c76 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
114 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
H A Dupdate4.c90 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
316 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
317 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
344 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
H A Dshowptable.c76 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt)
H A Dalldts.c232 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
233 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT);
/external/elfutils/src/libelf/
H A Dgelf_getphdr.c83 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
H A Dgelf_update_phdr.c84 if (ndx >= elf->state.elf32.ehdr->e_phnum
85 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM
121 if (ndx >= elf->state.elf64.ehdr->e_phnum
122 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM
H A Delf_getphdrnum.c53 ? elf->state.elf32.ehdr->e_phnum
54 : elf->state.elf64.ehdr->e_phnum);
H A Delf32_newphdr.c96 /* Set the `e_phnum' member to the new value. */
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;
148 /* Set the `e_phnum' member to the new value. */
149 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count;
H A Dgelf_update_ehdr.c90 COPY (e_phnum);
H A Dgelf_getehdr.c84 COPY (e_phnum);
/external/linux-tools-perf/src/tools/perf/util/
H A Dsymbol-minimal.c117 ehdr.e_phnum = bswap_16(ehdr.e_phnum);
120 buf_size = ehdr.e_phentsize * ehdr.e_phnum;
129 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) {
166 ehdr.e_phnum = bswap_16(ehdr.e_phnum);
169 buf_size = ehdr.e_phentsize * ehdr.e_phnum;
178 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) {
/external/valgrind/coregrind/m_ume/
H A Delf.c136 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum;
162 for (i = 0; i < e->e.e_phnum; i++) {
178 for (i = 0; i < e->e.e_phnum; i++) {
347 info->phnum = e->e.e_phnum;
352 for (i = 0; i < e->e.e_phnum; i++) {
391 for (j = 0; j < interp->e.e_phnum; j++) {
/external/libunwind/src/dwarf/
H A DGfind_unwind_table.c131 GET_EHDR_FIELD(ei, &ehdr, e_phnum, false);
145 for (i = 0; i < ehdr.e_phnum; ++i) {
278 for (i = 0; i < ehdr->e_phnum; ++i)
/external/google-breakpad/src/common/linux/
H A Delf_core_dump.cc146 return header ? header->e_phnum : 0;
H A Delfutils.cc98 for (int i = 0; i < elf_header->e_phnum; ++i) {
/external/libunwind/src/ia64/
H A DGfind_unwind_table.c109 for (i = 0; i < ehdr->e_phnum; ++i)
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h71 elf_half e_phnum; ///< Number of program header entries. member in struct:elf::ELFHeader
/external/elfutils/src/libdwfl/
H A Delf-from-memory.c132 phnum = ehdr.e32.e_phnum;
144 phnum = ehdr.e64.e_phnum;
/external/kernel-headers/original/uapi/linux/
H A Delf.h46 * section header at index 0, and PN_XNUM is set to e_phnum
214 Elf32_Half e_phnum; member in struct:elf32_hdr
231 Elf64_Half e_phnum; member in struct:elf64_hdr
/external/libunwind/src/coredump/
H A D_UCD_create.c152 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum);
/external/libunwind/src/
H A Delfxx.c251 GET_EHDR_FIELD(ei, ehdr, e_phnum, true);
255 for (i = 0; i < ehdr->e_phnum; ++i) {
395 for (i = 0; i < ehdr->e_phnum; ++i) {
605 for (i = 0; i < ehdr->e_phnum; ++i) {
614 GET_EHDR_FIELD(ei, &ehdr, e_phnum, false);
618 for (i = 0; i < ehdr.e_phnum; ++i) {

Completed in 362 milliseconds

12