Home
last modified time | relevance | path

Searched refs:n_namesz (Results 1 – 25 of 26) sorted by relevance

12

/external/linux-tools-perf/src/tools/perf/util/
Dsymbol-minimal.c32 u32 n_namesz; in read_build_id() member
45 nhdr->n_namesz = bswap_32(nhdr->n_namesz); in read_build_id()
50 namesz = NOTE_ALIGN(nhdr->n_namesz); in read_build_id()
57 nhdr->n_namesz == sizeof("GNU")) { in read_build_id()
Dsymbol-elf.c371 size_t namesz = NOTE_ALIGN(nhdr->n_namesz), in elf_read_build_id()
379 nhdr->n_namesz == sizeof("GNU")) { in elf_read_build_id()
441 namesz = NOTE_ALIGN(nhdr.n_namesz); in sysfs__read_build_id()
444 nhdr.n_namesz == sizeof("GNU")) { in sysfs__read_build_id()
/external/google-breakpad/src/common/android/include/
Delf.h64 Elf32_Word n_namesz; member
70 Elf64_Word n_namesz; member
/external/google-breakpad/src/common/linux/
Delf_core_dump.cc63 return content_.Subrange(sizeof(Nhdr), header->n_namesz); in GetName()
71 return content_.Subrange(AlignedSize(sizeof(Nhdr) + header->n_namesz), in GetDescription()
81 size_t next_offset = AlignedSize(sizeof(Nhdr) + header->n_namesz); in GetNextNote()
Dfile_id.cc71 NOTE_PADDING(note_header->n_namesz) + in ElfClassBuildIDNoteIdentifier()
80 sizeof(Nhdr) + NOTE_PADDING(note_header->n_namesz); in ElfClassBuildIDNoteIdentifier()
Dsynth_elf.cc248 note_header.n_namesz = name.length() + 1; in AddNote()
/external/elfutils/src/backends/
Dlinux-core-note.c202 switch (nhdr->n_namesz)
205 if (memcmp (name, "CORE", nhdr->n_namesz) == 0)
210 if (memcmp (name, "CORE", nhdr->n_namesz) == 0)
216 if (memcmp (name, "LINUX", nhdr->n_namesz) == 0)
/external/elfutils/src/libelf/
Dgelf_getnote.c77 GElf_Word namesz = NOTE_ALIGN (n->n_namesz);
82 || (namesz == 0 && n->n_namesz != 0)))
Dnote_xlate.h39 Elf32_Word namesz = NOTE_ALIGN (n->n_namesz); in elf_cvt_note()
Dabstract.h164 TYPE_NAME (ElfW2(Bits, Ext##Word), n_namesz) \
Delf.h1040 Elf32_Word n_namesz; /* Length of the note's name. */ member
1047 Elf64_Word n_namesz; /* Length of the note's name. */ member
/external/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.cpp377 elf::elf_word n_namesz; member
383 ELFNote() : n_namesz(0), n_descsz(0), n_type(0) in ELFNote()
403 if (data.GetU32(offset, &n_namesz, 3) == NULL) in Parse()
411 if (n_namesz == 4) in Parse()
424 const char *cstr = data.GetCStr(offset, AlignToNext(n_namesz, 4)); in Parse()
/external/kernel-headers/original/uapi/linux/
Delf.h407 Elf32_Word n_namesz; /* Name size */ member
414 Elf64_Word n_namesz; /* Name size */ member
/external/elfutils/src/src/
Delfcmp.c436 if (note1.n_namesz != note2.n_namesz in main()
437 || memcmp (name1, name2, note1.n_namesz)) in main()
457 && note1.n_namesz == sizeof "GNU" in main()
Dreadelf.c9209 (int) nhdr.n_namesz, name, nhdr.n_descsz, in handle_notes_data()
9217 if (memchr (name, '\0', nhdr.n_namesz) != NULL in handle_notes_data()
9224 && (nhdr.n_namesz == 4 /* Broken old Linux kernels. */ in handle_notes_data()
9225 || (nhdr.n_namesz == 5 && name[4] == '\0')) in handle_notes_data()
9229 else if (nhdr.n_namesz == 5 && strcmp (name, "CORE") == 0) in handle_notes_data()
Delflint.c4045 if (nhdr.n_namesz == sizeof "Linux" in check_note_data()
Dldgeneric.c4207 hdr->n_namesz = sizeof (ELF_NOTE_GNU); in compute_build_id()
/external/libunwind/src/coredump/
D_UCD_create.c69 #define NOTE_DATA(_hdr) STRUCT_MEMBER_P((_hdr), sizeof (Elf32_Nhdr) + UNW_ALIGN((_hdr)->n_namesz, 4…
70 #define NOTE_SIZE(_hdr) (sizeof (Elf32_Nhdr) + UNW_ALIGN((_hdr)->n_namesz, 4) + (_hdr)->n_descsz)
/external/elfutils/src/libdwelf/
Ddwelf_elf_gnu_build_id.c53 && nhdr.n_namesz == sizeof "GNU" && !memcmp (data->d_buf + name_pos, in find_elf_build_id()
/external/elfutils/src/libdwfl/
Dlinux-kernel-modules.c525 p += (nhdr->n_namesz + 3) & -4U; in check_notes()
531 && nhdr->n_namesz == sizeof "GNU" in check_notes()
Ddwfl_segment_report_module.c472 const void *note_desc = note_name + NOTE_ALIGN (nh->n_namesz); in dwfl_segment_report_module()
479 && nh->n_namesz == sizeof "GNU" in dwfl_segment_report_module()
Dcore-file.c473 if (nhdr.n_namesz == sizeof "CORE" in dwfl_core_file_report()
/external/valgrind/coregrind/m_debuginfo/
Dreadelf.c1087 DiOffT desc_ioff = name_ioff + ((note.n_namesz + 3) & ~3); in find_buildid()
1101 + ((note.n_namesz + 3) & ~3) in find_buildid()
1126 DiOffT desc_ioff = name_ioff + ((note.n_namesz + 3) & ~3); in find_buildid()
1141 + ((note.n_namesz + 3) & ~3) in find_buildid()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc756 nhdr.n_namesz = 5; in WriteThread()
1169 nhdr.n_namesz = 5; in main()
/external/valgrind/coregrind/m_coredump/
Dcoredump-elf.c169 n->note.n_namesz = namelen; in add_note()

12