/external/minijail/ |
H A D | elfparse.c | 31 pHeader->e_phnum = le16toh(pHeader->e_phnum); \ 35 pHeader->e_phnum = be16toh(pHeader->e_phnum); \ 43 for (i = 0; i < pHeader->e_phnum; i++) { \
|
H A D | elfparse.h | 44 Elf32_Half e_phnum; /* Program header table entry count */ member in struct:__anon14769 62 Elf64_Half e_phnum; /* Program header table entry count */ member in struct:__anon14770
|
/external/elfutils/tests/ |
H A D | ecp.c | 61 if (ehdr->e_phnum > 0) 65 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0) 69 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt)
|
H A D | newfile.c | 46 ehdr->e_phnum, 125 ZERO_TEST (e_phnum); 157 VALUE_TEST (e_phnum, 10);
|
H A D | elfshphehdr.c | 71 check ("e_phnum == 0", ehdr.e_phnum == 0); 98 check ("e_phnum == 0", ehdr.e_phnum == 0); 120 ehdr.e_shoff = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; 138 check ("e_phnum == 1", ehdr.e_phnum == 1);
|
H A D | update2.c | 77 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 D | update3.c | 86 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 D | update1.c | 76 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, 114 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize,
|
H A D | update4.c | 90 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 D | showptable.c | 76 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt)
|
H A D | alldts.c | 232 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/libelf/ |
H A D | gelf_update_phdr.c | 84 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 D | elf_getphdrnum.c | 52 ? elf->state.elf32.ehdr->e_phnum 53 : elf->state.elf64.ehdr->e_phnum);
|
H A D | elf32_newphdr.c | 94 /* Set the `e_phnum' member to the new value. */ 95 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; 111 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count 153 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = PN_XNUM; 156 /* Set the `e_phnum' member to the new value. */ 157 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count;
|
H A D | gelf_update_ehdr.c | 90 COPY (e_phnum);
|
H A D | gelf_getehdr.c | 83 COPY (e_phnum);
|
/external/valgrind/coregrind/m_ume/ |
H A D | elf.c | 141 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum; 167 for (i = 0; i < e->e.e_phnum; i++) { 183 for (i = 0; i < e->e.e_phnum; i++) { 360 info->phnum = e->e.e_phnum; 365 for (i = 0; i < e->e.e_phnum; i++) { 419 for (j = 0; j < interp->e.e_phnum; j++) {
|
/external/libunwind/src/ |
H A D | elfxx.c | 253 GET_EHDR_FIELD(ei, ehdr, e_phnum, true); 257 for (i = 0; i < ehdr->e_phnum; ++i) { 397 for (i = 0; i < ehdr->e_phnum; ++i) { 411 for (i = 0; i < ehdr->e_phnum; ++i) { 621 for (i = 0; i < ehdr->e_phnum; ++i) { 630 GET_EHDR_FIELD(ei, &ehdr, e_phnum, false); 634 for (i = 0; i < ehdr.e_phnum; ++i) {
|
/external/libunwind/src/dwarf/ |
H A D | Gfind_unwind_table.c | 131 GET_EHDR_FIELD(ei, &ehdr, e_phnum, false); 144 for (i = 0; i < ehdr.e_phnum; ++i) { 277 for (i = 0; i < ehdr->e_phnum; ++i)
|
/external/google-breakpad/src/common/linux/ |
H A D | elf_core_dump.cc | 146 return header ? header->e_phnum : 0;
|
H A D | elfutils.cc | 98 for (int i = 0; i < elf_header->e_phnum; ++i) {
|
/external/libunwind/src/ia64/ |
H A D | Gfind_unwind_table.c | 109 for (i = 0; i < ehdr->e_phnum; ++i)
|
/external/elfutils/libdwfl/ |
H A D | elf-from-memory.c | 138 phnum = ehdr.e32.e_phnum; 150 phnum = ehdr.e64.e_phnum;
|
/external/kernel-headers/original/uapi/linux/ |
H A D | elf.h | 46 * 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.c | 152 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum);
|