/external/elfutils/libdwfl/ |
D | dwfl_module_build_id.c | 82 GElf_Nhdr nhdr; in check_notes() local 85 while ((pos = gelf_getnote (data, pos, &nhdr, &name_pos, &desc_pos)) > 0) in check_notes() 86 if (nhdr.n_type == NT_GNU_BUILD_ID in check_notes() 87 && nhdr.n_namesz == sizeof "GNU" && !memcmp (data->d_buf + name_pos, in check_notes() 90 data->d_buf + desc_pos, nhdr.n_descsz, in check_notes()
|
D | linux-kernel-modules.c | 443 GElf_Nhdr nhdr; in check_notes() member 457 GElf_Nhdr *nhdr = (void *) p; in check_notes() local 458 p += sizeof *nhdr; in check_notes() 460 p += (nhdr->n_namesz + 3) & -4U; in check_notes() 462 p += (nhdr->n_descsz + 3) & -4U; in check_notes() 465 && nhdr->n_type == NT_GNU_BUILD_ID in check_notes() 466 && nhdr->n_namesz == sizeof "GNU" in check_notes() 480 nhdr->n_descsz, vaddr); in check_notes()
|
D | core-file.c | 434 GElf_Nhdr nhdr; in dwfl_core_file_report() local 437 while ((pos = gelf_getnote (notes, pos, &nhdr, in dwfl_core_file_report() 439 if (nhdr.n_type == NT_AUXV in dwfl_core_file_report() 440 && nhdr.n_namesz == sizeof "CORE" in dwfl_core_file_report() 444 auxv_size = nhdr.n_descsz; in dwfl_core_file_report()
|
/external/tcpdump/ |
D | print-ipcomp.c | 51 ipcomp_print(register const u_char *bp, int *nhdr _U_) in ipcomp_print() 81 if (nhdr) in ipcomp_print() 82 *nhdr = ipcomp->comp_nxt; in ipcomp_print()
|
D | print-esp.c | 334 int *nhdr in esp_print() 495 if (nhdr) in esp_print() 496 *nhdr = *(ep - 1); in esp_print()
|
D | netdissect.h | 251 int *nhdr, int *padlen);
|
/external/linux-tools-perf/util/ |
D | symbol.c | 1372 GElf_Nhdr *nhdr = ptr; in elf_read_build_id() local 1373 int namesz = NOTE_ALIGN(nhdr->n_namesz), in elf_read_build_id() 1374 descsz = NOTE_ALIGN(nhdr->n_descsz); in elf_read_build_id() 1377 ptr += sizeof(*nhdr); in elf_read_build_id() 1380 if (nhdr->n_type == NT_GNU_BUILD_ID && in elf_read_build_id() 1381 nhdr->n_namesz == sizeof("GNU")) { in elf_read_build_id() 1435 GElf_Nhdr nhdr; in sysfs__read_build_id() local 1438 if (read(fd, &nhdr, sizeof(nhdr)) != sizeof(nhdr)) in sysfs__read_build_id() 1441 namesz = NOTE_ALIGN(nhdr.n_namesz); in sysfs__read_build_id() 1442 descsz = NOTE_ALIGN(nhdr.n_descsz); in sysfs__read_build_id() [all …]
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_peap.c | 823 struct eap_hdr *nhdr; in eap_peap_decrypt() local 830 nhdr = wpabuf_put(nmsg, sizeof(*nhdr)); in eap_peap_decrypt() 832 nhdr->code = req->code; in eap_peap_decrypt() 833 nhdr->identifier = req->identifier; in eap_peap_decrypt() 834 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_peap.c | 819 struct eap_hdr *nhdr; in eap_peap_decrypt() local 826 nhdr = wpabuf_put(nmsg, sizeof(*nhdr)); in eap_peap_decrypt() 828 nhdr->code = req->code; in eap_peap_decrypt() 829 nhdr->identifier = req->identifier; in eap_peap_decrypt() 830 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_decrypt()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_peap.c | 1090 struct eap_hdr *nhdr; in eap_peap_process_phase2() local 1100 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2() 1101 nhdr->code = resp->code; in eap_peap_process_phase2() 1102 nhdr->identifier = resp->identifier; in eap_peap_process_phase2() 1103 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_process_phase2()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_peap.c | 1063 struct eap_hdr *nhdr; in eap_peap_process_phase2() local 1073 nhdr = wpabuf_put(nbuf, sizeof(*nhdr)); in eap_peap_process_phase2() 1074 nhdr->code = resp->code; in eap_peap_process_phase2() 1075 nhdr->identifier = resp->identifier; in eap_peap_process_phase2() 1076 nhdr->length = host_to_be16(sizeof(struct eap_hdr) + in eap_peap_process_phase2()
|
/external/elfutils/src/ |
D | readelf.c | 6063 handle_core_note (Ebl *ebl, const GElf_Nhdr *nhdr, const void *desc) in handle_core_note() argument 6071 if (! ebl_core_note (ebl, nhdr->n_type, nhdr->n_descsz, in handle_core_note() 6080 nregloc == 0 ? nhdr->n_descsz : 0, in handle_core_note() 6101 GElf_Nhdr nhdr; in handle_notes_data() local 6106 &nhdr, &name_offset, &desc_offset)) > 0) in handle_notes_data() 6114 (int) nhdr.n_namesz, name, nhdr.n_descsz, in handle_notes_data() 6116 ? ebl_core_note_type_name (ebl, nhdr.n_type, in handle_notes_data() 6118 : ebl_object_note_type_name (ebl, nhdr.n_type, in handle_notes_data() 6122 if (memchr (name, '\0', nhdr.n_namesz) != NULL in handle_notes_data() 6128 if (nhdr.n_type == NT_AUXV) in handle_notes_data() [all …]
|
D | elflint.c | 3891 GElf_Nhdr nhdr; in check_note_data() local 3896 &nhdr, &name_offset, &desc_offset)) > 0) in check_note_data() 3902 switch (nhdr.n_type) in check_note_data() 3926 phndx, (uint32_t) nhdr.n_type, start + offset); in check_note_data() 3932 (uint32_t) nhdr.n_type, offset); in check_note_data() 3935 switch (nhdr.n_type) in check_note_data() 3944 if (nhdr.n_namesz == sizeof "Linux" in check_note_data() 3952 phndx, (uint32_t) nhdr.n_type, offset); in check_note_data() 3958 (uint32_t) nhdr.n_type, offset); in check_note_data()
|