/external/wpa_supplicant_8/src/ap/ |
D | taxonomy.c | 60 u16 id, elen; in get_wps_name() local 63 elen = WPA_GET_BE16(data + 2); in get_wps_name() 67 if (elen > data_len) in get_wps_name() 72 size_t n = (elen < name_len) ? elen : name_len; in get_wps_name() 77 data += elen; in get_wps_name() 78 data_len -= elen; in get_wps_name() 124 u8 id, elen; in ie_to_string() local 128 elen = *ie++; in ie_to_string() 131 if (elen > ie_len) in ie_to_string() 134 if (id == WLAN_EID_VENDOR_SPECIFIC && elen >= 4) { in ie_to_string() [all …]
|
D | ieee802_11_shared.c | 698 const int elen = 2 + 1 + 10 + 5 + 1; in hostapd_update_time_adv() local 710 hapd->time_adv = wpabuf_alloc(elen); in hostapd_update_time_adv() 713 pos = wpabuf_put(hapd->time_adv, elen); in hostapd_update_time_adv() 887 size_t elen; in hostapd_eid_owe_trans() local 896 elen = hostapd_eid_owe_trans_len(hapd); in hostapd_eid_owe_trans() 897 if (len < elen) { in hostapd_eid_owe_trans() 904 *pos++ = elen - 2; in hostapd_eid_owe_trans()
|
D | gas_serv.c | 1698 u16 info_id, elen; in gas_serv_rx_gas_initial_req() local 1705 elen = WPA_GET_LE16(pos); in gas_serv_rx_gas_initial_req() 1708 if (elen > end - pos) { in gas_serv_rx_gas_initial_req() 1715 rx_anqp_query_list(hapd, pos, pos + elen, &qi); in gas_serv_rx_gas_initial_req() 1718 rx_anqp_vendor_specific(hapd, pos, pos + elen, &qi); in gas_serv_rx_gas_initial_req() 1726 pos += elen; in gas_serv_rx_gas_initial_req()
|
/external/wpa_supplicant_8/src/common/ |
D | ieee802_11_common.c | 20 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, in ieee802_11_parse_vendor_specific() argument 29 if (elen < 4) { in ieee802_11_parse_vendor_specific() 33 (unsigned long) elen); in ieee802_11_parse_vendor_specific() 48 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific() 52 if (elen < 5) { in ieee802_11_parse_vendor_specific() 56 (unsigned long) elen); in ieee802_11_parse_vendor_specific() 69 elems->wmm_len = elen; in ieee802_11_parse_vendor_specific() 73 elems->wmm_tspec_len = elen; in ieee802_11_parse_vendor_specific() 79 pos[4], (unsigned long) elen); in ieee802_11_parse_vendor_specific() 86 elems->wps_ie_len = elen; in ieee802_11_parse_vendor_specific() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_expand_string.c | 46 } elen; in ares_expand_string() local 51 elen.uns = *encoded; in ares_expand_string() 52 if (encoded+elen.sig+1 > abuf+alen) in ares_expand_string() 57 *s = ares_malloc(elen.uns+1); in ares_expand_string() 61 strncpy((char *)q, (char *)encoded, elen.uns); in ares_expand_string() 62 q[elen.uns] = '\0'; in ares_expand_string() 66 *enclen = (long)(elen.sig+1); in ares_expand_string()
|
/external/openssh/regress/ |
D | integrity.sh | 25 elen=0 59 Bad?packet*) elen=`expr $elen + 1`; skip=3;; 68 verbose "test $tid: $ecnt errors: mac $emac padding $epad length $elen timeout $etmo" 72 expect=`expr $ecnt - $epad - $elen - $etmo`
|
/external/eigen/Eigen/src/OrderingMethods/ |
D | Amd.h | 117 StorageIndex* elen = W + 4*(n+1); in minimum_degree_ordering() local 139 elen[i] = 0; // Ek of node i is empty in minimum_degree_ordering() 158 elen[i] = -2; /* element i is dead */ in minimum_degree_ordering() 166 elen[i] = -1; /* node i is dead */ in minimum_degree_ordering() 179 elen[n] = -2; /* n is a dead element */ in minimum_degree_ordering() 189 elenk = elen[k]; /* elenk = |Ek| */ in minimum_degree_ordering() 263 elen[k] = -2; /* k is now an element */ in minimum_degree_ordering() 270 if((eln = elen[i]) <= 0) continue;/* skip if elen[i] empty */ in minimum_degree_ordering() 292 p2 = p1 + elen[i] - 1; in minimum_degree_ordering() 313 elen[i] = pn - p1 + 1; /* elen[i] = |Ei| */ in minimum_degree_ordering() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wifi_display.c | 390 u16 elen; in wifi_display_subelem_hex() local 402 elen = WPA_GET_BE16(buf + i + 1); in wifi_display_subelem_hex() 403 if (i + WIFI_DISPLAY_SUBELEM_HEADER_LEN + elen > buflen) in wifi_display_subelem_hex() 415 if (elen > 1000) in wifi_display_subelem_hex() 417 subelem = os_zalloc(2 * elen + 1); in wifi_display_subelem_hex() 420 wpa_snprintf_hex(subelem, 2 * elen + 1, in wifi_display_subelem_hex() 423 elen); in wifi_display_subelem_hex() 427 i += elen + WIFI_DISPLAY_SUBELEM_HEADER_LEN; in wifi_display_subelem_hex()
|
D | mbo.c | 468 u8 id, elen; in wpas_mbo_ie_trans_req() local 479 elen = *pos++; in wpas_mbo_ie_trans_req() 482 if (elen > len) in wpas_mbo_ie_trans_req() 487 if (elen != 1) in wpas_mbo_ie_trans_req() 501 if (elen != 1) in wpas_mbo_ie_trans_req() 508 if (elen != 2) in wpas_mbo_ie_trans_req() 546 pos += elen; in wpas_mbo_ie_trans_req() 547 len -= elen; in wpas_mbo_ie_trans_req() 565 id, elen, len); in wpas_mbo_ie_trans_req()
|
D | wnm_sta.c | 440 u8 id, u8 elen, const u8 *pos) in wnm_parse_neighbor_report_elem() argument 444 if (elen < 2 + 2) { in wnm_parse_neighbor_report_elem() 453 if (elen < 2) { in wnm_parse_neighbor_report_elem() 462 if (elen < 1) { in wnm_parse_neighbor_report_elem() 471 if (elen < 10) { in wnm_parse_neighbor_report_elem() 481 if (elen < 8) { in wnm_parse_neighbor_report_elem() 492 if (elen < 1) { in wnm_parse_neighbor_report_elem() 502 rep->meas_pilot->subelem_len = elen - 1; in wnm_parse_neighbor_report_elem() 503 os_memcpy(rep->meas_pilot->subelems, pos + 1, elen - 1); in wnm_parse_neighbor_report_elem() 506 if (elen < 5) { in wnm_parse_neighbor_report_elem() [all …]
|
D | rrm.c | 833 u8 elen = ies[1]; in wpas_beacon_rep_add_frame_body() local 835 if (2 + elen > buf + buf_len - pos || in wpas_beacon_rep_add_frame_body() 836 2 + elen > rem_len) in wpas_beacon_rep_add_frame_body() 840 *pos++ = elen; in wpas_beacon_rep_add_frame_body() 841 os_memcpy(pos, ies + 2, elen); in wpas_beacon_rep_add_frame_body() 842 pos += elen; in wpas_beacon_rep_add_frame_body() 843 rem_len -= 2 + elen; in wpas_beacon_rep_add_frame_body()
|
D | interworking.c | 368 u8 elen, auth_count, a; in nai_realm_parse_eap() local 376 elen = *pos++; in nai_realm_parse_eap() 377 if (elen > end - pos || elen < 2) { in nai_realm_parse_eap() 381 e_end = pos + elen; in nai_realm_parse_eap() 385 elen, e->method, auth_count); in nai_realm_parse_eap() 2208 u8 elen; in domain_name_list_contains() local 2210 elen = *pos++; in domain_name_list_contains() 2211 if (elen > end - pos) in domain_name_list_contains() 2215 pos, elen); in domain_name_list_contains() 2216 if (elen == len && in domain_name_list_contains() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_leap.c | 342 size_t elen[5], password_len; in eap_leap_getKey() local 380 elen[0] = 16; in eap_leap_getKey() 382 elen[1] = LEAP_CHALLENGE_LEN; in eap_leap_getKey() 384 elen[2] = LEAP_RESPONSE_LEN; in eap_leap_getKey() 386 elen[3] = LEAP_CHALLENGE_LEN; in eap_leap_getKey() 388 elen[4] = LEAP_RESPONSE_LEN; in eap_leap_getKey() 389 md5_vector(5, addr, elen, key); in eap_leap_getKey()
|
/external/curl/lib/ |
D | rand.c | 51 size_t elen = strlen(force_entropy); in randit() local 53 size_t min = elen < clen ? elen : clen; in randit()
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | common.c | 136 size_t elen = strlen(msg); in sendPADT() local 138 err.length = htons(elen); in sendPADT() 140 memcpy(cursor, &err, elen + TAG_HDR_SIZE); in sendPADT() 141 cursor += elen + TAG_HDR_SIZE; in sendPADT() 142 plen += elen + TAG_HDR_SIZE; in sendPADT()
|
/external/libwebsockets/lib/tls/mbedtls/ |
D | lws-genrsa.c | 433 uint8_t *elen; in lws_genrsa_render_pkey_asn1() local 436 elen = p; in lws_genrsa_render_pkey_asn1() 457 *elen = m; in lws_genrsa_render_pkey_asn1() 459 *elen++ = 0x82; in lws_genrsa_render_pkey_asn1() 460 *elen++ = m >> 8; in lws_genrsa_render_pkey_asn1() 461 *elen = m & 0xff; in lws_genrsa_render_pkey_asn1()
|
/external/openssh/ |
D | hmac.c | 142 hmac_test(void *key, size_t klen, void *m, size_t mlen, u_char *e, size_t elen) in hmac_test() argument 156 if (memcmp(e, digest, elen)) { in hmac_test() 157 for (i = 0; i < elen; i++) in hmac_test()
|
/external/wpa_supplicant_8/src/radius/ |
D | radius.c | 991 size_t elen[3]; in decrypt_ms_key() local 1020 elen[0] = secret_len; in decrypt_ms_key() 1023 elen[1] = MD5_MAC_LEN; in decrypt_ms_key() 1025 elen[2] = 2; /* Salt */ in decrypt_ms_key() 1028 elen[1] = MD5_MAC_LEN; in decrypt_ms_key() 1030 if (md5_vector(first ? 3 : 2, addr, elen, hash) < 0) { in decrypt_ms_key() 1062 u8 *ebuf, size_t *elen) in encrypt_ms_key() argument 1079 *elen = len; in encrypt_ms_key() 1197 size_t elen; in radius_msg_add_mppe_keys() local 1222 secret_len, pos, &elen); in radius_msg_add_mppe_keys() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_parse.c | 95 u8 id, elen; in wps_parse_vendor_ext_wfa() local 99 elen = *pos++; in wps_parse_vendor_ext_wfa() 100 if (elen > end - pos) in wps_parse_vendor_ext_wfa() 102 if (wps_set_vendor_ext_wfa_subelem(attr, id, elen, pos) < 0) in wps_parse_vendor_ext_wfa() 104 pos += elen; in wps_parse_vendor_ext_wfa()
|
/external/python/cpython2/Lib/email/ |
D | header.py | 292 elen = charset.encoded_header_len(encoded) 294 if elen <= maxlinelen: 318 elif elen == len(s):
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 184 u8 id, elen; in eap_fast_session_ticket_cb() local 187 elen = *pos++; in eap_fast_session_ticket_cb() 188 if (elen > end - pos) in eap_fast_session_ticket_cb() 195 if (elen != EAP_FAST_PAC_KEY_LEN) { in eap_fast_session_ticket_cb() 198 elen); in eap_fast_session_ticket_cb() 208 if (elen != 4) { in eap_fast_session_ticket_cb() 211 elen); in eap_fast_session_ticket_cb() 219 identity_len = elen; in eap_fast_session_ticket_cb() 223 pos += elen; in eap_fast_session_ticket_cb()
|
D | eap_server_teap.c | 198 u8 id, elen; in eap_teap_session_ticket_cb() local 201 elen = *pos++; in eap_teap_session_ticket_cb() 202 if (elen > end - pos) in eap_teap_session_ticket_cb() 209 if (elen != EAP_TEAP_PAC_KEY_LEN) { in eap_teap_session_ticket_cb() 212 elen); in eap_teap_session_ticket_cb() 222 if (elen != 4) { in eap_teap_session_ticket_cb() 225 elen); in eap_teap_session_ticket_cb() 233 identity_len = elen; in eap_teap_session_ticket_cb() 237 pos += elen; in eap_teap_session_ticket_cb()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_client_read.c | 49 u16 ext, elen; in tls_process_server_hello_extensions() local 58 elen = WPA_GET_BE16(pos); in tls_process_server_hello_extensions() 61 if (elen > end - pos) { in tls_process_server_hello_extensions() 69 pos, elen); in tls_process_server_hello_extensions() 71 pos += elen; in tls_process_server_hello_extensions()
|
/external/wpa_supplicant_8/src/eapol_supp/ |
D | eapol_supp_sm.c | 1321 u16 elen; in eapol_sm_rx_eapol() local 1323 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol() 1324 if (elen > plen && elen <= len - sizeof(*hdr)) { in eapol_sm_rx_eapol() 1334 "%d -> %d", (int) plen, elen); in eapol_sm_rx_eapol() 1335 plen = elen; in eapol_sm_rx_eapol()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | cpuset.h | 273 char *emsg, int elen);
|