/external/elfutils/0.153/libasm/ |
asm_newscn_ingrp.c | 68 GElf_Shdr *shdr = gelf_getshdr (result->data.main.scn, &shdr_mem); local 70 assert (shdr != NULL); 71 shdr->sh_flags |= SHF_GROUP; 73 (void) gelf_update_shdr (result->data.main.scn, shdr);
|
asm_newscn.c | 108 GElf_Shdr *shdr; local 146 shdr = gelf_getshdr (scn, &shdr_mem); 148 shdr->sh_flags = flags; 149 result->type = shdr->sh_type = type; 151 (void) gelf_update_shdr (scn, shdr);
|
disasm_cb.c | 81 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 83 if (shdr == NULL || shdr->sh_type != SHT_SYMTAB 93 int nsyms = shdr->sh_size / shdr->sh_entsize;
|
asm_end.c | 76 GElf_Shdr *shdr; local 142 shdr = gelf_getshdr (strscn, &shdr_mem); 143 if (strtabdata == NULL || shdr == NULL) 152 shdr->sh_type = SHT_STRTAB; 153 assert (shdr->sh_entsize == 0); 155 (void) gelf_update_shdr (strscn, shdr); 160 shdr = gelf_getshdr (symscn, &shdr_mem); 161 if (data == NULL || shdr == NULL) 225 shdr = gelf_getshdr (xndxscn, &shdr_mem); 226 if (xndxdata == NULL || shdr == NULL [all...] |
/external/elfutils/0.153/libelf/ |
gelf_getshdr.c | 82 Elf32_Shdr *shdr local 83 = scn->shdr.e32 ?: __elf32_getshdr_rdlock (scn); 85 if (shdr == NULL) 92 dst->name = shdr->name 108 Elf64_Shdr *shdr local 109 = scn->shdr.e64 ?: __elf64_getshdr_rdlock (scn); 111 if (shdr == NULL) 118 result = memcpy (dst, shdr, sizeof (GElf_Shdr));
|
gelf_update_shdr.c | 75 Elf32_Shdr *shdr local 76 = scn->shdr.e32 ?: __elf32_getshdr_wrlock (scn); 78 if (shdr == NULL) 96 shdr->name = src->name 110 Elf64_Shdr *shdr local 111 = scn->shdr.e64 ?: __elf64_getshdr_wrlock (scn); 113 if (shdr == NULL) 120 (void) memcpy (shdr, src, sizeof (GElf_Shdr));
|
elf32_checksum.c | 121 GElf_Shdr *shdr; local 125 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem); 126 if (shdr == NULL) 133 if (SECTION_STRIP_P (shdr, 134 INTUSE(elf_strptr) (elf, shstrndx, shdr->sh_name), 140 if (shdr->sh_type == SHT_NOBITS)
|
elf_getdata.c | 202 Elf32_Shdr *shdr local 203 = scn->shdr.e32 ?: __elf32_getshdr_wrlock (scn); 205 if (shdr == NULL) 209 offset = shdr->sh_offset; 210 size = shdr->sh_size; 211 type = shdr->sh_type; 212 align = shdr->sh_addralign; 216 Elf64_Shdr *shdr local 217 = scn->shdr.e64 ?: __elf64_getshdr_wrlock (scn); 219 if (shdr == NULL [all...] |
nlist.c | 88 GElf_Shdr *shdr = NULL; local 117 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem); 118 if (shdr == NULL) 122 if (shdr->sh_type == SHT_SYMTAB) 129 if (shdr->sh_type == SHT_DYNSYM) 140 shdr = INTUSE(gelf_getshdr) (symscn, &shdr_mem); 141 /* SHDR->SH_LINK now contains the index of the string section. */ 149 nsyms = (shdr->sh_size 172 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name);
|
/external/elfutils/0.153/libdwfl/ |
dwfl_module_getsym.c | 84 GElf_Shdr *shdr = gelf_getshdr (elf_getscn (mod->symfile->elf, shndx), local 86 alloc = unlikely (shdr == NULL) || (shdr->sh_flags & SHF_ALLOC);
|
dwfl_module_addrsym.c | 80 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 81 if (likely (shdr != NULL) 82 && mod_addr >= shdr->sh_addr 83 && mod_addr < shdr->sh_addr + shdr->sh_size)
|
dwfl_module_build_id.c | 134 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 135 if (likely (shdr != NULL) && shdr->sh_type == SHT_NOTE) 139 if (!(shdr->sh_flags & SHF_ALLOC)) 142 vaddr = dwfl_adjusted_address (mod, shdr->sh_addr);
|
dwfl_report_elf.c | 92 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 93 if (unlikely (shdr == NULL)) 96 if (shdr->sh_flags & SHF_ALLOC) 98 const GElf_Xword align = shdr->sh_addralign ?: 1; 100 if (shdr->sh_addr == 0 106 shdr->sh_addr = next; 110 start = base = shdr->sh_addr; 147 end = shdr->sh_addr + shdr->sh_size; 148 if (likely (shdr->sh_addr != 0 [all...] |
derelocate.c | 112 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 113 if (shdr == NULL) 116 if ((shdr->sh_flags & SHF_ALLOC) && shdr->sh_addr == 0 122 &shdr->sh_addr) != DWFL_E_NOERROR) 124 shdr = gelf_getshdr (scn, &shdr_mem); 125 if (unlikely (shdr == NULL)) 129 if (shdr->sh_flags & SHF_ALLOC) 132 shdr->sh_name); 140 newref->start = dwfl_adjusted_address (mod, shdr->sh_addr) 204 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local [all...] |
/external/chromium_org/media/filters/ |
h264_parser_unittest.cc | 31 media::H264SliceHeader shdr; local 49 ASSERT_EQ(parser.ParseSliceHeader(nalu, &shdr), H264Parser::kOk);
|
/external/libunwind/src/ia64/ |
Gfind_unwind_table.c | 40 Elf64_Shdr *shdr; local 75 shdr = (Elf64_Shdr *) ((char *) edi->ei.image + soff); 80 if (strcmp (strtab + shdr->sh_name, ".opd") == 0 81 && shdr->sh_size >= 16) 83 gp = ((Elf64_Addr *) ((char *) edi->ei.image + shdr->sh_offset))[1]; 86 shdr = (Elf64_Shdr *) (((char *) shdr) + ehdr->e_shentsize);
|
/external/elfutils/0.153/backends/ |
ppc_symbol.c | 92 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 94 if (shdr != NULL && shdr->sh_type == SHT_DYNAMIC && data != NULL) 95 for (unsigned int j = 0; j < shdr->sh_size / shdr->sh_entsize; ++j)
|
/external/elfutils/0.153/libdw/ |
dwarf_begin_elf.c | 94 GElf_Shdr *shdr; local 97 shdr = gelf_getshdr (scn, &shdr_mem); 98 if (shdr == NULL) 106 if (unlikely (shdr->sh_type == SHT_NOBITS)) 114 if (! inscngrp && (shdr->sh_flags & SHF_GROUP) != 0) 122 shdr->sh_name);
|
dwarf_getcfi_elf.c | 231 Elf_Scn *scn, GElf_Shdr *shdr, 240 Dwarf_CFI *cfi = allocate_cfi (elf, shdr->sh_addr); 265 if (unlikely (eh_frame_vaddr != shdr->sh_addr)) 292 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 293 if (shdr == NULL) 295 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); 301 hdr_vaddr = shdr->sh_addr; 304 return getcfi_scn_eh_frame (elf, ehdr, scn, shdr,
|
/external/elfutils/0.153/src/ |
arlib.c | 247 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); local 248 if (shdr == NULL) 251 if (shdr->sh_type != symtype) 258 int nsyms = shdr->sh_size / shdr->sh_entsize; 259 for (int ndx = shdr->sh_info; ndx < nsyms; ++ndx) 271 const char *symname = elf_strptr (elf, shdr->sh_link, sym->st_name);
|
/external/chromium_org/media/formats/mp2t/ |
es_parser_h264.cc | 172 H264SliceHeader shdr; local 173 if (h264_parser_->ParseSliceHeader(nalu, &shdr) != H264Parser::kOk) { 181 pps_id_for_access_unit = shdr.pic_parameter_set_id;
|
/external/ltrace/sysdeps/linux-gnu/arm/ |
plt.c | 64 GElf_Shdr shdr; local 65 if (elf_get_section_type(lte, SHT_ARM_ATTRIBUTES, &scn, &shdr) < 0 66 || (scn != NULL && (data = elf_loaddata(scn, &shdr)) == NULL)) {
|
/external/ltrace/sysdeps/linux-gnu/mips/ |
plt.c | 199 GElf_Shdr shdr; local 209 if (elf_get_section_type(lte, SHT_DYNAMIC, &scn, &shdr) < 0 217 Elf_Data *data = elf_loaddata(scn, &shdr); 222 for (j = 0; j < shdr.sh_size / shdr.sh_entsize; ++j) {
|
/art/compiler/ |
elf_patcher.cc | 281 Elf32_Shdr* shdr = elf_file_->FindSectionByName(".oat_patches"); local 282 if (shdr != nullptr) { 283 CHECK_EQ(shdr, elf_file_->FindSectionByType(SHT_OAT_PATCH)) 285 CHECK_LE(patches_.size() * sizeof(uintptr_t), shdr->sh_size) 287 CHECK_LE(reinterpret_cast<uintptr_t>(elf_file_->Begin()) + shdr->sh_offset + shdr->sh_size, 289 CHECK(shdr == elf_file_->GetSectionHeader(elf_file_->GetSectionHeaderNum() - 1) || 290 shdr->sh_offset + shdr->sh_size <= (shdr + 1)->sh_offset [all...] |
/development/tools/elftree/ |
elftree.c | 172 static int dump_dynamic(struct file_state *f, Elf_Scn *scn, GElf_Shdr *shdr) 185 d.count = shdr->sh_size / shdr->sh_entsize; 208 GElf_Shdr shdr; local 238 scn = find_scn(&f, SHT_STRTAB, NULL, &shdr); 246 while ((scn = find_scn(&f, SHT_DYNAMIC, scn, &shdr))) { 247 dump_dynamic(&f, scn, &shdr);
|