Home
last modified time | relevance | path

Searched refs:e_phnum (Results 1 – 25 of 57) sorted by relevance

123

/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
Dsymbol-minimal.c117 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id()
120 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id()
129 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) { in filename__read_build_id()
166 ehdr.e_phnum = bswap_16(ehdr.e_phnum); in filename__read_build_id()
169 buf_size = ehdr.e_phentsize * ehdr.e_phnum; in filename__read_build_id()
178 for (i = 0, phdr = buf; i < ehdr.e_phnum; i++, phdr++) { in filename__read_build_id()
/external/elfutils/0.153/libelf/
Dgelf_update_phdr.c105 if (ndx >= elf->state.elf32.ehdr->e_phnum in gelf_update_phdr()
106 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM in gelf_update_phdr()
142 if (ndx >= elf->state.elf64.ehdr->e_phnum in gelf_update_phdr()
143 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM in gelf_update_phdr()
Dgelf_getphdr.c104 if (ndx >= elf->state.elf32.ehdr->e_phnum
105 && (elf->state.elf32.ehdr->e_phnum != PN_XNUM
146 if (ndx >= elf->state.elf64.ehdr->e_phnum
147 && (elf->state.elf64.ehdr->e_phnum != PN_XNUM
Delf32_newphdr.c118 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = 0;
134 else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count
160 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = PN_XNUM;
164 elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum = count;
Delf_getphdrnum.c74 ? elf->state.elf32.ehdr->e_phnum
75 : elf->state.elf64.ehdr->e_phnum);
Dgelf_update_ehdr.c111 COPY (e_phnum); in gelf_update_ehdr()
Dgelf_getehdr.c105 COPY (e_phnum);
/external/valgrind/main/coregrind/m_ume/
Delf.c137 phsz = sizeof(ESZ(Phdr)) * e->e.e_phnum; in readelf()
164 for (i = 0; i < e->e.e_phnum; i++) { in mapelf()
180 for (i = 0; i < e->e.e_phnum; i++) { in mapelf()
349 info->phnum = e->e.e_phnum; in VG_()
354 for (i = 0; i < e->e.e_phnum; i++) { in VG_()
394 for (j = 0; j < interp->e.e_phnum; j++) { in VG_()
/external/chromium_org/components/nacl/loader/nonsfi/
Delf_loader.cc286 if (data->ehdr.e_phnum > Data::MAX_PROGRAM_HEADERS) { in Read()
298 size_t read_size = data->ehdr.e_phnum * data->ehdr.e_phentsize; in Read()
319 ReserveMemory(data_->phdrs, data_->ehdr.e_phnum, &data_->load_bias); in Load()
326 data_->phdrs, data_->ehdr.e_phnum, data_->load_bias, descriptor); in Load()
/external/qemu/include/hw/
Delf_ops.h12 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()
/external/chromium_org/courgette/
Ddisassembler_elf_32.cc70 program_header_table_size_ = header_->e_phnum; in ParseHeader()
72 if ((header_->e_phoff + header_->e_phnum) >= length()) in ParseHeader()
135 (header_->e_phnum * sizeof(Elf32_Phdr)); in DiscoverLength()
Dtypes_elf.h32 Elf32_Half e_phnum; member
/external/kernel-headers/original/uapi/linux/
Delf.h214 Elf32_Half e_phnum; member
231 Elf64_Half e_phnum; member
/external/chromium_org/third_party/libvpx/include/
Delf.h237 Elf32_Half e_phnum; member
257 Elf64_Half e_phnum; member
/external/elfutils/0.153/libdwfl/
Delf-from-memory.c148 phnum = ehdr.e32.e_phnum; in elf_from_remote_memory()
160 phnum = ehdr.e64.e_phnum; in elf_from_remote_memory()
/external/elfutils/0.153/backends/
Dppc_symbol.c83 for (int i = 0; i < ehdr->e_phnum; ++i) in find_dyn_got()
/external/elfutils/0.153/src/
Dunstrip.c261 if (ehdr->e_phnum > 0) in copy_elf()
263 ELF_CHECK (gelf_newphdr (outelf, ehdr->e_phnum), in copy_elf()
267 for (uint_fast16_t i = 0; i < ehdr->e_phnum; ++i) in copy_elf()
980 phnum = ehdr.e32.e_phnum; in find_alloc_sections_prelink()
985 phnum = ehdr.e64.e_phnum; in find_alloc_sections_prelink()
1826 if (stripped_ehdr->e_phnum > 0) in copy_elided_sections()
1827 ELF_CHECK (gelf_newphdr (unstripped, stripped_ehdr->e_phnum), in copy_elided_sections()
1831 for (uint_fast16_t i = 0; i < stripped_ehdr->e_phnum; ++i) in copy_elided_sections()
1870 for (uint_fast16_t i = 0; i < stripped_ehdr->e_phnum; ++i) in handle_file()
1970 || stripped_ehdr.e_phnum != unstripped_ehdr.e_phnum) in handle_explicit_files()
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
Delf_mem_image.cc137 CHECK_LT(index, ehdr_->e_phnum); in ElfW()
232 for (int i = 0; i < ehdr_->e_phnum; ++i) { in Init()
/external/libunwind/src/coredump/
D_UCD_create.c152 unsigned size = ui->phdrs_count = (_64bits ? elf_header64.e_phnum : elf_header32.e_phnum); in _UCD_create()
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
Delf_mem_image.cc137 CHECK_LT(index, ehdr_->e_phnum); in ElfW()
232 for (int i = 0; i < ehdr_->e_phnum; ++i) { in Init()
/external/libunwind/src/ia64/
DGfind_unwind_table.c109 for (i = 0; i < ehdr->e_phnum; ++i) in ia64_find_unwind_table()
/external/lldb/source/Plugins/ObjectFile/ELF/
DObjectFileELF.cpp643 if (m_header.e_phnum == 0) in ParseProgramHeaders()
646 m_program_headers.resize(m_header.e_phnum); in ParseProgramHeaders()
647 if (m_program_headers.size() != m_header.e_phnum) in ParseProgramHeaders()
650 const size_t ph_size = m_header.e_phnum * m_header.e_phentsize; in ParseProgramHeaders()
658 for (idx = 0, offset = 0; idx < m_header.e_phnum; ++idx) in ParseProgramHeaders()
1567 s->Printf("e_phnum = 0x%4.4x\n", header.e_phnum); in DumpELFHeader()
DELFHeader.h71 elf_half e_phnum; ///< Number of program header entries. member
/external/chromium_org/tools/relocation_packer/src/
Delf_file.cc63 VLOG("e_phnum = %u\n", elf_header->e_phnum); in VerboseLogElfHeader()
150 for (size_t i = 0; i < elf_header->e_phnum; ++i) { in Load()
512 elf_header->e_phnum, in ResizeSection()
523 for (size_t i = 0; i < elf_header->e_phnum; ++i) { in ResizeSection()
/external/libunwind/src/dwarf/
DGfind_unwind_table.c69 for (i = 0; i < ehdr->e_phnum; ++i) in dwarf_find_unwind_table()

123