Searched defs:shnum (Results 1 - 11 of 11) sorted by relevance

/external/elfutils/src/libelf/
H A Delf_update.c43 write_file (Elf *elf, off_t size, int change_bo, size_t shnum) argument
82 ? __elf32_updatemmap (elf, change_bo, shnum)
83 : __elf64_updatemmap (elf, change_bo, shnum)) != 0)
91 ? __elf32_updatefile (elf, change_bo, shnum)
92 : __elf64_updatefile (elf, change_bo, shnum)) != 0)
131 size_t shnum; local
163 shnum = (elf->state.elf.scns_last->cnt == 0
171 ? __elf32_updatenull_wrlock (elf, &change_bo, shnum)
172 : __elf64_updatenull_wrlock (elf, &change_bo, shnum));
192 size = write_file (elf, size, change_bo, shnum);
[all...]
/external/elfutils/src/libdwfl/
H A Ddwfl_module_getdwarf.c313 uint_fast16_t shnum; local
320 shnum = ehdr.e32.e_shnum;
328 shnum = ehdr.e64.e_shnum;
333 if (unlikely (shnum >= SHN_LORESERVE)
336 + (shnum - 1) * shentsize)))
406 src.d_size = gelf_fsize (mod->main.elf, ELF_T_SHDR, shnum - 1, EV_CURRENT);
410 Elf32_Shdr s32[shnum - 1];
411 Elf64_Shdr s64[shnum - 1];
470 for (size_t i = 0; i < shnum - 1; ++i)
474 for (size_t i = 0; i < shnum
[all...]
/external/valgrind/VEX/unused/
H A Dlinker.c420 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/src/src/
H A Dnm.c743 size_t shnum; local
744 if (elf_getshdrnum (ebl->elf, &shnum) < 0)
747 bool scnnames_malloced = shnum * sizeof (const char *) > 128 * 1024;
750 scnnames = (const char **) xmalloc (sizeof (const char *) * shnum);
752 scnnames = (const char **) alloca (sizeof (const char *) * shnum);
867 shnum));
H A Dstrip.c565 size_t shnum; local
566 if (unlikely (elf_getshdrnum (elf, &shnum) < 0))
573 if (shstrndx >= shnum)
582 if ((shnum + 2) * sizeof (struct shdr_info) > MAX_STACK_ALLOC)
583 shdr_info = (struct shdr_info *) xcalloc (shnum + 2,
587 shdr_info = (struct shdr_info *) alloca ((shnum + 2)
589 memset (shdr_info, '\0', (shnum + 2) * sizeof (struct shdr_info));
622 if (shdr_info[cnt].old_sh_link >= shnum)
654 if (grpref[inner] < shnum)
701 for (cnt = 1; cnt < shnum;
[all...]
H A Dunstrip.c342 symtab_count_leading_section_symbols (Elf *elf, Elf_Scn *scn, size_t shnum,
348 for (size_t i = 1; i < shnum; ++i)
372 return shnum;
556 Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum)
558 const size_t added = shnum - old_shnum;
594 for (size_t i = old_shnum; i < shnum; ++i)
635 size_t shnum, size_t shstrndx,
643 return add_new_section_symbols (oscn, n, elf, rel, scn, shnum);
982 uint_fast16_t shnum;
986 shnum
341 symtab_count_leading_section_symbols(Elf *elf, Elf_Scn *scn, size_t shnum, Elf_Data *newsymdata) argument
554 add_new_section_symbols(Elf_Scn *old_symscn, size_t old_shnum, Elf *elf, bool rel, Elf_Scn *symscn, size_t shnum) argument
633 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
980 uint_fast16_t shnum; local
[all...]
H A Delflint.c127 static unsigned int shnum; variable
320 if ((unsigned int) idx > shnum)
428 shnum = ehdr->e_shnum;
453 shnum = shdr->sh_size;
463 if (shdr != NULL && shdr->sh_link < shnum)
466 else if (shstrndx >= shnum)
508 else if (ehdr->e_shoff + shnum * ehdr->e_shentsize > size)
542 for (cnt = idx + 1; cnt < shnum; ++cnt)
569 if (cnt == shnum)
613 for (size_t cnt = 1; cnt < shnum;
[all...]
H A Dldgeneric.c647 size_t shnum; local
649 if (elf_getshdrnum (fileinfo->elf, &shnum) < 0)
655 if (shndx < SHN_LORESERVE || (shndx > SHN_HIRESERVE && shndx < shnum))
662 NULL, shnum);
686 buf, sizeof (buf), NULL, shnum);
1611 size_t shnum; local
1612 assert (elf_getshdrnum (fileinfo->elf, &shnum) == 0);
1613 assert (shndx < shnum);
H A Dreadelf.c233 static size_t shnum; variable
827 if (unlikely (elf_getshdrnum (ebl->elf, &shnum) < 0))
1094 for (cnt = 0; cnt < shnum; ++cnt)
1264 for (size_t inner = 1; inner < shnum; ++inner)
2263 sizeof (scnbuf), NULL, shnum),
9267 if (shnum != 0)
/external/valgrind/perf/
H A Dtinycc.c19219 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 Dsqlite-jdbc-3.7.2.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/org. ...

Completed in 277 milliseconds