/external/libnfc-nci/src/nfc/ndef/ |
D | ndef_utils.c | 83 UINT8 rec_hdr=0, type_len, id_len; in NDEF_MsgValidate() local 133 id_len = *p_rec++; in NDEF_MsgValidate() 136 id_len = 0; in NDEF_MsgValidate() 147 … if ( (type_len != 0) || (id_len != 0) || ((rec_hdr & NDEF_TNF_MASK) != NDEF_TNF_UNCHANGED) ) in NDEF_MsgValidate() 164 … if ( (type_len != 0) || (id_len != 0) || ((rec_hdr & NDEF_TNF_MASK) != NDEF_TNF_UNCHANGED) ) in NDEF_MsgValidate() 180 if ( (type_len != 0) || (id_len != 0) || (payload_len != 0) ) in NDEF_MsgValidate() 191 p_rec += (payload_len + type_len + id_len); in NDEF_MsgValidate() 223 UINT8 rec_hdr, type_len, id_len; in NDEF_MsgGetNumRecs() local 247 id_len = *p_rec++; in NDEF_MsgGetNumRecs() 249 id_len = 0; in NDEF_MsgGetNumRecs() [all …]
|
D | ndef_cho_utils.c | 130 UINT8 payload[256], *p, id_len; in NDEF_MsgAddWktHc() local 147 id_len = (UINT8)strlen (p_id_str); in NDEF_MsgAddWktHc() 151 (UINT8*)p_id_str, id_len, payload, payload_len); in NDEF_MsgAddWktHc() 301 UINT8 payload_len, id_len; in NDEF_MsgAddMediaBtOob() local 312 id_len = (UINT8)strlen (p_id_str); in NDEF_MsgAddMediaBtOob() 316 (UINT8*)p_id_str, id_len, payload, payload_len); in NDEF_MsgAddMediaBtOob() 539 UINT8 id_len = 0; in NDEF_MsgAddMediaWifiWsc() local 542 id_len = (UINT8)strlen (p_id_str); in NDEF_MsgAddMediaWifiWsc() 546 (UINT8*)p_id_str, id_len, p_payload, payload_len); in NDEF_MsgAddMediaWifiWsc() 568 UINT8 id_len, tnf, type_len; in ndef_get_bt_oob_record() local [all …]
|
/external/elfutils/src/libdwfl/ |
D | dwfl_build_id_find_elf.c | 38 const size_t id_len, const uint8_t *id) in __libdwfl_open_by_build_id() argument 42 char id_name[sizeof "/.build-id/" + 1 + id_len * 2 + sizeof ".debug" - 1]; in __libdwfl_open_by_build_id() 47 for (size_t i = 1; i < id_len; ++i) in __libdwfl_open_by_build_id() 54 strcpy (&id_name[sizeof "/.build-id/" - 1 + 3 + (id_len - 1) * 2], in __libdwfl_open_by_build_id() 113 const size_t id_len = mod->build_id_len; in __libdwfl_open_mod_by_build_id() local 116 return __libdwfl_open_by_build_id (mod, debug, file_name, id_len, id); in __libdwfl_open_mod_by_build_id()
|
D | libdwflP.h | 532 char **file_name, const size_t id_len,
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls.c | 25 size_t id_len; member 211 &data->id_len); in eap_tls_success() 214 data->session_id, data->id_len); in eap_tls_success() 353 id = os_malloc(data->id_len); in eap_tls_get_session_id() 357 *len = data->id_len; in eap_tls_get_session_id() 358 os_memcpy(id, data->session_id, data->id_len); in eap_tls_get_session_id()
|
D | eap_gpsk.c | 27 size_t id_len; member 387 data->session_id, &data->id_len) < 0) { in eap_gpsk_send_gpsk_2() 394 data->session_id, data->id_len); in eap_gpsk_send_gpsk_2() 761 sid = os_malloc(data->id_len); in eap_gpsk_get_session_id() 764 os_memcpy(sid, data->session_id, data->id_len); in eap_gpsk_get_session_id() 765 *len = data->id_len; in eap_gpsk_get_session_id()
|
D | eap_fast.c | 57 size_t id_len; member 811 sm, &data->ssl, EAP_TYPE_FAST, &data->id_len); in eap_fast_process_crypto_binding() 814 data->session_id, data->id_len); in eap_fast_process_crypto_binding() 1344 static const u8 * eap_fast_get_a_id(const u8 *buf, size_t len, size_t *id_len) in eap_fast_get_a_id() argument 1354 *id_len = len; in eap_fast_get_a_id() 1364 *id_len = tlen; in eap_fast_get_a_id() 1367 wpa_hexdump_ascii(MSG_DEBUG, "EAP-FAST: A-ID", a_id, *id_len); in eap_fast_get_a_id() 1720 id = os_malloc(data->id_len); in eap_fast_get_session_id() 1724 *len = data->id_len; in eap_fast_get_session_id() 1725 os_memcpy(id, data->session_id, data->id_len); in eap_fast_get_session_id()
|
D | eap_peap.c | 59 size_t id_len; member 1049 &data->id_len); in eap_peap_process() 1053 data->session_id, data->id_len); in eap_peap_process() 1219 id = os_malloc(data->id_len); in eap_peap_get_session_id() 1223 *len = data->id_len; in eap_peap_get_session_id() 1224 os_memcpy(id, data->session_id, data->id_len); in eap_peap_get_session_id()
|
D | eap_ttls.c | 58 size_t id_len; member 244 &data->id_len); in eap_ttls_v0_derive_key() 247 data->session_id, data->id_len); in eap_ttls_v0_derive_key() 1641 id = os_malloc(data->id_len); in eap_ttls_get_session_id() 1645 *len = data->id_len; in eap_ttls_get_session_id() 1646 os_memcpy(id, data->session_id, data->id_len); in eap_ttls_get_session_id()
|
/external/libnfc-nci/src/nfa/dm/ |
D | nfa_dm_ndef.c | 371 UINT8 tnf, type_len, rec_hdr_flags, id_len; in nfa_dm_ndef_handle_message() local 491 id_len = *p_rec_end++; in nfa_dm_ndef_handle_message() 493 id_len = 0; in nfa_dm_ndef_handle_message() 494 p_rec_end+=id_len; in nfa_dm_ndef_handle_message()
|
/external/elfutils/src/src/ |
D | stack.c | 155 int id_len = dwfl_module_build_id (mod, &id, &id_vaddr); in module_callback() local 156 if (id_len > 0) in module_callback() 161 while (--id_len > 0); in module_callback() 257 int id_len = dwfl_module_build_id (mod, &id, &id_vaddr); in print_frame() local 258 if (id_len > 0) in print_frame() 263 while (--id_len > 0); in print_frame()
|
D | unstrip.c | 2152 int id_len = dwfl_module_build_id (mod, &id, &id_vaddr); in list_module() local 2156 if (id_len > 0) in list_module() 2160 while (--id_len > 0); in list_module()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_gpsk.c | 28 size_t id_len; member 429 data->session_id, &data->id_len) < 0) { in eap_gpsk_process_gpsk_2() 435 data->session_id, data->id_len); in eap_gpsk_process_gpsk_2() 621 sid = os_malloc(data->id_len); in eap_gpsk_get_session_id() 624 os_memcpy(sid, data->session_id, data->id_len); in eap_gpsk_get_session_id() 625 *len = data->id_len; in eap_gpsk_get_session_id()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_kay.c | 253 size_t id_len, need_len; in ieee802_1x_auth_get_session_id() local 255 session_id = eapol_sm_get_session_id(wpa_s->eapol, &id_len); in ieee802_1x_auth_get_session_id() 263 if (need_len > id_len) { in ieee802_1x_auth_get_session_id()
|
/external/ipsec-tools/src/racoon/ |
D | admin.h | 107 size_t id_len; member
|
D | admin.c | 373 if ((id = vmalloc(acp->id_len)) == NULL) { 390 data = (char *)(data + acp->id_len);
|
D | racoonctl.c | 720 acp->id_len = strlen(id) + 1; 726 data = (char *)(data + acp->id_len);
|
/external/libnfc-nci/src/nfc/include/ |
D | ndef_utils.h | 271 UINT8 *p_id, UINT8 id_len, 287 UINT8 *p_id, UINT8 id_len,
|
/external/boringssl/src/ssl/ |
D | ssl_sess.c | 228 unsigned int *id_len) { in def_generate_session_id() argument 232 if (!RAND_bytes(id, *id_len)) { in def_generate_session_id() 235 } while (SSL_has_matching_session_id(ssl, id, *id_len) && in def_generate_session_id()
|
D | ssl_lib.c | 403 unsigned int id_len) { in SSL_has_matching_session_id() argument 411 if (id_len > sizeof r.session_id) { in SSL_has_matching_session_id() 416 r.session_id_length = id_len; in SSL_has_matching_session_id() 417 memcpy(r.session_id, id, id_len); in SSL_has_matching_session_id()
|
/external/tcpdump/ |
D | print-isakmp.c | 1605 int id_len, idtype_len, i; in ikev2_ID_print() local 1613 id_len = ntohs(id.h.len); in ikev2_ID_print() 1615 ND_PRINT((ndo," len=%d", id_len - 4)); in ikev2_ID_print() 1616 if (2 < ndo->ndo_vflag && 4 < id_len) { in ikev2_ID_print() 1618 if (!rawprint(ndo, (caddr_t)(ext + 1), id_len - 4)) in ikev2_ID_print() 1622 idtype_len =id_len - sizeof(struct ikev2_id); in ikev2_ID_print() 1673 return (u_char *)ext + id_len; in ikev2_ID_print()
|
D | print-isoclns.c | 1558 isis_print_id(const u_int8_t *cp, int id_len) in isis_print_id() argument 1570 if (id_len >= NODE_ID_LEN) { in isis_print_id() 1574 if (id_len == LSP_ID_LEN) in isis_print_id()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.h | 114 size_t id_len; member
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 789 unsigned int *id_len); 1957 unsigned int id_len);
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 1007 r0kh->id_len = next - pos - 1; in add_r0kh() 1008 os_memcpy(r0kh->id, pos, r0kh->id_len); in add_r0kh()
|