/external/elfutils/0.153/libelf/ |
H A D | elf_update.c | 64 write_file (Elf *elf, off_t size, int change_bo, size_t shnum) argument 107 ? __elf32_updatemmap (elf, change_bo, shnum) 108 : __elf64_updatemmap (elf, change_bo, shnum)) != 0) 116 ? __elf32_updatefile (elf, change_bo, shnum) 117 : __elf64_updatefile (elf, change_bo, shnum)) != 0) 156 size_t shnum; local 188 shnum = (elf->state.elf.scns_last->cnt == 0 196 ? __elf32_updatenull_wrlock (elf, &change_bo, shnum) 197 : __elf64_updatenull_wrlock (elf, &change_bo, shnum)); 217 size = write_file (elf, size, change_bo, shnum); [all...] |
/external/elfutils/0.153/libdwfl/ |
H A D | dwfl_module_getdwarf.c | 368 uint_fast16_t shnum; local 375 shnum = ehdr.e32.e_shnum; 383 shnum = ehdr.e64.e_shnum; 388 if (unlikely (shnum >= SHN_LORESERVE) 391 + (shnum - 1) * shentsize))) 461 src.d_size = gelf_fsize (mod->main.elf, ELF_T_SHDR, shnum - 1, EV_CURRENT); 465 Elf32_Shdr s32[shnum - 1]; 466 Elf64_Shdr s64[shnum - 1]; 525 for (size_t i = 0; i < shnum - 1; ++i) 529 for (size_t i = 0; i < shnum [all...] |
/external/valgrind/main/VEX/unused/ |
H A D | linker.c | 420 Elf_Shdr* shdr, int shnum, 426 Elf_Rel* rtab = (Elf_Rel*) (ehdrC + shdr[shnum].sh_offset); 427 int nent = shdr[shnum].sh_size / sizeof(Elf_Rel); 428 int target_shndx = shdr[shnum].sh_info; 429 int symtab_shndx = shdr[shnum].sh_link; 546 Elf_Shdr* shdr, int shnum, 552 Elf_Rela* rtab = (Elf_Rela*) (ehdrC + shdr[shnum].sh_offset); 553 int nent = shdr[shnum].sh_size / sizeof(Elf_Rela); 554 int target_shndx = shdr[shnum].sh_info; 555 int symtab_shndx = shdr[shnum] 419 do_Elf_Rel_relocations( ObjectCode* oc, char* ehdrC, Elf_Shdr* shdr, int shnum, Elf_Sym* stab, char* strtab ) argument 545 do_Elf_Rela_relocations( ObjectCode* oc, char* ehdrC, Elf_Shdr* shdr, int shnum, Elf_Sym* stab, char* strtab ) argument 711 int shnum, ok; local [all...] |
/external/elfutils/0.153/src/ |
H A D | nm.c | 751 size_t shnum; local 752 if (elf_getshdrnum (ebl->elf, &shnum) < 0) 755 bool scnnames_malloced = shnum * sizeof (const char *) > 128 * 1024; 758 scnnames = (const char **) xmalloc (sizeof (const char *) * shnum); 760 scnnames = (const char **) alloca (sizeof (const char *) * shnum); 876 shnum));
|
H A D | strip.c | 567 size_t shnum; local 568 if (unlikely (elf_getshdrnum (elf, &shnum) < 0)) 579 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC) 580 shdr_info = (struct shdr_info *) xcalloc (shnum + 2, 584 shdr_info = (struct shdr_info *) alloca ((shnum + 2) 586 memset (shdr_info, '\0', (shnum + 2) * sizeof (struct shdr_info)); 690 for (cnt = 1; cnt < shnum; ++cnt) 736 for (cnt = 1; cnt < shnum; ++cnt) 818 if (scnidx == SHN_UNDEF || scnidx >= shnum 908 for (cnt = 1; cnt < shnum; [all...] |
H A D | unstrip.c | 339 symtab_count_leading_section_symbols (Elf *elf, Elf_Scn *scn, size_t shnum, 345 for (size_t i = 1; i < shnum; ++i) 369 return shnum; 553 Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum) 555 const size_t added = shnum - old_shnum; 591 for (size_t i = old_shnum; i < shnum; ++i) 632 size_t shnum, size_t shstrndx, 640 return add_new_section_symbols (oscn, n, elf, rel, scn, shnum); 979 uint_fast16_t shnum; 983 shnum 338 symtab_count_leading_section_symbols(Elf *elf, Elf_Scn *scn, size_t shnum, Elf_Data *newsymdata) argument 551 add_new_section_symbols(Elf_Scn *old_symscn, size_t old_shnum, Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum) argument 630 check_symtab_section_symbols(Elf *elf, bool rel, Elf_Scn *scn, size_t shnum, size_t shstrndx, Elf_Scn *oscn, size_t oshnum, size_t oshstrndx, size_t debuglink) argument 977 uint_fast16_t shnum; local [all...] |
H A D | elflint.c | 348 static unsigned int shnum; variable 427 shnum = ehdr->e_shnum; 452 shnum = shdr->sh_size; 462 if (shdr != NULL && shdr->sh_link < shnum) 465 else if (shstrndx >= shnum) 507 else if (ehdr->e_shoff + shnum * ehdr->e_shentsize > size) 541 for (cnt = idx + 1; cnt < shnum; ++cnt) 568 if (cnt == shnum) 612 for (size_t cnt = 1; cnt < shnum; ++cnt) 716 || (sym->st_shndx >= shnum [all...] |
H A D | ldgeneric.c | 655 size_t shnum; local 657 if (elf_getshdrnum (fileinfo->elf, &shnum) < 0) 663 if (shndx < SHN_LORESERVE || (shndx > SHN_HIRESERVE && shndx < shnum)) 670 NULL, shnum); 694 buf, sizeof (buf), NULL, shnum); 1619 size_t shnum; local 1620 assert (elf_getshdrnum (fileinfo->elf, &shnum) == 0); 1621 assert (shndx < shnum);
|
H A D | readelf.c | 216 static size_t shnum; variable 640 if (unlikely (elf_getshdrnum (ebl->elf, &shnum) < 0)) 907 for (cnt = 0; cnt < shnum; ++cnt) 1060 for (size_t inner = 1; inner < shnum; ++inner) 2024 sizeof (scnbuf), NULL, shnum), 8206 if (shnum != 0)
|
/external/valgrind/main/perf/ |
H A D | tinycc.c | 19219 int shnum, i, phnum, file_offset, offset, size, j, tmp, sh_order_index, k; 19414 shnum = s1->nb_sections; 19417 section_order = tcc_malloc(sizeof(int) * shnum); 19785 ehdr.e_shnum = shnum; 19786 ehdr.e_shstrndx = shnum - 1; 19217 int shnum, i, phnum, file_offset, offset, size, j, tmp, sh_order_index, k; local
|
/external/robolectric/lib/main/ |
H A D | sqlite-jdbc-3.7.2.jar | META-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org. ... |