/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/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 44 if (id_len < MIN_BUILD_ID_BYTES || id_len > MAX_BUILD_ID_BYTES) in __libdwfl_open_by_build_id() 58 for (size_t i = 1; i < id_len; ++i) in __libdwfl_open_by_build_id() 65 strcpy (&id_name[sizeof "/.build-id/" - 1 + 3 + (id_len - 1) * 2], in __libdwfl_open_by_build_id() 129 const size_t id_len = mod->build_id_len; in __libdwfl_open_mod_by_build_id() local 132 return __libdwfl_open_by_build_id (mod, debug, file_name, id_len, id); in __libdwfl_open_mod_by_build_id()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls.c | 25 size_t id_len; member 199 &data->id_len); in eap_tls_success() 202 data->session_id, data->id_len); in eap_tls_success() 379 id = os_malloc(data->id_len); in eap_tls_get_session_id() 383 *len = data->id_len; in eap_tls_get_session_id() 384 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 810 sm, &data->ssl, EAP_TYPE_FAST, &data->id_len); in eap_fast_process_crypto_binding() 813 data->session_id, data->id_len); in eap_fast_process_crypto_binding() 1343 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 1353 *id_len = len; in eap_fast_get_a_id() 1363 *id_len = tlen; in eap_fast_get_a_id() 1366 wpa_hexdump_ascii(MSG_DEBUG, "EAP-FAST: A-ID", a_id, *id_len); in eap_fast_get_a_id() 1766 id = os_malloc(data->id_len); in eap_fast_get_session_id() 1770 *len = data->id_len; in eap_fast_get_session_id() 1771 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 1098 &data->id_len); in eap_peap_process() 1102 data->session_id, data->id_len); in eap_peap_process() 1270 id = os_malloc(data->id_len); in eap_peap_get_session_id() 1274 *len = data->id_len; in eap_peap_get_session_id() 1275 os_memcpy(id, data->session_id, data->id_len); in eap_peap_get_session_id()
|
D | eap_ttls.c | 59 size_t id_len; member 290 &data->id_len); in eap_ttls_v0_derive_key() 293 data->session_id, data->id_len); in eap_ttls_v0_derive_key() 1761 id = os_malloc(data->id_len); in eap_ttls_get_session_id() 1765 *len = data->id_len; in eap_ttls_get_session_id() 1766 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/wpa_supplicant_8/src/eap_server/ |
D | eap_server_peap.c | 117 u8 id_len; in eap_peap_valid_session() local 120 id_len = sm->identity_len; in eap_peap_valid_session() 122 id_len = 255; in eap_peap_valid_session() 123 wpabuf_put_u8(buf, id_len); in eap_peap_valid_session() 124 wpabuf_put_data(buf, sm->identity, id_len); in eap_peap_valid_session() 1226 u8 id_len; in eap_peap_process() local 1258 id_len = *pos++; in eap_peap_process() 1260 pos, id_len); in eap_peap_process() 1262 sm->identity = os_malloc(id_len ? id_len : 1); in eap_peap_process() 1269 os_memcpy(sm->identity, pos, id_len); in eap_peap_process() [all …]
|
D | eap_server_ttls.c | 92 u8 id_len; in eap_ttls_valid_session() local 95 id_len = sm->identity_len; in eap_ttls_valid_session() 97 id_len = 255; in eap_ttls_valid_session() 98 wpabuf_put_u8(buf, id_len); in eap_ttls_valid_session() 99 wpabuf_put_data(buf, sm->identity, id_len); in eap_ttls_valid_session() 1195 u8 id_len; in eap_ttls_process() local 1226 id_len = *pos++; in eap_ttls_process() 1228 pos, id_len); in eap_ttls_process() 1230 sm->identity = os_malloc(id_len ? id_len : 1); in eap_ttls_process() 1237 os_memcpy(sm->identity, pos, id_len); in eap_ttls_process() [all …]
|
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/elfutils/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()
|
/external/libweave/src/privet/ |
D | auth_manager.cc | 370 CHECK_GT(result.delegatees[0].id_len, 1u); in ParseAccessToken() 373 result.delegatees[0].id + result.delegatees[0].id_len}; in ParseAccessToken() 380 result.delegatees[1].id + result.delegatees[1].id_len}; in ParseAccessToken() 500 if (last_user_id == delegates_rend || !last_user_id->id_len) { in CreateAccessTokenFromAuth() 517 last_user_id->id + last_user_id->id_len}; in CreateAccessTokenFromAuth() 520 app_id.assign(last_app_id->id, last_app_id->id + last_app_id->id_len); in CreateAccessTokenFromAuth()
|
/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/libweave/third_party/libuweave/src/ |
D | macaroon.h | 37 size_t id_len; member
|
D | macaroon_caveat.c | 438 &(result->delegatees[result->num_delegatees].id_len))) { in update_delegatee_list()
|
/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/curl/lib/ |
D | imap.c | 294 size_t id_len = strlen(id); in imap_endofresp() local 297 if(len >= id_len + 1 && !memcmp(id, line, id_len) && line[id_len] == ' ') { in imap_endofresp() 298 line += id_len + 1; in imap_endofresp() 299 len -= id_len + 1; in imap_endofresp()
|
/external/boringssl/src/ssl/ |
D | ssl_session.c | 726 uint8_t *id, int id_len, in SSL_CTX_sess_set_get_cb() argument 732 SSL *ssl, uint8_t *id, int id_len, int *out_copy) { in SSL_CTX_sess_get_get_cb()
|
/external/tcpdump/ |
D | print-isakmp.c | 2047 int id_len, idtype_len, i; in ikev2_ID_print() local 2055 id_len = ntohs(id.h.len); in ikev2_ID_print() 2057 ND_PRINT((ndo," len=%d", id_len - 4)); in ikev2_ID_print() 2058 if (2 < ndo->ndo_vflag && 4 < id_len) { in ikev2_ID_print() 2060 if (!rawprint(ndo, (caddr_t)(ext + 1), id_len - 4)) in ikev2_ID_print() 2064 idtype_len =id_len - sizeof(struct ikev2_id); in ikev2_ID_print() 2115 return (u_char *)ext + id_len; in ikev2_ID_print()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth.h | 125 size_t id_len; member
|