/system/core/debuggerd/ |
elf_utils.cpp | 58 NhdrType nhdr; local 59 if (backtrace->Read(addr, reinterpret_cast<uint8_t*>(&nhdr), sizeof(nhdr)) != sizeof(nhdr)) { 62 addr += sizeof(nhdr); 63 if (nhdr.n_type == NT_GNU_BUILD_ID) { 65 addr += NOTE_ALIGN(nhdr.n_namesz); 67 if (nhdr.n_descsz > sizeof(build_id_data)) { 69 nhdr.n_descsz); 72 if (backtrace->Read(addr, build_id_data, nhdr.n_descsz) != nhdr.n_descsz) [all...] |
/external/elfutils/libebl/ |
eblcorenote.c | 43 ebl_core_note (Ebl *ebl, const GElf_Nhdr *nhdr, const char *name, 48 int result = ebl->core_note (nhdr, name, 57 switch (nhdr->n_type)
|
libebl.h | 392 NAME is not guaranteed terminated, it's NHDR->n_namesz raw bytes. */ 393 extern int ebl_core_note (Ebl *ebl, const GElf_Nhdr *nhdr, const char *name,
|
eblopenbackend.c | 172 static int default_core_note (const GElf_Nhdr *nhdr, const char *name, 593 default_core_note (const GElf_Nhdr *nhdr __attribute__ ((unused)),
|
/external/tcpdump/ |
print-ipcomp.c | 43 ipcomp_print(netdissect_options *ndo, register const u_char *bp, int *nhdr _U_) 73 if (nhdr) 74 *nhdr = ipcomp->comp_nxt;
|
print-esp.c | 553 int *nhdr 703 if (nhdr) 704 *nhdr = *(ep - 1);
|
netdissect.h | 373 int *nhdr, int *padlen);
|
/external/elfutils/backends/ |
x86_corenote.c | 31 return ioperm_info (nhdr->n_descsz, \
|
linux-core-note.c | 207 EBLHOOK(core_note) (const GElf_Nhdr *nhdr, const char *name, 212 switch (nhdr->n_namesz) 215 if (memcmp (name, "CORE", nhdr->n_namesz) == 0) 220 if (memcmp (name, "CORE", nhdr->n_namesz) == 0) 226 if (memcmp (name, "LINUX", nhdr->n_namesz) == 0) 231 if (nhdr->n_type != 0 244 switch (nhdr->n_type) 247 if (nhdr->n_descsz != sizeof (struct EBLHOOK(prstatus))) 257 if (nhdr->n_descsz != sizeof (struct EBLHOOK(prpsinfo))) 268 if (nhdr->n_descsz != size) [all...] |
i386_corenote.c | 109 return tls_info (nhdr->n_descsz, regs_offset, nregloc, reglocs, \
|
/external/elfutils/libdwelf/ |
dwelf_elf_gnu_build_id.c | 44 GElf_Nhdr nhdr; local 47 while ((pos = gelf_getnote (data, pos, &nhdr, &name_pos, &desc_pos)) > 0) 48 if (nhdr.n_type == NT_GNU_BUILD_ID 49 && nhdr.n_namesz == sizeof "GNU" 55 *build_id_len = nhdr.n_descsz;
|
/external/elfutils/libdwfl/ |
linux-core-attach.c | 104 GElf_Nhdr nhdr; local 128 &nhdr, &name_offset, 139 if (! ebl_core_note (core_arg->ebl, &nhdr, name, 145 if (nhdr.n_type != NT_PRSTATUS) 173 GElf_Nhdr nhdr; local 180 size_t getnote_err = gelf_getnote (note_data, offset, &nhdr, &name_offset, 192 int core_note_err = ebl_core_note (core_arg->ebl, &nhdr, name, ®s_offset, 196 assert (nhdr.n_type == NT_PRSTATUS); 366 GElf_Nhdr nhdr; local 371 &nhdr, &name_offset, &desc_offset)) > 0 [all...] |
linux-kernel-modules.c | 525 GElf_Nhdr nhdr; member in union:__anon10782 539 GElf_Nhdr *nhdr = (void *) p; local 540 p += sizeof *nhdr; 542 p += (nhdr->n_namesz + 3) & -4U; 544 p += (nhdr->n_descsz + 3) & -4U; 547 && nhdr->n_type == NT_GNU_BUILD_ID 548 && nhdr->n_namesz == sizeof "GNU" 562 nhdr->n_descsz, vaddr);
|
core-file.c | 504 GElf_Nhdr nhdr; local 507 while ((pos = gelf_getnote (notes, pos, &nhdr, 509 if (nhdr.n_namesz == sizeof "CORE" 512 if (nhdr.n_type == NT_AUXV) 515 auxv_size = nhdr.n_descsz; 517 if (nhdr.n_type == NT_FILE) 520 note_file_size = nhdr.n_descsz;
|
/external/google-breakpad/src/tools/linux/md2core/ |
minidump-2-core.cc | 65 #define Nhdr ElfW(Nhdr) 756 Nhdr nhdr; local 757 memset(&nhdr, 0, sizeof(nhdr)); 758 nhdr.n_namesz = 5; 759 nhdr.n_descsz = sizeof(struct prstatus); 760 nhdr.n_type = NT_PRSTATUS; 761 if (!writea(1, &nhdr, sizeof(nhdr)) | 1169 Nhdr nhdr; local [all...] |
/external/libnl/lib/route/ |
neigh.c | 502 struct ndmsg nhdr = { local 510 nhdr.ndm_family = nl_addr_get_family(tmpl->n_dst); 513 nhdr.ndm_state = tmpl->n_state; 519 if (nlmsg_append(msg, &nhdr, sizeof(nhdr), NLMSG_ALIGNTO) < 0)
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_peap.c | 805 struct eap_hdr *nhdr; local 812 nhdr = wpabuf_put(nmsg, sizeof(*nhdr)); 814 nhdr->code = req->code; 815 nhdr->identifier = req->identifier; 816 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + [all...] |
/external/valgrind/coregrind/m_coredump/ |
coredump-solaris.c | 54 VKI_ESZ(Nhdr) nhdr; 793 n->nhdr.n_type = type; 794 n->nhdr.n_namesz = 5; 795 n->nhdr.n_descsz = VG_ROUNDUP(datasz, 4); 812 return sizeof(note_t) - sizeof(note_t *) + note->nhdr.n_descsz; 845 write_part(fd, filename, CONST_CAST(void *, ¬e->nhdr), [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 1090 struct eap_hdr *nhdr; local 1100 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); 1101 nhdr->code = resp->code; 1102 nhdr->identifier = resp->identifier; 1103 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + [all...] |
/external/elfutils/src/ |
readelf.c | 9343 GElf_Nhdr nhdr; local [all...] |
elflint.c | 4251 GElf_Nhdr nhdr; local [all...] |