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

12

/external/elfutils/src/libelf/
H A Delf32_updatenull.c203 ElfW2(LIBELFBITS,Word) sh_entsize = shdr->sh_entsize;
206 /* Set the sh_entsize value if we can reliably detect it. */
210 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_SYM, 1);
213 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_RELA, 1);
224 sh_entsize = elf_typesize (32, ELF_T_WORD, 1);
227 sh_entsize = SH_ENTSIZE_HASH (ehdr);
230 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_DYN, 1);
233 sh_entsize = elf_typesize (LIBELFBITS, ELF_T_REL, 1);
236 sh_entsize
[all...]
H A Dgelf_update_shdr.c68 || unlikely (src->sh_entsize > 0xffffffffull))
85 COPY (sh_entsize);
H A Dgelf_getshdr.c81 COPY (sh_entsize);
H A Delf32_getshdr.c140 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize);
185 CONVERT (shdr[cnt].sh_entsize);
/external/elfutils/src/backends/
H A Dalpha_symbol.c106 && scn_shdr.sh_entsize != 0)
111 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
H A Dsparc_symbol.c93 && scn_shdr.sh_entsize != 0)
97 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
H A Dppc_symbol.c102 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
/external/elfutils/src/tests/
H A Dupdate4.c136 shdr->sh_entsize = 1;
172 shdr->sh_entsize = 1;
208 shdr->sh_entsize = 1;
244 shdr->sh_entsize = 1;
281 shdr->sh_entsize = 1;
H A Dasm-tst1.c238 if (shdr->sh_entsize != 0)
H A Dasm-tst2.c260 if (shdr->sh_entsize != 0)
H A Dsectiondump.c112 shdr->sh_entsize);
H A Dupdate3.c133 shdr->sh_entsize = 0;
/external/elfutils/src/src/
H A Delflint.c636 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT); local
637 if (shdr->sh_entsize != sh_entsize)
675 for (size_t cnt = 1; cnt < shdr->sh_size / sh_entsize; ++cnt)
1064 if (rcshdr->sh_type == SHT_DYNAMIC && rcshdr->sh_entsize)
1070 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt)
1090 if (shdr->sh_entsize != 0
1092 / shdr->sh_entsize))
1104 inner < shdr->sh_size / shdr->sh_entsize;
1144 if (dyn->d_un.d_val > shdr->sh_size / shdr->sh_entsize)
1251 size_t sh_entsize = gelf_fsize (ebl->elf, reltype, 1, EV_CURRENT); local
1475 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); local
1526 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); local
1626 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT); local
[all...]
H A Dfindtextrel.c283 for (size_t cnt = 0; cnt < shdr->sh_size / shdr->sh_entsize;
434 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
457 (size_t) cnt < shdr->sh_size / shdr->sh_entsize;
550 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize;
H A Dunstrip.c412 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
423 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i)
449 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize;
450 const size_t onent = shdr->sh_size / shdr->sh_entsize;
481 switch (shdr->sh_entsize)
503 const size_t nent = symshdr->sh_size / symshdr->sh_entsize;
504 const size_t onent = shdr->sh_size / shdr->sh_entsize;
520 data->d_size = nent * shdr->sh_entsize;
564 const size_t nsym = shdr->sh_size / shdr->sh_entsize;
568 shdr->sh_size += added * shdr->sh_entsize;
[all...]
H A Delfcmp.c313 || shdr1->sh_entsize != shdr2->sh_entsize)
338 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize);
514 && hash_content_equivalent (shdr1->sh_entsize, data1, data2))
764 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
778 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize);
/external/llvm/include/llvm/Object/
H A DELF.h367 return Elf_Rela_Iter(sec->sh_entsize,
373 sec->sh_entsize,
378 return Elf_Rel_Iter(sec->sh_entsize,
383 return Elf_Rel_Iter(sec->sh_entsize,
680 DynSymRegion.EntSize = Sec.sh_entsize;
684 DynStrRegion.EntSize = DynStr->sh_entsize;
693 DynamicRegion.EntSize = Sec.sh_entsize;
757 assert(SymOffset % dot_symtab_sec->sh_entsize == 0 &&
759 return SymOffset / dot_symtab_sec->sh_entsize;
779 return Elf_Sym_Iter(dot_symtab_sec->sh_entsize,
[all...]
H A DELFTypes.h121 Elf_Word sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
136 Elf_Xword sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base
141 using Elf_Shdr_Base<ELFT>::sh_entsize;
146 if (sh_entsize == 0)
148 return sh_size / sh_entsize;
/external/google-breakpad/src/common/linux/
H A Dsynth_elf_unittest.cc251 EXPECT_EQ(0U, shdr[0].sh_entsize);
262 EXPECT_EQ(0U, shdr[1].sh_entsize);
326 EXPECT_EQ(0U, shdr[0].sh_entsize);
337 EXPECT_EQ(0U, shdr[1].sh_entsize);
348 EXPECT_EQ(0U, shdr[2].sh_entsize);
359 EXPECT_EQ(0U, shdr[3].sh_entsize);
/external/llvm/tools/yaml2obj/
H A Dyaml2elf.cpp255 SHeader.sh_entsize = sizeof(Elf_Sym);
332 SHeader.sh_entsize = 0;
354 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel);
355 SHeader.sh_size = SHeader.sh_entsize * Section.Relocations.size();
395 SHeader.sh_entsize = sizeof(Elf_Word);
396 SHeader.sh_size = SHeader.sh_entsize * Section.Members.size();
/external/elfutils/src/libasm/
H A Ddisasm_cb.c96 int nsyms = shdr->sh_size / shdr->sh_entsize;
H A Dasm_end.c156 assert (shdr->sh_entsize == 0);
237 shdr->sh_entsize = sizeof (Elf32_Word);
281 shdr->sh_entsize = gelf_fsize (ctx->out.elf, ELF_T_SYM, 1, EV_CURRENT);
307 assert (shdr->sh_entsize == 0);
/external/libvpx/libvpx/build/make/
H A Dobj_int_extract.c316 ENDIAN_ASSIGN_IN_PLACE(hdr32->sh_entsize);
332 ENDIAN_ASSIGN_IN_PLACE(hdr64->sh_entsize);
447 ofst += shdr.sh_entsize) {
536 ofst += shdr.sh_entsize) {
/external/lldb/source/Plugins/ObjectFile/ELF/
H A DELFHeader.h164 elf_xword sh_entsize; ///< Byte size of each section entry. member in struct:elf::ELFSectionHeader
/external/kernel-headers/original/uapi/linux/
H A Delf.h309 Elf32_Word sh_entsize; member in struct:elf32_shdr
322 Elf64_Xword sh_entsize; /* Entry size if section holds table */ member in struct:elf64_shdr

Completed in 373 milliseconds

12