/external/syslinux/com32/tools/ |
D | relocs.c | 206 if (shndx < ehdr.e_shnum) { in sec_name() 282 ehdr.e_shnum = elf16_to_cpu(ehdr.e_shnum); in read_ehdr() 303 if (ehdr.e_shstrndx >= ehdr.e_shnum) { in read_ehdr() 313 secs = calloc(ehdr.e_shnum, sizeof(struct section)); in read_shdrs() 316 ehdr.e_shnum); in read_shdrs() 322 for (i = 0; i < ehdr.e_shnum; i++) { in read_shdrs() 326 i, ehdr.e_shnum, strerror(errno)); in read_shdrs() 337 if (sec->shdr.sh_link < ehdr.e_shnum) in read_shdrs() 346 for (i = 0; i < ehdr.e_shnum; i++) { in read_strtabs() 371 for (i = 0; i < ehdr.e_shnum; i++) { in read_symtabs() [all …]
|
/external/elfutils/tests/ |
D | newfile.c | 48 ehdr->e_shnum, in print_ehdr() 127 ZERO_TEST (e_shnum); in main() 159 ZERO_TEST (e_shnum); in main()
|
D | elfshphehdr.c | 70 check ("e_shnum == 0", ehdr.e_shnum == 0); in test() 97 check ("e_shnum == 0", ehdr.e_shnum == 0); in test() 137 check ("e_shnum == 2", ehdr.e_shnum == 2); in test()
|
D | update1.c | 77 ehdr->e_shnum, ehdr->e_shstrndx); in main() 115 ehdr->e_shnum, ehdr->e_shstrndx); in main()
|
D | update2.c | 78 ehdr->e_shnum, ehdr->e_shstrndx); in main() 138 ehdr->e_shnum, ehdr->e_shstrndx); in main()
|
D | update3.c | 87 ehdr->e_shnum, ehdr->e_shstrndx); in main() 193 ehdr->e_shnum, ehdr->e_shstrndx); in main()
|
/external/google-breakpad/src/common/linux/ |
D | dump_symbols.cc | 245 int num_sections = elf_header->e_shnum; in LoadDwarf() 620 elf_header->e_shnum); in LoadSymbols() 640 elf_header->e_shnum); in LoadSymbols() 656 elf_header->e_shnum); in LoadSymbols() 660 elf_header->e_shnum); in LoadSymbols() 688 elf_header->e_shnum); in LoadSymbols() 706 elf_header->e_shnum); in LoadSymbols() 713 elf_header->e_shnum); in LoadSymbols() 717 elf_header->e_shnum); in LoadSymbols() 738 names_end, elf_header->e_shnum); in LoadSymbols()
|
/external/libunwind/src/ia64/ |
D | Gfind_unwind_table.c | 67 if (soff + ehdr->e_shnum * ehdr->e_shentsize > edi->ei.size) in find_gp() 70 soff + ehdr->e_shnum * ehdr->e_shentsize, in find_gp() 78 for (i = 0; i < ehdr->e_shnum; ++i) in find_gp()
|
/external/minijail/ |
D | elfparse.h | 46 Elf32_Half e_shnum; /* Section header table entry count */ member 64 Elf64_Half e_shnum; /* Section header table entry count */ member
|
/external/libunwind/src/ |
D | elfxx.c | 116 GET_EHDR_FIELD(ei, ehdr, e_shnum, true); in elf_w() 119 if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size) { in elf_w() 121 (unsigned long) (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize), in elf_w() 166 GET_EHDR_FIELD(ei, ehdr, e_shnum, true); in elf_w() 169 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w() 279 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->u.mapped.size) { in Elf_W() 281 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize), in Elf_W() 322 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w() 539 for (i = 0; i < ehdr->e_shnum; ++i) { in elf_w()
|
/external/elfutils/libdwfl/ |
D | elf-from-memory.c | 142 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize; in elf_from_remote_memory() 154 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize; in elf_from_remote_memory() 331 ehdr.e32.e_shnum = 0; in elf_from_remote_memory() 358 ehdr.e64.e_shnum = 0; in elf_from_remote_memory()
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
D | elf-dump | 181 e_shnum = f.read16() 182 print "('e_shnum', %s)" % common_dump.HexDump(e_shnum) 188 for index in range(e_shnum[0]): 206 for index in range(e_shnum[0]):
|
/external/syslinux/com32/lib/sys/module/i386/ |
D | elf_module.c | 154 sht = malloc(elf_hdr->e_shnum * elf_hdr->e_shentsize); in load_segments() 160 image_read(sht, elf_hdr->e_shnum * elf_hdr->e_shentsize, module); in load_segments() 163 for (i = 0; i < elf_hdr->e_shnum; i++) { in load_segments()
|
/external/elfutils/libelf/ |
D | elf_begin.c | 110 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum; in get_shnum() 118 CONVERT (ehdr_mem.e32.e_shnum); in get_shnum() 126 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum; in get_shnum() 134 CONVERT (ehdr_mem.e64.e_shnum); in get_shnum() 143 result = ehdr.e32->e_shnum; in get_shnum() 192 result = ehdr.e64->e_shnum; in get_shnum() 333 CONVERT (elf->state.elf32.ehdr_mem.e_shnum); in file_read_elf() 435 CONVERT (elf->state.elf64.ehdr_mem.e_shnum); in file_read_elf()
|
D | gelf_update_ehdr.c | 92 COPY (e_shnum); in gelf_update_ehdr()
|
D | gelf_getehdr.c | 85 COPY (e_shnum); in __gelf_getehdr_rdlock()
|
/external/syslinux/gpxe/src/include/ |
D | elf.h | 184 Elf32_Half e_shnum; /* Number of section header entries. */ member 201 Elf64_Half e_shnum; /* Number of section header entries. */ member
|
/external/syslinux/com32/lib/sys/module/x86_64/ |
D | elf_module.c | 154 sht = malloc(elf_hdr->e_shnum * elf_hdr->e_shentsize); in load_segments() 160 image_read(sht, elf_hdr->e_shnum * elf_hdr->e_shentsize, module); in load_segments() 163 for (i = 0; i < elf_hdr->e_shnum; i++) { in load_segments()
|
/external/syslinux/com32/mboot/ |
D | map.c | 233 len = eh->e_shentsize * eh->e_shnum; in map_image() 246 mbinfo.syms.e.num = eh->e_shnum; in map_image() 250 for (i = 0; i < eh->e_shnum; i++) { in map_image()
|
/external/libunwind/src/dwarf/ |
D | Gfind_proc_info-lsb.c | 127 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr))); in load_debug_frame() 128 if (sec_hdrs == NULL || fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum in load_debug_frame() 129 || shstrndx >= ehdr.e_shnum) in load_debug_frame() 140 for (i = 1; i < ehdr.e_shnum && *buf == NULL; i++) in load_debug_frame() 214 for (j = 1; j < ehdr.e_shnum; j++) { in load_debug_frame()
|
/external/syslinux/gpxe/src/arch/i386/core/ |
D | freebsd_loader.c | 137 estate.toread = estate.e.elf32.e_shnum * estate.e.elf32.e_shentsize; in elf_freebsd_debug_loader() 165 for (i=0; i < estate.e.elf32.e_shnum; i++) in elf_freebsd_debug_loader()
|
/external/kernel-headers/original/uapi/linux/ |
D | elf.h | 216 Elf32_Half e_shnum; member 233 Elf64_Half e_shnum; member
|
/external/vixl/examples/aarch32/ |
D | disasm-a32.cc | 105 nsections_ = ehdr->e_shnum; in SectionLocator() 138 if ((sym[snum].st_shndx > 0) && (sym[snum].st_shndx < ehdr->e_shnum) && in LocateSymbols()
|
/external/syslinux/com32/include/sys/ |
D | elf64.h | 74 Elf64_Half e_shnum; member
|
D | elf32.h | 74 Elf32_Half e_shnum; member
|