Searched refs:e_shnum (Results 1 - 25 of 42) sorted by path

12

/external/chromium_org/base/third_party/symbolize/
H A Dsymbolize.cc243 for (int i = 0; i < elf_header.e_shnum; ++i) {
345 if (GetSectionHeaderByType(fd, elf_header.e_shnum, elf_header.e_shoff,
358 if (GetSectionHeaderByType(fd, elf_header.e_shnum, elf_header.e_shoff,
/external/chromium_org/courgette/
H A Ddisassembler_elf_32.cc61 section_header_table_size_ = header_->e_shnum;
63 if ((header_->e_shoff + header_->e_shnum ) >= length())
130 (header_->e_shnum * sizeof(Elf32_Shdr));
H A Dtypes_elf.h34 Elf32_Half e_shnum; member in struct:Elf32_Ehdr
/external/chromium_org/third_party/libvpx/include/
H A Delf.h240 Elf32_Half e_shnum; member in struct:elf32_hdr
260 Elf64_Half e_shnum; member in struct:elf64_hdr
/external/chromium_org/third_party/libvpx/source/libvpx/build/make/
H A Dobj_int_extract.c273 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shnum);
290 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shnum);
302 if (idx >= elf->hdr32.e_shnum)
318 if (idx >= elf->hdr64.e_shnum)
404 for (i = 0; i < elf.hdr32.e_shnum; i++) {
421 for (i = 0; i < elf.hdr64.e_shnum; i++) {
441 for (i = 0; i < elf.hdr32.e_shnum; i++) {
530 for (i = 0; i < elf.hdr64.e_shnum; i++) {
/external/chromium_org/tools/relocation_packer/src/
H A Delf_file.cc90 VLOG(1) << "e_shnum = " << elf_header->e_shnum;
/external/elfutils/0.153/libdwfl/
H A Ddwfl_module_getdwarf.c375 shnum = ehdr.e32.e_shnum;
383 shnum = ehdr.e64.e_shnum;
H A Ddwfl_segment_report_module.c213 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize;
226 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize;
H A Delf-from-memory.c152 shdrs_end = ehdr.e32.e_shoff + ehdr.e32.e_shnum * ehdr.e32.e_shentsize;
164 shdrs_end = ehdr.e64.e_shoff + ehdr.e64.e_shnum * ehdr.e64.e_shentsize;
308 ehdr.e32.e_shnum = 0;
335 ehdr.e64.e_shnum = 0;
/external/elfutils/0.153/libelf/
H A Dabstract.h67 TYPE_NAME (ElfW2(Bits, Ext##Half), e_shnum) \
H A Delf.h85 Elf32_Half e_shnum; /* Section header table entry count */ member in struct:__anon21218
103 Elf64_Half e_shnum; /* Section header table entry count */ member in struct:__anon21219
H A Delf32_updatefile.c230 char *const shdr_end = shdr_start + ehdr->e_shnum * ehdr->e_shentsize;
H A Delf32_updatenull.c117 update_if_changed (ehdr->e_shnum, 0,
121 update_if_changed (ehdr->e_shnum, shnum,
409 e_shnum (or sh_size of the dummy, first section header)
H A Delf_begin.c131 ehdr_mem.e32.e_shnum = ((Elf32_Ehdr *) e_ident)->e_shnum;
139 CONVERT (ehdr_mem.e32.e_shnum);
147 ehdr_mem.e64.e_shnum = ((Elf64_Ehdr *) e_ident)->e_shnum;
155 CONVERT (ehdr_mem.e64.e_shnum);
164 result = ehdr.e32->e_shnum;
212 result = ehdr.e64->e_shnum;
381 CONVERT (elf->state.elf32.ehdr_mem.e_shnum);
467 CONVERT (elf->state.elf64.ehdr_mem.e_shnum);
[all...]
H A Dgelf_getehdr.c107 COPY (e_shnum);
H A Dgelf_update_ehdr.c113 COPY (e_shnum);
/external/elfutils/0.153/src/
H A Delflint.c427 shnum = ehdr->e_shnum;
431 if (ehdr->e_shnum != 0)
439 if (ehdr->e_shnum == 0)
524 else if (ehdr->e_shoff + ehdr->e_shnum * ehdr->e_shentsize > size)
3428 if (shdr->sh_size != 0 && ehdr->e_shnum != 0)
H A Dreadelf.c827 ehdr->e_shnum);
828 if (ehdr->e_shnum == 0)
893 ehdr->e_shnum, ehdr->e_shoff);
1033 if (ehdr->e_shnum == 0)
H A Dstrip.c1972 == offsetof (Elf32_Ehdr, e_shnum));
1973 assert (offsetof (Elf32_Ehdr, e_shnum) + sizeof (Elf32_Half)
1992 == offsetof (Elf64_Ehdr, e_shnum));
1993 assert (offsetof (Elf64_Ehdr, e_shnum) + sizeof (Elf64_Half)
H A Dunstrip.c983 shnum = ehdr.e32.e_shnum;
988 shnum = ehdr.e64.e_shnum;
1816 ehdr->e_shnum = unstripped_shnum;
/external/kernel-headers/original/uapi/linux/
H A Delf.h216 Elf32_Half e_shnum; member in struct:elf32_hdr
233 Elf64_Half e_shnum; member in struct:elf64_hdr
/external/libunwind/src/dwarf/
H A DGfind_proc_info-lsb.c122 sec_hdrs = calloc (ehdr.e_shnum, sizeof (Elf_W (Shdr)));
123 if (fread (sec_hdrs, sizeof (Elf_W (Shdr)), ehdr.e_shnum, f) != ehdr.e_shnum)
133 for (i = 1; i < ehdr.e_shnum && *buf == NULL; i++)
/external/libunwind/src/
H A Delfxx.c43 if (soff + ehdr->e_shnum * ehdr->e_shentsize > ei->size)
46 (unsigned long) (soff + ehdr->e_shnum * ehdr->e_shentsize),
109 for (i = 0; i < ehdr->e_shnum; ++i)
240 for (i = 0; i < ehdr->e_shnum; ++i)
/external/libunwind/src/ia64/
H A DGfind_unwind_table.c67 if (soff + ehdr->e_shnum * ehdr->e_shentsize > edi->ei.size)
70 soff + ehdr->e_shnum * ehdr->e_shentsize,
78 for (i = 0; i < ehdr->e_shnum; ++i)
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c273 ENDIAN_ASSIGN_IN_PLACE(elf->hdr32.e_shnum);
290 ENDIAN_ASSIGN_IN_PLACE(elf->hdr64.e_shnum);
302 if (idx >= elf->hdr32.e_shnum)
318 if (idx >= elf->hdr64.e_shnum)
404 for (i = 0; i < elf.hdr32.e_shnum; i++) {
421 for (i = 0; i < elf.hdr64.e_shnum; i++) {
441 for (i = 0; i < elf.hdr32.e_shnum; i++) {
530 for (i = 0; i < elf.hdr64.e_shnum; i++) {

Completed in 542 milliseconds

12