/external/elfutils/tests/ |
D | update2.c | 72 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 110 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 111 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 132 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | ecp.c | 53 if (ehdr->e_phnum > 0) in main() 57 if (gelf_newphdr (outelf, ehdr->e_phnum) == 0) in main() 61 for (cnt = 0; cnt < ehdr->e_phnum; ++cnt) in main()
|
D | update3.c | 81 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 159 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 160 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 187 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | newfile.c | 42 ehdr->e_phnum, in print_ehdr() 121 ZERO_TEST (e_phnum); in main() 153 VALUE_TEST (e_phnum, 10); in main()
|
D | update4.c | 86 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 312 phdr[0].p_filesz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 313 phdr[0].p_memsz = ehdr->e_phnum * elf32_fsize (ELF_T_PHDR, 1, EV_CURRENT); in main() 340 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | update1.c | 71 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main() 109 ehdr->e_phentsize, ehdr->e_phnum, ehdr->e_shentsize, in main()
|
D | showptable.c | 66 for (cnt = 0; cnt < ehdr.e_phnum; ++cnt) in main()
|
/external/elfcopy/ |
D | common.c | 28 ehdr->e_phnum); in map_over_segments() 30 for (index = ehdr->e_phnum; index; index--) { in map_over_segments()
|
D | elfcopy.c | 1019 for (pi = 0; pi < ehdr->e_phnum; ++pi) { in adjust_elf() 1034 if (phdr_info[pi].p_memsz != ehdr->e_phentsize * ehdr->e_phnum) { in adjust_elf() 1035 ASSERT(phdr_info[pi].p_memsz > ehdr->e_phentsize * ehdr->e_phnum); in adjust_elf() 1038 (long)(ehdr->e_phentsize * ehdr->e_phnum)); in adjust_elf() 1039 phdr_info[pi].p_memsz = ehdr->e_phentsize * ehdr->e_phnum; in adjust_elf() 2722 for (pi = 0; pi < ehdr->e_phnum; ++pi) { in get_section_real_align() 2787 lastoffset += ehdr->e_phnum * ehdr->e_phentsize; in update_section_offsets() 2970 for (pi = 0; pi < ehdr->e_phnum; pi++) { in verify_elf()
|
/external/elfutils/libelf/ |
D | elf32_newphdr.c | 79 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0; 91 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count 108 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count;
|
D | elf32_updatefile.c | 151 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum, 1); in __elfw2() 156 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2() 166 + elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum)); in __elfw2() 435 malloc (sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2() 444 sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum, 1); in __elfw2() 453 * ehdr->e_phnum, ehdr->e_phoff) in __elfw2() 454 != sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum)) in __elfw2() 472 + sizeof (ElfW2(LIBELFBITS,Phdr)) * ehdr->e_phnum); in __elfw2()
|
D | gelf_getphdr.c | 67 if (ndx >= elf->state.elf32.ehdr->e_phnum) 103 if (ndx >= elf->state.elf64.ehdr->e_phnum)
|
D | gelf_update_phdr.c | 71 if (unlikely (ndx >= elf->state.elf32.ehdr->e_phnum)) in gelf_update_phdr() 104 if (unlikely (ndx >= elf->state.elf64.ehdr->e_phnum)) in gelf_update_phdr()
|
D | gelf_update_ehdr.c | 78 COPY (e_phnum); in gelf_update_ehdr()
|
D | gelf_getehdr.c | 68 COPY (e_phnum);
|
D | elf32_updatenull.c | 133 + elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum)); in __elfw2() 142 size += elf_typesize (LIBELFBITS, ELF_T_PHDR, ehdr->e_phnum); in __elfw2()
|
D | elf_begin.c | 262 if (elf->state.elf32.ehdr->e_phnum) in file_read_elf() 304 CONVERT (elf->state.elf32.ehdr_mem.e_phnum); in file_read_elf() 348 if (elf->state.elf64.ehdr->e_phnum) in file_read_elf() 390 CONVERT (elf->state.elf64.ehdr_mem.e_phnum); in file_read_elf()
|
D | elf32_getphdr.c | 74 phnum = ehdr->e_phnum;
|
/external/qemu/ |
D | elf_ops.h | 12 bswap16s(&ehdr->e_phnum); /* Program header table entry count */ in glue() 218 size = ehdr.e_phnum * sizeof(phdr[0]); in glue() 226 for(i = 0; i < ehdr.e_phnum; i++) { in glue() 233 for(i = 0; i < ehdr.e_phnum; i++) { in glue()
|
D | elf.h | 964 Elf32_Half e_phnum; member 981 Elf64_Half e_phnum; member
|
/external/kernel-headers/original/linux/ |
D | elf.h | 184 Elf32_Half e_phnum; member 201 Elf64_Half e_phnum; member
|
/external/elfutils/src/ |
D | elflint.c | 417 if (ehdr->e_phnum != 0) in check_elf_header() 423 else if (ehdr->e_phnum == 0) in check_elf_header() 493 else if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > size) in check_elf_header() 510 else if (ehdr->e_phoff + ehdr->e_phnum * ehdr->e_phentsize > size) in check_elf_header() 795 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab() 802 if (pcnt == ehdr->e_phnum) in check_symtab() 912 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_symtab() 2182 for (pcnt = 0; pcnt < ehdr->e_phnum; ++pcnt) in check_sections() 2216 if (pcnt == ehdr->e_phnum) in check_sections() 2436 for (int cnt = 0; cnt < ehdr->e_phnum; ++cnt) in check_program_header() [all …]
|
/external/qemu/elff/ |
D | elf.h | 176 Elf_Half e_phnum; member
|
/external/grub/stage2/ |
D | boot.c | 116 if (pu.elf->e_phoff == 0 || pu.elf->e_phnum == 0 in load_image() 117 || ((pu.elf->e_phoff + (pu.elf->e_phentsize * pu.elf->e_phnum)) in load_image() 599 for (i = 0; i < pu.elf->e_phnum; i++) in load_image()
|
D | i386-elf.h | 79 Elf32_Half e_phnum; /* number of entries in program header */ member
|