/external/elfutils/libelf/ |
H A D | elf32_updatenull.c | 215 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 D | gelf_update_shdr.c | 68 || unlikely (src->sh_entsize > 0xffffffffull)) 85 COPY (sh_entsize);
|
H A D | gelf_getshdr.c | 79 COPY (sh_entsize);
|
H A D | elf32_getshdr.c | 150 CONVERT_TO (shdr[cnt].sh_entsize, notcvt[cnt].sh_entsize); 198 CONVERT (shdr[cnt].sh_entsize);
|
/external/elfutils/backends/ |
H A D | alpha_symbol.c | 106 && scn_shdr.sh_entsize != 0) 111 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
|
H A D | sparc_symbol.c | 93 && scn_shdr.sh_entsize != 0) 97 for (size_t i = 0; i < data->d_size / scn_shdr.sh_entsize; ++i)
|
H A D | ppc_symbol.c | 102 && shdr->sh_entsize != 0) 103 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
H A D | elf-dump | 65 self.sh_entsize = f.readWord() 77 print " ('sh_entsize', %s)" % common_dump.HexDump(self.sh_entsize) 96 entries = section.sh_size[0] // section.sh_entsize[0] 99 f.seek(section.sh_offset[0] + index * section.sh_entsize[0]) 119 entries = section.sh_size[0] // section.sh_entsize[0] 122 f.seek(section.sh_offset[0] + index * section.sh_entsize[0])
|
/external/elfutils/tests/ |
H A D | update4.c | 136 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 D | asm-tst1.c | 238 if (shdr->sh_entsize != 0)
|
/external/llvm/tools/yaml2obj/ |
H A D | yaml2elf.cpp | 249 SHeader.sh_entsize = 0; 271 SHeader.sh_entsize = sizeof(Elf_Sym); 352 SHeader.sh_entsize = 0; 372 SHeader.sh_entsize = IsRela ? sizeof(Elf_Rela) : sizeof(Elf_Rel); 373 SHeader.sh_size = SHeader.sh_entsize * Section.Relocations.size(); 410 SHeader.sh_entsize = sizeof(Elf_Word); 411 SHeader.sh_size = SHeader.sh_entsize * Section.Members.size(); 441 SHeader.sh_entsize = sizeof(Flags); 442 SHeader.sh_size = SHeader.sh_entsize;
|
/external/elfutils/src/ |
H A D | elflint.c | 639 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_SYM, 1, EV_CURRENT); local 640 if (shdr->sh_entsize != sh_entsize) 678 for (size_t cnt = 1; cnt < shdr->sh_size / sh_entsize; ++cnt) 1077 if (rcshdr->sh_type == SHT_DYNAMIC && rcshdr->sh_entsize != 0) 1088 for (cnt = 1; cnt < rcshdr->sh_size / rcshdr->sh_entsize; ++cnt) 1108 if (shdr->sh_entsize != 0 1110 / shdr->sh_entsize)) 1120 if (reldata != NULL && shdr->sh_entsize != 0) 1122 inner < shdr->sh_size / shdr->sh_entsize; 1271 size_t sh_entsize = gelf_fsize (ebl->elf, reltype, 1, EV_CURRENT); local 1495 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); local 1546 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); local 1653 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_DYN, 1, EV_CURRENT); local [all...] |
H A D | findtextrel.c | 283 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; 551 for (int i = 0; (size_t) i < shdr->sh_size / shdr->sh_entsize;
|
H A D | elfcmp.c | 314 || shdr1->sh_entsize != shdr2->sh_entsize) 337 if (shdr1->sh_entsize == 0) 339 gettext ("symbol table [%zu] in '%s' has zero sh_entsize"), 344 for (int ndx = 0; ndx < (int) (shdr1->sh_size / shdr1->sh_entsize); 521 && hash_content_equivalent (shdr1->sh_entsize, data1, data2)) 772 if (shdr->sh_type == SHT_REL && shdr->sh_entsize != 0) 773 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize); 786 else if (shdr->sh_entsize != 0) 787 for (int ndx = 0; ndx < (int) (shdr->sh_size / shdr->sh_entsize); [all...] |
H A D | unstrip.c | 443 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) 454 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) 480 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; 481 const size_t onent = shdr->sh_size / shdr->sh_entsize; 513 switch (shdr->sh_entsize) 535 const size_t nent = symshdr->sh_size / symshdr->sh_entsize; 536 const size_t onent = shdr->sh_size / shdr->sh_entsize; 553 data->d_size = nent * shdr->sh_entsize; 597 const size_t nsym = shdr->sh_size / shdr->sh_entsize; 601 shdr->sh_size += added * shdr->sh_entsize; [all...] |
H A D | objdump.c | 417 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_REL, 1, EV_CURRENT); local 418 int nentries = shdr->sh_size / sh_entsize; 438 size_t sh_entsize = gelf_fsize (ebl->elf, ELF_T_RELA, 1, EV_CURRENT); local 439 int nentries = shdr->sh_size / sh_entsize;
|
/external/syslinux/com32/include/sys/ |
H A D | elf32.h | 103 Elf32_Word sh_entsize; member in struct:elf32_shdr
|
H A D | elf64.h | 103 Elf64_Xword sh_entsize; member in struct:elf64_shdr
|
/external/google-breakpad/src/common/linux/ |
H A D | synth_elf_unittest.cc | 251 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/elfutils/libasm/ |
H A D | disasm_cb.c | 96 int nsyms = shdr->sh_size / shdr->sh_entsize;
|
H A D | asm_end.c | 156 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/mesa3d/src/amd/common/ |
H A D | ac_binary.c | 49 symbol_table_header->sh_size / symbol_table_header->sh_entsize; 170 section_header.sh_entsize;
|
/external/mesa3d/src/gallium/drivers/radeon/ |
H A D | radeon_elf_util.c | 43 symbol_table_header->sh_size / symbol_table_header->sh_entsize; 164 section_header.sh_entsize;
|
/external/llvm/include/llvm/Object/ |
H A D | ELFTypes.h | 157 Elf_Word sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base 172 Elf_Xword sh_entsize; // Size of records contained within the section member in struct:llvm::object::Elf_Shdr_Base 177 using Elf_Shdr_Base<ELFT>::sh_entsize; 182 if (sh_entsize == 0) 184 return sh_size / sh_entsize;
|
/external/swiftshader/third_party/subzero/src/ |
H A D | IceELFSection.h | 55 Header.sh_entsize = ShEntsize; 191 return (LocalSymbols.size() + GlobalSymbols.size()) * Header.sh_entsize; 326 Str.writeELFXword<IsELF64>(Header.sh_entsize);
|