/external/minijail/ |
H A D | elfparse.c | 38 pHeader->e_phnum = le16toh(pHeader->e_phnum); \ 42 pHeader->e_phnum = be16toh(pHeader->e_phnum); \ 50 for (i = 0; i < pHeader->e_phnum; i++) { \
|
H A D | elfparse.h | 38 Elf32_Half e_phnum; /* Program header table entry count */ member in struct:__anon17329 56 Elf64_Half e_phnum; /* Program header table entry count */ member in struct:__anon17330
|
/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/syslinux/com32/lib/sys/module/i386/ |
H A D | elf_module.c | 48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize); 52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module); 55 for (i=0; i < elf_hdr->e_phnum; i++) { 112 for (i = 0; i < elf_hdr->e_phnum; i++) {
|
/external/syslinux/com32/lib/sys/module/x86_64/ |
H A D | elf_module.c | 48 pht = malloc(elf_hdr->e_phnum * elf_hdr->e_phentsize); 52 image_read(pht, elf_hdr->e_phnum * elf_hdr->e_phentsize, module); 55 for (i=0; i < elf_hdr->e_phnum; i++) { 112 for (i = 0; i < elf_hdr->e_phnum; i++) {
|
/external/syslinux/gpxe/src/include/ |
H A D | elf.h | 182 Elf32_Half e_phnum; /* Number of program header entries. */ member in struct:__anon24883 199 Elf64_Half e_phnum; /* Number of program header entries. */ member in struct:__anon24884
|
/external/syslinux/com32/include/sys/ |
H A D | elf32.h | 72 Elf32_Half e_phnum; member in struct:elf32_hdr
|
H A D | elf64.h | 72 Elf64_Half e_phnum; member in struct:elf64_hdr
|
/external/syslinux/com32/modules/ |
H A D | elf.c | 112 if (!eh->e_phnum) 115 if (eh->e_phoff + eh->e_phentsize * eh->e_phnum > len) 128 for (i = 0; i < eh->e_phnum; i++) {
|
/external/valgrind/coregrind/m_ume/ |
H A D | elf.c | 377 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum; 403 for (i = 0; i < e->e.e_phnum; i++) { 419 for (i = 0; i < e->e.e_phnum; i++) { 600 info->phnum = e->e.e_phnum; 605 for (i = 0; i < e->e.e_phnum; i++) { 662 for (j = 0; j < interp->e.e_phnum; j++) {
|
/external/syslinux/com32/mboot/ |
H A D | map.c | 150 !eh->e_phnum || eh->e_phoff + eh->e_phentsize * eh->e_phnum > len) 169 for (i = 0; i < eh->e_phnum; i++) {
|
/external/syslinux/gpxe/src/image/ |
H A D | elf.c | 142 for ( phoff = ehdr.e_phoff , phnum = ehdr.e_phnum ; phnum ;
|