/frameworks/rs/cpu_ref/linkloader/include/ |
ELFSectionHeader.h | 111 word_t sh_size; member in class:ELFSectionHeader 128 AR & sh_size; local 144 return sh_size; 162 xword_t sh_size; member in class:ELFSectionHeader 179 AR & sh_size; local 195 return sh_size;
|
/external/elfutils/0.153/libelf/ |
gelf_update_shdr.c | 87 || unlikely (src->sh_size > 0xffffffffull) 102 COPY (sh_size);
|
elf_strptr.c | 119 if (unlikely (offset >= strscn->shdr.e32->sh_size)) 135 if (unlikely (offset >= strscn->shdr.e64->sh_size))
|
elf32_offscn.c | 104 if (runp->data[i].shdr.ELFW(e,LIBELFBITS)->sh_size != 0)
|
gelf_getshdr.c | 98 COPY (sh_size);
|
elf32_updatenull.c | 203 update_if_changed (scn0->shdr.ELFW(e,LIBELFBITS)->sh_size, 313 > shdr->sh_size)) 344 ? shdr->sh_size : 0)); 379 update_if_changed (shdr->sh_size, (GElf_Word) offset, 391 && unlikely (shdr->sh_size % shdr->sh_entsize != 0) 409 e_shnum (or sh_size of the dummy, first section header)
|
elf32_getshdr.c | 142 CONVERT_TO (shdr[cnt].sh_size, notcvt[cnt].sh_size); 188 CONVERT (shdr[cnt].sh_size);
|
/art/compiler/ |
elf_stripper.cc | 111 offset += old_sh->sh_size; 117 old_sh->sh_size); 119 offset += old_sh->sh_size;
|
elf_writer_quick.cc | 35 return RoundUp(prev.sh_size + prev.sh_offset, cur.sh_addralign); 409 dynsym_builder_.section_.sh_size = dynsym_builder_.GetSize() * sizeof(Elf32_Sym); 416 dynsym_builder_.strtab_.section_.sh_size = dynstr.size(); 423 hash_builder_.section_.sh_size = hash.size() * sizeof(Elf32_Word); 430 rodata_builder_.section_.sh_size = rodata_builder_.size_; 436 text_builder_.section_.sh_size = text_builder_.size_; 438 CHECK_ALIGNED(rodata_builder_.section_.sh_offset + rodata_builder_.section_.sh_size, kPageSize); 444 dynamic_builder_.section_.sh_size = dynamic_builder_.GetSize() * sizeof(Elf32_Dyn); 454 symtab_builder_.section_.sh_size = symtab_builder_.GetSize() * sizeof(Elf32_Sym); 461 symtab_builder_.strtab_.section_.sh_size = strtab.size() [all...] |
/external/chromium_org/courgette/ |
disassembler_elf_32_x86.cc | 86 size_t section_end = section_header->sh_offset + section_header->sh_size; 91 uint32 section_relocs_count = section_header->sh_size / 121 uint32 end_file_offset = start_file_offset + section_header->sh_size;
|
disassembler_elf_32.cc | 113 uint32 section_end = section_header->sh_offset + section_header->sh_size; 196 Elf32_Off section_end = section_begin + section_header->sh_size; 275 file_offset = section_header->sh_offset + section_header->sh_size; 283 file_offset = section_header->sh_offset + section_header->sh_size; 293 (section_header->sh_offset + section_header->sh_size)) { 304 (section_header->sh_offset + section_header->sh_size)) 331 size_t section_end = section_header->sh_offset + section_header->sh_size; 434 int relocs_table_count = section_header->sh_size / 469 offset < (section_header->sh_offset + section_header->sh_size)) {
|
types_elf.h | 65 Elf32_Word sh_size; member in struct:Elf32_Shdr
|
/frameworks/compile/mclinker/lib/LD/ |
ELFReader.cpp | 349 uint32_t sh_size = 0x0; local 361 sh_size = shdr->sh_size; 365 sh_size = mcld::bswap32(shdr->sh_size); 370 shnum = sh_size; 386 sh_size = shdr->sh_size; 390 sh_size = mcld::bswap32(shdr->sh_size); 870 uint64_t sh_size = 0x0; local [all...] |
/cts/libs/deviceutil/src/android/cts/util/ |
ReadElf.java | 302 long sh_size = readX(mAddrSize); local 307 mShStrTabSize = sh_size; 324 long sh_size = readX(mAddrSize); local 330 mSymTabSize = sh_size; 333 mDynSymSize = sh_size; 339 mStrTabSize = sh_size; 342 mDynStrSize = sh_size;
|
/external/libunwind/src/ |
elfxx.c | 74 if (str_shdr->sh_offset + str_shdr->sh_size > ei->size) 77 (unsigned long) (str_shdr->sh_offset + str_shdr->sh_size), 116 symtab_end = (Elf_W (Sym) *) ((char *) symtab + shdr->sh_size); 244 if (shdr->sh_offset + shdr->sh_size > ei->size) 247 (unsigned long) shdr->sh_offset + shdr->sh_size, 255 compressed_len = shdr->sh_size;
|
/external/elfutils/0.153/libdwfl/ |
dwfl_report_elf.c | 136 end = prev_shdr->sh_addr + prev_shdr->sh_size; 147 end = shdr->sh_addr + shdr->sh_size; 155 if (first || end < shdr->sh_addr + shdr->sh_size) 156 end = shdr->sh_addr + shdr->sh_size;
|
derelocate.c | 141 newref->end = newref->start + shdr->sh_size; 148 && shdr->sh_size != 0 208 if (shdr->sh_size != 0
|
/external/llvm/include/llvm/Object/ |
ELF.h | 374 (const char *)(base() + sec->sh_offset + sec->sh_size)); 384 (const char *)(base() + sec->sh_offset + sec->sh_size)); 437 unsigned vd_size = sec->sh_size; // Size of section in bytes 462 unsigned vn_size = sec->sh_size; // Size of section in bytes 540 if (Sec->sh_offset + Sec->sh_size > Buf.size()) 543 return ArrayRef<uint8_t>(Start, Sec->sh_size); 598 if (strtab[sh->sh_size - 1] != 0) 608 return SectionHeaderTable->sh_size; 679 DynSymRegion.Size = Sec.sh_size; 683 DynStrRegion.Size = DynStr->sh_size; [all...] |
/external/elfutils/0.153/src/ |
elflint.c | 441 /* Get the header of the zeroth section. The sh_size field 448 if (shdr->sh_size == 0) 452 shnum = shdr->sh_size; 458 /* Get the header of the zeroth section. The sh_size field 673 for (size_t cnt = 1; cnt < shdr->sh_size / shdr->sh_entsize; ++cnt) 686 else if (sym->st_name >= strshdr->sh_size) 773 if (sym->st_value - sh_addr > destshdr->sh_size) 791 + sym->st_size) > destshdr->sh_size) 810 if (sym->st_value > destshdr->sh_size) 816 > destshdr->sh_size) [all...] |
unstrip.c | 319 adjust the sh_size field in the debuginfo file's SHT_NOBITS 387 newshdr->sh_size = data->d_size; 409 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) 420 for (size_t i = 0; i < shdr->sh_size / shdr->sh_entsize; ++i) 446 const size_t nsym = symshdr->sh_size / symshdr->sh_entsize; 447 const size_t onent = shdr->sh_size / shdr->sh_entsize; 448 assert (data->d_size == shdr->sh_size); 500 const size_t nent = symshdr->sh_size / symshdr->sh_entsize; 501 const size_t onent = shdr->sh_size / shdr->sh_entsize; 561 const size_t nsym = shdr->sh_size / shdr->sh_entsize [all...] |
size.c | 472 digits - 2, shdr->sh_size, 475 total += shdr->sh_size; 526 printf (fmtstr, shdr->sh_size, 529 total += shdr->sh_size; 573 textsize += shdr->sh_size; 575 bsssize += shdr->sh_size; 577 datasize += shdr->sh_size;
|
/external/qemu/include/hw/ |
elf_ops.h | 37 bswapSZs(&shdr->sh_size); 123 syms = load_at(fd, symtab->sh_offset, symtab->sh_size); 127 nsyms = symtab->sh_size / sizeof(struct elf_sym); 159 str = load_at(fd, strtab->sh_offset, strtab->sh_size);
|
/external/ltrace/ |
ltrace-elf.c | 120 || data->d_off || data->d_size != shdr->sh_size) 156 && addr < shdr->sh_addr + shdr->sh_size; 435 *countp = shdr->sh_size / shdr->sh_entsize; 455 || shdr2.sh_size != data->d_size || data->d_off) { 509 if ((shdr->sh_size % shdr->sh_entsize) != 0) { 512 shdr->sh_size, shdr->sh_entsize); 516 GElf_Xword relplt_count = shdr->sh_size / shdr->sh_entsize; 555 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) { 614 lte->dyn_sz = shdr.sh_size; 624 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) [all...] |
/external/valgrind/main/VEX/switchback/ |
linker.c | 523 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel); 649 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela); 1008 if (debug_linker>1) fprintf(stderr, "size=%4d ", (int)shdr[i].sh_size ); 1012 ehdrC + shdr[i].sh_offset + shdr[i].sh_size - 1); 1056 nent = shdr[i].sh_size / sizeof(Elf_Sym); 1060 (Long)(shdr[i].sh_size % sizeof(Elf_Sym)) 1062 if (0 != shdr[i].sh_size % sizeof(Elf_Sym)) { [all...] |
/external/valgrind/main/VEX/unused/ |
linker.c | 427 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel); 553 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela); 845 if (debug_linker>1) fprintf(stderr, "size=%4d ", (int)shdr[i].sh_size ); 849 ehdrC + shdr[i].sh_offset + shdr[i].sh_size - 1); 893 nent = shdr[i].sh_size / sizeof(Elf_Sym); 897 shdr[i].sh_size % sizeof(Elf_Sym) 899 if (0 != shdr[i].sh_size % sizeof(Elf_Sym)) { 1005 if (is_bss && shdr[i].sh_size > 0) { 1009 char* zspace = calloc(1, shdr[i].sh_size); 1013 zspace, shdr[i].sh_size); [all...] |