/external/google-breakpad/src/common/linux/ |
D | file_id.cc | 66 static_assert(sizeof(ElfClass32::Nhdr) == sizeof(ElfClass64::Nhdr), in ElfClassBuildIDNoteIdentifier() 68 typedef typename ElfClass32::Nhdr Nhdr; in ElfClassBuildIDNoteIdentifier() typedef 71 const Nhdr* note_header = reinterpret_cast<const Nhdr*>(section); in ElfClassBuildIDNoteIdentifier() 75 note_header = reinterpret_cast<const Nhdr*>( in ElfClassBuildIDNoteIdentifier() 76 reinterpret_cast<const char*>(note_header) + sizeof(Nhdr) + in ElfClassBuildIDNoteIdentifier() 86 sizeof(Nhdr) + NOTE_PADDING(note_header->n_namesz); in ElfClassBuildIDNoteIdentifier()
|
D | elf_core_dump.cc | 50 const ElfCoreDump::Nhdr* ElfCoreDump::Note::GetHeader() const { in GetHeader() 51 return content_.GetData<Nhdr>(0); in GetHeader() 55 const Nhdr* header = GetHeader(); in GetType() 61 const Nhdr* header = GetHeader(); in GetName() 63 return content_.Subrange(sizeof(Nhdr), header->n_namesz); in GetName() 69 const Nhdr* header = GetHeader(); in GetDescription() 71 return content_.Subrange(AlignedSize(sizeof(Nhdr) + header->n_namesz), in GetDescription() 79 const Nhdr* header = GetHeader(); in GetNextNote() 81 size_t next_offset = AlignedSize(sizeof(Nhdr) + header->n_namesz); in GetNextNote()
|
D | elf_core_dump.h | 51 typedef ElfW(Nhdr) Nhdr; typedef 78 const Nhdr* GetHeader() const;
|
D | elfutils.h | 50 typedef Elf32_Nhdr Nhdr; typedef 68 typedef Elf64_Nhdr Nhdr; typedef
|
/external/llvm-project/llvm/unittests/Object/ |
D | ELFTypesTest.cpp | 27 Elf_Nhdr_Impl<ELFT> *Nhdr = in getElfNote() local 29 Nhdr->n_namesz = (Name == "") ? 0 : Name.size() + 1; in getElfNote() 30 Nhdr->n_descsz = Desc.size(); in getElfNote() 31 Nhdr->n_type = Type; in getElfNote() 33 auto NameOffset = Data.begin() + sizeof(*Nhdr); in getElfNote() 37 NameOffset + alignTo<Elf_Nhdr_Impl<ELFT>::Align>(Nhdr->n_namesz); in getElfNote() 40 return Elf_Note_Impl<ELFT>(*Nhdr); in getElfNote()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | ELFTypes.h | 73 using Nhdr = Elf_Nhdr_Impl<ELFType<E, Is64>>; member 595 const Elf_Nhdr_Impl<ELFT> &Nhdr; 600 Elf_Note_Impl(const Elf_Nhdr_Impl<ELFT> &Nhdr) : Nhdr(Nhdr) {} 604 if (!Nhdr.n_namesz) 606 return StringRef(reinterpret_cast<const char *>(&Nhdr) + sizeof(Nhdr), 607 Nhdr.n_namesz - 1); 612 if (!Nhdr.n_descsz) 615 reinterpret_cast<const uint8_t *>(&Nhdr) + sizeof(Nhdr) + 616 alignTo<Elf_Nhdr_Impl<ELFT>::Align>(Nhdr.n_namesz), 617 Nhdr.n_descsz); [all …]
|
D | ELF.h | 91 using Elf_Nhdr = typename ELFT::Nhdr;
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | ELFTypes.h | 73 using Nhdr = Elf_Nhdr_Impl<ELFType<E, Is64>>; member 594 const Elf_Nhdr_Impl<ELFT> &Nhdr; 599 Elf_Note_Impl(const Elf_Nhdr_Impl<ELFT> &Nhdr) : Nhdr(Nhdr) {} 603 if (!Nhdr.n_namesz) 605 return StringRef(reinterpret_cast<const char *>(&Nhdr) + sizeof(Nhdr), 606 Nhdr.n_namesz - 1); 611 if (!Nhdr.n_descsz) 614 reinterpret_cast<const uint8_t *>(&Nhdr) + sizeof(Nhdr) + 615 alignTo<Elf_Nhdr_Impl<ELFT>::Align>(Nhdr.n_namesz), 616 Nhdr.n_descsz); [all …]
|
D | ELF.h | 109 using Elf_Nhdr = typename ELFT::Nhdr;
|
/external/libchrome/base/debug/ |
D | elf_reader_linux.cc | 26 using Nhdr = Elf32_Nhdr; typedef 33 using Nhdr = Elf64_Nhdr; 42 const Nhdr* note_header = reinterpret_cast<const Nhdr*>(segment.data()); in ElfSegmentBuildIDNoteAsString() 46 note_header = reinterpret_cast<const Nhdr*>( in ElfSegmentBuildIDNoteAsString() 47 reinterpret_cast<const char*>(note_header) + sizeof(Nhdr) + in ElfSegmentBuildIDNoteAsString() 56 sizeof(Nhdr) + bits::Align(note_header->n_namesz, 4); in ElfSegmentBuildIDNoteAsString()
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_globals.cpp | 63 auto *nhdr = reinterpret_cast<const ElfW(Nhdr) *>(note); in HwasanGlobalsFor() 64 const char *name = note + sizeof(ElfW(Nhdr)); in HwasanGlobalsFor()
|
/external/mesa3d/src/util/ |
D | build_id.c | 42 ElfW(Nhdr) nhdr; 91 size_t offset = sizeof(ElfW(Nhdr)) + in build_id_find_nhdr_callback()
|
/external/perfetto/src/profiling/symbolizer/ |
D | local_symbolizer.cc | 172 struct Nhdr { struct 226 struct Nhdr { struct 302 typename E::Nhdr* nhdr = in GetBuildId() 303 reinterpret_cast<typename E::Nhdr*>(static_cast<char*>(mem) + offset); in GetBuildId() 305 if (!InRange(mem, size, nhdr, sizeof(typename E::Nhdr))) { in GetBuildId()
|
/external/google-breakpad/src/tools/linux/md2core/ |
D | minidump-2-core.cc | 66 #define Nhdr ElfW(Nhdr) macro 935 Nhdr nhdr; in WriteThread() 1320 size_t filesz = sizeof(Nhdr) + 8 + sizeof(prpsinfo) + in main() 1322 sizeof(Nhdr) + 8 + crashinfo.auxv_length + in main() 1324 (sizeof(Nhdr) + 8 + sizeof(prstatus)) in main() 1326 + sizeof(Nhdr) + 8 + sizeof(user_fpregs_struct) in main() 1329 + sizeof(Nhdr) + 8 + sizeof(user_fpxregs_struct) in main() 1375 Nhdr nhdr; in main()
|
/external/elfutils/libelf/ |
D | abstract.h | 163 START (Bits, Nhdr, Ext##Nhdr) \ 167 END (Bits, Ext##Nhdr)
|
D | elf_getdata.c | 102 [ELF_T_NHDR] = __alignof__ (ElfW2(Bits,Nhdr)), \
|
/external/llvm-project/lld/ELF/ |
D | InputFiles.cpp | 797 using Elf_Nhdr = typename ELFT::Nhdr; in readAndFeatures()
|
/external/llvm-project/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 34 using Elf_Nhdr = typename ELFT::Nhdr;
|