/external/u-boot/tools/ |
D | mips-relocs.c | 199 const char *shstrtab, *sh_name, *rel_pfx; in main() local 296 sh_name = shstr(shdr_field(i, sh_name)); in main() 298 if (!strcmp(sh_name, ".rel")) { in main() 303 if (!strcmp(sh_name, ".text")) { in main() 326 sh_name = shstr(shdr_field(i, sh_name)); in main() 327 if (strncmp(sh_name, rel_pfx, strlen(rel_pfx))) { in main() 328 if (strcmp(sh_name, ".rel") && strcmp(sh_name, ".rel.dyn")) in main() 329 fprintf(stderr, "WARNING: Unexpected reloc section name '%s'\n", sh_name); in main() 341 if (strcmp(&sh_name[strlen(rel_pfx) - 1], shstr(shdr_field(j, sh_name)))) in main()
|
/external/elfutils/tests/ |
D | addsections.c | 142 size_t shstrtab_idx = shdr->sh_name; in add_sections() 143 shdr->sh_name = old_shstrtab_idx; in add_sections() 193 shdr->sh_name = extra_idx; in add_sections() 240 shdr->sh_name = shstrtab_idx; in add_sections()
|
D | update4.c | 296 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (firstse); in main() 297 elf32_getshdr (elf_getscn (elf, 2))->sh_name = dwelf_strent_off (secondse); in main() 298 elf32_getshdr (elf_getscn (elf, 3))->sh_name = dwelf_strent_off (thirdse); in main() 299 elf32_getshdr (elf_getscn (elf, 4))->sh_name = dwelf_strent_off (fourthse); in main() 300 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
|
D | fillfile.c | 94 shdr->sh_name = add_strtab_entry (scn, ".strtab"); in create_strtab() 155 shdr->sh_name = add_strtab_entry (strtab, sname); in add_data_section() 307 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf() 379 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in check_elf()
|
D | asm-tst1.c | 177 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main() 181 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
|
D | asm-tst2.c | 193 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main() 197 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
|
D | asm-tst3.c | 193 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main() 197 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
|
D | emptyfile.c | 175 shdr->sh_name = add_string (scn, ".strtab"); in check_elf() 247 const char *sname = elf_strptr (elf, shstrndx, shdr->sh_name); in check_elf()
|
D | dwflsyms.c | 94 return elf_strptr (elf, ehdr.e_shstrndx, shdr.sh_name); in elf_section_name() 195 shdr->sh_name); in list_syms()
|
D | asm-tst9.c | 227 if (strcmp (elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main() 231 elf_strptr (elf, ehdr->e_shstrndx, shdr->sh_name), in main()
|
D | alldts.c | 216 elf32_getshdr (elf_getscn (elf, 1))->sh_name = dwelf_strent_off (dynscn); in main() 217 shdr->sh_name = dwelf_strent_off (shstrtabse); in main()
|
D | elfstrmerge.c | 274 if (shdr->sh_name != 0 && scnnum != shdrstrndx) in main() 276 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in main() 456 newshdr.sh_name = (shdr->sh_name != 0 in main()
|
/external/google-breakpad/src/common/linux/ |
D | synth_elf_unittest.cc | 242 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST() 253 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST() 317 EXPECT_EQ(0U, shdr[0].sh_name); in TYPED_TEST() 328 EXPECT_EQ(1U, shdr[1].sh_name); in TYPED_TEST() 339 EXPECT_EQ(sizeof("\0.text"), shdr[2].sh_name); in TYPED_TEST() 350 EXPECT_EQ(sizeof("\0.text\0.bss"), shdr[3].sh_name); in TYPED_TEST()
|
/external/elfutils/backends/ |
D | s390_symbol.c | 74 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in s390_check_special_symbol() 85 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in s390_check_special_symbol()
|
D | aarch64_symbol.c | 75 const char *sname = elf_strptr (elf, shstrndx, destshdr->sh_name); in aarch64_check_special_symbol() 86 sname = elf_strptr (elf, shstrndx, shdr->sh_name); in aarch64_check_special_symbol()
|
/external/elfutils/libasm/ |
D | asm_end.c | 309 shdr->sh_name = dwelf_strent_off (shstrscn_strent); in binary_end() 368 shdr->sh_name = dwelf_strent_off (runp->strent); in binary_end() 390 shdr->sh_name = dwelf_strent_off (symscn_strent); in binary_end() 401 shdr->sh_name = dwelf_strent_off (strscn_strent); in binary_end() 413 shdr->sh_name = dwelf_strent_off (xndxscn_strent); in binary_end() 427 shdr->sh_name = dwelf_strent_off (asmscn->data.main.strent); in binary_end()
|
/external/swiftshader/third_party/LLVM/test/Scripts/ |
D | elf-dump | 56 self.sh_name = f.read32() 68 … print " (('sh_name', %s)" % common_dump.HexDump(self.sh_name), "# %r" % shstrtab[self.sh_name[0]] 200 if shstrtab[section.sh_name[0]] == ".strtab":
|
/external/swiftshader/third_party/LLVM/test/MC/ELF/ |
D | entsize.ll | 23 ; 64: (('sh_name', 0x0000004e) # '.rodata.str1.1' 34 ; 64: (('sh_name', 0x00000041) # '.rodata.cst8'
|
/external/swiftshader/third_party/subzero/src/ |
D | IceELFSection.h | 72 void setNameStrIndex(Elf64_Word sh_name) { Header.sh_name = sh_name; } in setNameStrIndex() argument 317 Str.writeELFWord<IsELF64>(Header.sh_name); in writeHeader()
|
/external/elfutils/src/ |
D | elfcompress.c | 470 const char *sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file() 701 sname = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file() 898 name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file() 1026 shdr->sh_name = dwelf_strent_off (scnstrents[shdrstrndx]); in process_file() 1068 shstrtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file() 1141 shdr->sh_name = dwelf_strent_off (scnstrents[ndx]); in process_file() 1209 symtab_name = elf_strptr (elf, shdrstrndx, shdr->sh_name); in process_file()
|
D | objdump.c | 383 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name)); in show_relocs_x() 449 const char *name = elf_strptr (elf, shstrndx, shdr->sh_name); in section_match() 500 elf_strptr (ebl->elf, shstrndx, destshdr->sh_name), in show_relocs() 567 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_full_content() 709 elf_strptr (ebl->elf, shstrndx, shdr->sh_name)); in show_disasm()
|
/external/elfutils/libelf/ |
D | elf32_getshdr.c | 140 CONVERT_TO (shdr[cnt].sh_name, notcvt[cnt].sh_name); in ElfW2() 189 CONVERT (shdr[cnt].sh_name); in ElfW2()
|
/external/perf_data_converter/src/quipper/ |
D | dso_test_utils.cc | 114 section_header.sh_name = string_table.Add(section_name); in WriteElfWithMultipleBuildids() 140 section_header.sh_name = string_table.Add(".shstrtab"); in WriteElfWithMultipleBuildids()
|
D | dso.cc | 44 char *n = elf_strptr(elf, shstrndx, shdr.sh_name); in FindElfSection() 46 LOG(ERROR) << "Couldn't get string: " << shdr.sh_name << " " << shstrndx; in FindElfSection()
|
/external/elfutils/libebl/ |
D | eblsectionstripp.c | 60 shdr_l->sh_name); in ebl_section_strip_p()
|