Searched refs:sh_entsize (Results 1 - 25 of 47) sorted by relevance

12

/external/elfutils/libelf/
H A Delf32_updatenull.c220 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize;
223 /* Set the sh_entsize value if we can reliably detect it. */
227 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYM, 1);
230 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_RELA, 1);
241 sh_entsize = elf_typesize (32, ELF_T_WORD, 1);
244 sh_entsize = SH_ENTSIZE_HASH (ehdr);
247 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_DYN, 1);
250 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_REL, 1);
253 sh_entsize
[all...]
H A Dgelf_update_shdr.c89 || unlikely (src->sh_entsize > 0xffffffffull))
106 COPY (sh_entsize);
H A Dgelf_getshdr.c102 COPY (sh_entsize);
H A Delf32_getshdr.c147 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize);
192 CONVERT (shdr[cnt].sh_entsize);
/external/elfutils/backends/
H A Dalpha_symbol.c102 && scn_shdr.sh_entsize != 0)
107 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
H A Dsparc_symbol.c90 && scn_shdr.sh_entsize != 0)
94 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
H A Dppc_symbol.c95 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
/external/elfutils/tests/
H A Dupdate4.c144 shdr->sh_entsize = 1;
180 shdr->sh_entsize = 1;
216 shdr->sh_entsize = 1;
252 shdr->sh_entsize = 1;
289 shdr->sh_entsize = 1;
H A Dasm-tst1.c246 if (shdr->sh_entsize != 0)
H A Dasm-tst2.c268 if (shdr->sh_entsize != 0)
H A Dsectiondump.c120 shdr->sh_entsize);
H A Dupdate3.c140 shdr->sh_entsize = 0;
/external/chromium_org/courgette/
H A Dtypes_elf.h69 Elf32_Word sh_entsize; member in struct:Elf32_Shdr
H A Ddisassembler_elf_32_x86.cc92 section_header->sh_entsize;
/external/elfutils/src/
H A Delflint.c616 if (shdr->sh_entsize != gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT))
654 for (size_t cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt)
1012 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt)
1030 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize)
1042 inner < shdr->sh_size / shdr->sh_entsize;
1082 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize)
1094 inner < shdr->sh_size / shdr->sh_entsize;
1190 if (shdr->sh_entsize != gelf_fsize (ebl->elf, reltype, 1, EV_CURRENT))
1226 for (size_t j = 0; j < dynshdr->sh_size / dynshdr->sh_entsize; ++j)
1413 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
[all...]
H A Delfcmp.c269 || shdr1->sh_entsize != shdr2->sh_entsize)
290 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize);
369 && hash_content_equivalent (shdr1->sh_entsize, data1, data2))
614 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
628 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
H A Dfindtextrel.c281 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
420 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
443 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
536 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize;
H A Dunstrip.c403 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
414 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
441 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize;
442 const size_t onent = shdr->sh_size / shdr->sh_entsize;
473 switch (shdr->sh_entsize)
495 const size_t nent = symshdr->sh_size / symshdr->sh_entsize;
496 const size_t onent = shdr->sh_size / shdr->sh_entsize;
512 data->d_size = nent * shdr->sh_entsize;
556 const size_t nsym = shdr->sh_size / shdr->sh_entsize;
560 shdr->sh_size += added * shdr->sh_entsize;
[all...]
/external/elfutils/libasm/
H A Ddisasm_cb.c93 int nsyms = shdr->sh_size / shdr->sh_entsize;
H A Dasm_end.c153 assert (shdr->sh_entsize == 0);
234 shdr->sh_entsize = sizeof (Elf32_Word);
278 shdr->sh_entsize = gelf_fsize (ctx->out.elf, ELF_T_SYM, 1, EV_CURRENT);
304 assert (shdr->sh_entsize == 0);
/external/qemu/elff/
H A Delff_elf.h238 Elf_Word sh_entsize; member in struct:Elf_SHdr
/external/grub/stage2/
H A Di386-elf.h114 Elf32_Word sh_entsize; /* Entry size if section holds table */ member in struct:__anon17854
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c300 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_entsize);
316 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_entsize);
431 ofst += shdr.sh_entsize) {
513 ofst += shdr.sh_entsize) {
/external/llvm/include/llvm/Object/
H A DELF.h144 Elf_Word sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
159 Elf_Xword sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
164 using Elf_Shdr_Base<ELFT>::sh_entsize;
169 if (sh_entsize == 0)
171 return sh_size / sh_entsize;
761 return Elf_Sym_iterator(DynSymtab->sh_entsize,
769 return Elf_Sym_iterator(DynSymtab->sh_entsize, (const char *)base() +
775 return Elf_Rela_Iter(sec->sh_entsize,
780 return Elf_Rela_Iter(sec->sh_entsize, (const char *)
785 return Elf_Rel_Iter(sec->sh_entsize,
[all...]
/external/chromium_org/base/third_party/symbolize/
H A Dsymbolize.cc272 const int num_symbols = symtab->sh_size / symtab->sh_entsize;
274 off_t offset = symtab->sh_offset + i * symtab->sh_entsize;

Completed in 300 milliseconds

12