/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_namesz > sizeof(build_id_data)) { 69 nhdr.n_namesz); 72 if (backtrace->Read(addr, build_id_data, nhdr.n_descsz) != nhdr.n_descsz) [all...] |
/external/elfutils/src/libebl/ |
eblcorenote.c | 43 ebl_core_note (ebl, nhdr, name, 46 const GElf_Nhdr *nhdr; 54 int result = ebl->core_note (nhdr, name, 63 switch (nhdr->n_type)
|
libebl.h | 379 NAME is not guaranteed terminated, it's NHDR->n_namesz raw bytes. */ 380 extern int ebl_core_note (Ebl *ebl, const GElf_Nhdr *nhdr, const char *name,
|
eblopenbackend.c | 170 static int default_core_note (const GElf_Nhdr *nhdr, const char *name, 592 default_core_note (const GElf_Nhdr *nhdr __attribute__ ((unused)),
|
/external/tcpdump/ |
print-ipcomp.c | 51 ipcomp_print(register const u_char *bp, int *nhdr _U_) 81 if (nhdr) 82 *nhdr = ipcomp->comp_nxt;
|
print-esp.c | 535 int *nhdr 687 if (nhdr) 688 *nhdr = *(ep - 1);
|
netdissect.h | 335 int *nhdr, int *padlen);
|
/external/elfutils/src/backends/ |
linux-core-note.c | 193 EBLHOOK(core_note) (nhdr, name, regs_offset, nregloc, reglocs, nitems, items) 194 const GElf_Nhdr *nhdr; 202 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) 221 if (nhdr->n_type != 0 234 switch (nhdr->n_type) 237 if (nhdr->n_descsz != sizeof (struct EBLHOOK(prstatus))) 247 if (nhdr->n_descsz != sizeof (struct EBLHOOK(prpsinfo)) [all...] |
x86_corenote.c | 31 return ioperm_info (nhdr->n_descsz, \
|
i386_corenote.c | 109 return tls_info (nhdr->n_descsz, regs_offset, nregloc, reglocs, \
|
/external/elfutils/src/libdwelf/ |
dwelf_elf_gnu_build_id.c | 48 GElf_Nhdr nhdr; local 51 while ((pos = gelf_getnote (data, pos, &nhdr, &name_pos, &desc_pos)) > 0) 52 if (nhdr.n_type == NT_GNU_BUILD_ID 53 && nhdr.n_namesz == sizeof "GNU" && !memcmp (data->d_buf + name_pos, 59 *build_id_len = nhdr.n_descsz;
|
/external/linux-tools-perf/src/tools/perf/util/ |
symbol-minimal.c | 35 } *nhdr; local 43 nhdr = ptr; 45 nhdr->n_namesz = bswap_32(nhdr->n_namesz); 46 nhdr->n_descsz = bswap_32(nhdr->n_descsz); 47 nhdr->n_type = bswap_32(nhdr->n_type); 50 namesz = NOTE_ALIGN(nhdr->n_namesz); 51 descsz = NOTE_ALIGN(nhdr->n_descsz) [all...] |
symbol-elf.c | 370 GElf_Nhdr *nhdr = ptr; local 371 size_t namesz = NOTE_ALIGN(nhdr->n_namesz), 372 descsz = NOTE_ALIGN(nhdr->n_descsz); 375 ptr += sizeof(*nhdr); 378 if (nhdr->n_type == NT_GNU_BUILD_ID && 379 nhdr->n_namesz == sizeof("GNU")) { 435 GElf_Nhdr nhdr; local 438 if (read(fd, &nhdr, sizeof(nhdr)) != sizeof(nhdr)) [all...] |
/external/elfutils/src/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...] |
core-file.c | 468 GElf_Nhdr nhdr; local 471 while ((pos = gelf_getnote (notes, pos, &nhdr, 473 if (nhdr.n_namesz == sizeof "CORE" 476 if (nhdr.n_type == NT_AUXV) 479 auxv_size = nhdr.n_descsz; 481 if (nhdr.n_type == NT_FILE) 484 note_file_size = nhdr.n_descsz;
|
linux-kernel-modules.c | 508 GElf_Nhdr nhdr; member in union:__anon8945 522 GElf_Nhdr *nhdr = (void *) p; local 523 p += sizeof *nhdr; 525 p += (nhdr->n_namesz + 3) & -4U; 527 p += (nhdr->n_descsz + 3) & -4U; 530 && nhdr->n_type == NT_GNU_BUILD_ID 531 && nhdr->n_namesz == sizeof "GNU" 545 nhdr->n_descsz, vaddr);
|
/external/google-breakpad/src/tools/linux/md2core/ |
minidump-2-core.cc | 65 #define Nhdr ElfW(Nhdr) 754 Nhdr nhdr; local 755 memset(&nhdr, 0, sizeof(nhdr)); 756 nhdr.n_namesz = 5; 757 nhdr.n_descsz = sizeof(struct prstatus); 758 nhdr.n_type = NT_PRSTATUS; 759 if (!writea(1, &nhdr, sizeof(nhdr)) | 1167 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 | 801 struct eap_hdr *nhdr; local 808 nhdr = wpabuf_put(nmsg, sizeof(*nhdr)); 810 nhdr->code = req->code; 811 nhdr->identifier = req->identifier; 812 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_peap.c | 1046 struct eap_hdr *nhdr; local 1056 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); 1057 nhdr->code = resp->code; 1058 nhdr->identifier = resp->identifier; 1059 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + [all...] |
/external/elfutils/src/src/ |
elflint.c | 3991 GElf_Nhdr nhdr; local [all...] |
readelf.c | 9196 GElf_Nhdr nhdr; local [all...] |