/external/dhcpcd-6.8.2/ |
D | script.c | 226 size_t e, elen, l; in make_env() local 285 elen = 2; in make_env() 287 elen = 13; in make_env() 291 env = calloc(1, sizeof(char *) * (elen + 3 + 1)); in make_env() 382 EMALLOC(elen, e); in make_env() 383 snprintf(env[elen++], e, "syslog_debug=true"); in make_env() 387 EMALLOC(elen, e); in make_env() 388 snprintf(env[elen++], e, "profile=%s", ifp->profile); in make_env() 399 EMALLOC(elen, pfx_len + (size_t)psl + 1); in make_env() 400 memcpy(env[elen], pfx, pfx_len); in make_env() [all …]
|
/external/wpa_supplicant_8/src/common/ |
D | ieee802_11_common.c | 19 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, in ieee802_11_parse_vendor_specific() argument 28 if (elen < 4) { in ieee802_11_parse_vendor_specific() 32 (unsigned long) elen); in ieee802_11_parse_vendor_specific() 47 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific() 51 if (elen < 5) { in ieee802_11_parse_vendor_specific() 55 (unsigned long) elen); in ieee802_11_parse_vendor_specific() 68 elems->wmm_len = elen; in ieee802_11_parse_vendor_specific() 72 elems->wmm_tspec_len = elen; in ieee802_11_parse_vendor_specific() 78 pos[4], (unsigned long) elen); in ieee802_11_parse_vendor_specific() 85 elems->wps_ie_len = elen; in ieee802_11_parse_vendor_specific() [all …]
|
/external/c-ares/ |
D | ares_expand_string.c | 51 } elen; in ares_expand_string() local 56 elen.uns = *encoded; in ares_expand_string() 57 if (encoded+elen.sig+1 > abuf+alen) in ares_expand_string() 62 *s = malloc(elen.uns+1); in ares_expand_string() 66 strncpy((char *)q, (char *)encoded, elen.uns); in ares_expand_string() 67 q[elen.uns] = '\0'; in ares_expand_string() 71 *enclen = (long)(elen.sig+1); in ares_expand_string()
|
/external/eigen/Eigen/src/OrderingMethods/ |
D | Amd.h | 114 Index* elen = W + 4*(n+1); in minimum_degree_ordering() local 136 elen[i] = 0; // Ek of node i is empty in minimum_degree_ordering() 140 elen[n] = -2; /* n is a dead element */ 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() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wifi_display.c | 377 u16 elen; in wifi_display_subelem_hex() local 389 elen = WPA_GET_BE16(buf + i + 1); in wifi_display_subelem_hex() 390 if (i + WIFI_DISPLAY_SUBELEM_HEADER_LEN + elen > buflen) in wifi_display_subelem_hex() 402 if (elen > 1000) in wifi_display_subelem_hex() 404 subelem = os_zalloc(2 * elen + 1); in wifi_display_subelem_hex() 407 wpa_snprintf_hex(subelem, 2 * elen + 1, in wifi_display_subelem_hex() 410 elen); in wifi_display_subelem_hex() 414 i += elen + WIFI_DISPLAY_SUBELEM_HEADER_LEN; in wifi_display_subelem_hex()
|
D | wnm_sta.c | 342 u8 id, u8 elen, const u8 *pos) in wnm_parse_neighbor_report_elem() argument 346 if (elen < 2 + 2) { in wnm_parse_neighbor_report_elem() 355 if (elen < 2) { in wnm_parse_neighbor_report_elem() 364 if (elen < 1) { in wnm_parse_neighbor_report_elem() 378 if (elen < 8) { in wnm_parse_neighbor_report_elem() 389 if (elen < 1) { in wnm_parse_neighbor_report_elem() 399 rep->meas_pilot->subelem_len = elen - 1; in wnm_parse_neighbor_report_elem() 400 os_memcpy(rep->meas_pilot->subelems, pos + 1, elen - 1); in wnm_parse_neighbor_report_elem() 403 if (elen < 5) { in wnm_parse_neighbor_report_elem() 412 if (elen < 1) { in wnm_parse_neighbor_report_elem() [all …]
|
D | mbo.c | 645 u8 id, elen; in wpas_mbo_ie_trans_req() local 657 elen = *pos++; in wpas_mbo_ie_trans_req() 660 if (elen > len) in wpas_mbo_ie_trans_req() 665 if (elen != 1) in wpas_mbo_ie_trans_req() 676 if (elen != 1) in wpas_mbo_ie_trans_req() 682 if (elen != 2) in wpas_mbo_ie_trans_req() 714 pos += elen; in wpas_mbo_ie_trans_req() 715 len -= elen; in wpas_mbo_ie_trans_req() 733 id, elen, len); in wpas_mbo_ie_trans_req()
|
D | interworking.c | 362 u8 elen, auth_count, a; in nai_realm_parse_eap() local 370 elen = *pos++; in nai_realm_parse_eap() 371 if (elen > end - pos || elen < 2) { in nai_realm_parse_eap() 375 e_end = pos + elen; in nai_realm_parse_eap() 379 elen, e->method, auth_count); in nai_realm_parse_eap() 2159 u8 elen; in domain_name_list_contains() local 2161 elen = *pos++; in domain_name_list_contains() 2162 if (elen > end - pos) in domain_name_list_contains() 2166 pos, elen); in domain_name_list_contains() 2167 if (elen == len && in domain_name_list_contains() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_leap.c | 335 size_t elen[5], password_len; in eap_leap_getKey() local 373 elen[0] = 16; in eap_leap_getKey() 375 elen[1] = LEAP_CHALLENGE_LEN; in eap_leap_getKey() 377 elen[2] = LEAP_RESPONSE_LEN; in eap_leap_getKey() 379 elen[3] = LEAP_CHALLENGE_LEN; in eap_leap_getKey() 381 elen[4] = LEAP_RESPONSE_LEN; in eap_leap_getKey() 382 md5_vector(5, addr, elen, key); in eap_leap_getKey()
|
/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/dhcpcd-6.8.2/dbus/ |
D | rpc-dbus.c | 245 const char *prefix, char **env, ssize_t elen) in append_config() argument 254 for (eenv = env + elen; env < eenv; env++) { in append_config() 303 ssize_t e, elen; in dbus_send_message() local 343 elen = dhcp_env(env, config_prefix, message, ifp); in dbus_send_message() 346 retval = append_config(&dict, prefix, env, elen); in dbus_send_message() 379 ssize_t e, elen; in dbus_send_dhcpv6_message() local 419 elen = dhcp6_env(env, "new", ifp, message, length); in dbus_send_dhcpv6_message() 422 retval = append_config(&dict, prefix, env, elen); in dbus_send_dhcpv6_message()
|
/external/wpa_supplicant_8/src/radius/ |
D | radius.c | 981 size_t elen[3]; in decrypt_ms_key() local 1010 elen[0] = secret_len; in decrypt_ms_key() 1013 elen[1] = MD5_MAC_LEN; in decrypt_ms_key() 1015 elen[2] = 2; /* Salt */ in decrypt_ms_key() 1018 elen[1] = MD5_MAC_LEN; in decrypt_ms_key() 1020 md5_vector(first ? 3 : 2, addr, elen, hash); in decrypt_ms_key() 1050 u8 *ebuf, size_t *elen) in encrypt_ms_key() argument 1067 *elen = len; in encrypt_ms_key() 1185 size_t elen; in radius_msg_add_mppe_keys() local 1208 secret_len, pos, &elen); in radius_msg_add_mppe_keys() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps_attr_parse.c | 84 u8 id, elen; in wps_parse_vendor_ext_wfa() local 88 elen = *pos++; in wps_parse_vendor_ext_wfa() 89 if (elen > end - pos) in wps_parse_vendor_ext_wfa() 91 if (wps_set_vendor_ext_wfa_subelem(attr, id, elen, pos) < 0) in wps_parse_vendor_ext_wfa() 93 pos += elen; in wps_parse_vendor_ext_wfa()
|
/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()
|
/external/wpa_supplicant_8/src/ap/ |
D | ieee802_11_shared.c | 442 const int elen = 2 + 1 + 10 + 5 + 1; in hostapd_update_time_adv() local 454 hapd->time_adv = wpabuf_alloc(elen); in hostapd_update_time_adv() 457 pos = wpabuf_put(hapd->time_adv, elen); in hostapd_update_time_adv()
|
D | gas_serv.c | 1308 u16 info_id, elen; in gas_serv_rx_gas_initial_req() local 1315 elen = WPA_GET_LE16(pos); in gas_serv_rx_gas_initial_req() 1318 if (elen > end - pos) { in gas_serv_rx_gas_initial_req() 1325 rx_anqp_query_list(hapd, pos, pos + elen, &qi); in gas_serv_rx_gas_initial_req() 1329 rx_anqp_vendor_specific(hapd, pos, pos + elen, &qi); in gas_serv_rx_gas_initial_req() 1338 pos += elen; in gas_serv_rx_gas_initial_req()
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
D | stroker.c | 1131 VGfloat elen = 0; in dash_stroker_process_subpath() local 1182 elen = line_lengthv(cline); in dash_stroker_process_subpath() 1184 estop = estart + elen; in dash_stroker_process_subpath() 1196 if (dpos > elen) { /* dash extends this line */ in dash_stroker_process_subpath() 1197 doffset = dash_pattern(stroker, idash) - (dpos - elen); in dash_stroker_process_subpath() 1203 line_point_at(cline, dpos/elen, p2); in dash_stroker_process_subpath()
|
/external/curl/lib/vtls/ |
D | vtls.c | 194 size_t elen = strlen(force_entropy); in Curl_rand() local 196 size_t min = elen < clen ? elen : clen; in Curl_rand()
|
/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 | 1283 u16 elen; in eapol_sm_rx_eapol() local 1285 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol() 1286 if (elen > plen && elen <= len - sizeof(*hdr)) { in eapol_sm_rx_eapol() 1296 "%d -> %d", (int) plen, elen); in eapol_sm_rx_eapol() 1297 plen = elen; in eapol_sm_rx_eapol()
|
/external/jemalloc/src/ |
D | ctl.c | 813 size_t elen, i, j; in ctl_lookup() local 819 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); in ctl_lookup() 820 if (elen == 0) { in ctl_lookup() 835 if (strlen(child->name) == elen && in ctl_lookup() 836 strncmp(elm, child->name, elen) == 0) { in ctl_lookup() 896 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); in ctl_lookup()
|
/external/mksh/src/ |
D | misc.c | 1850 size_t ilen, olen, nlen, elen; in c_cd() local 1876 elen = strlen(current_wd + ilen + olen) + 1; in c_cd() 1877 dir = allocd = alloc(ilen + nlen + elen, ATEMP); in c_cd() 1880 memcpy(dir + ilen + nlen, current_wd + ilen + olen, elen); in c_cd()
|
/external/icu/android_icu4j/src/main/java/android/icu/math/ |
D | BigDecimal.java | 512 int elen = 0; in BigDecimal() local 588 elen = length - ((k - offset)); // possible number of digits in BigDecimal() 589 if ((elen == 0) | (elen > 9)) in BigDecimal() 592 int $2 = elen; in BigDecimal()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/math/ |
D | BigDecimal.java | 526 int elen = 0; in BigDecimal() local 602 elen = length - ((k - offset)); // possible number of digits in BigDecimal() 603 if ((elen == 0) | (elen > 9)) in BigDecimal() 606 int $2 = elen; in BigDecimal()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/math/ |
D | BigDecimal.java | 528 int elen = 0; in BigDecimal() local 604 elen = length - ((k - offset)); // possible number of digits in BigDecimal() 605 if ((elen == 0) | (elen > 9)) in BigDecimal() 608 int $2 = elen; in BigDecimal()
|