/external/wpa_supplicant_8/src/common/ |
D | ieee802_11_common.c | 17 static int ieee802_11_parse_vendor_specific(const u8 *pos, size_t elen, in ieee802_11_parse_vendor_specific() argument 26 if (elen < 4) { in ieee802_11_parse_vendor_specific() 30 (unsigned long) elen); in ieee802_11_parse_vendor_specific() 45 elems->wpa_ie_len = elen; in ieee802_11_parse_vendor_specific() 49 if (elen < 5) { in ieee802_11_parse_vendor_specific() 53 (unsigned long) elen); in ieee802_11_parse_vendor_specific() 66 elems->wmm_len = elen; in ieee802_11_parse_vendor_specific() 70 elems->wmm_tspec_len = elen; in ieee802_11_parse_vendor_specific() 76 pos[4], (unsigned long) elen); in ieee802_11_parse_vendor_specific() 83 elems->wps_ie_len = elen; in ieee802_11_parse_vendor_specific() [all …]
|
/external/dhcpcd/ |
D | configure.c | 169 ssize_t e, elen, l; in make_env() local 183 elen = 2; in make_env() 185 elen = 10; in make_env() 188 env = xmalloc(sizeof(char *) * (elen + 1)); in make_env() 233 env[elen] = xmalloc(e); in make_env() 234 snprintf(env[elen++], e, "profile=%s", iface->state->profile); in make_env() 241 env = xrealloc(env, sizeof(char *) * (elen + 2)); in make_env() 242 env[elen] = xmalloc(e); in make_env() 243 snprintf(env[elen++], e, "new_ssid=%s", iface->ssid); in make_env() 248 env = xrealloc(env, sizeof(char *) * (elen + 2)); in make_env() [all …]
|
/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() 150 elen[i] = -2; /* element i is dead */ in minimum_degree_ordering() 158 elen[i] = -1; /* node i is dead */ in minimum_degree_ordering() 177 elenk = elen[k]; /* elenk = |Ek| */ in minimum_degree_ordering() 251 elen[k] = -2; /* k is now an element */ in minimum_degree_ordering() 258 if((eln = elen[i]) <= 0) continue;/* skip if elen[i] empty */ in minimum_degree_ordering() 280 p2 = p1 + elen[i] - 1; in minimum_degree_ordering() 301 elen[i] = pn - p1 + 1; /* elen[i] = |Ei| */ in minimum_degree_ordering() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wifi_display.c | 266 u16 elen; in wifi_display_subelem_hex() local 278 elen = WPA_GET_BE16(buf + i + 1); in wifi_display_subelem_hex() 279 if (i + WIFI_DISPLAY_SUBELEM_HEADER_LEN + elen > buflen) in wifi_display_subelem_hex() 291 if (elen > 1000) in wifi_display_subelem_hex() 293 subelem = os_zalloc(2 * elen + 1); in wifi_display_subelem_hex() 296 wpa_snprintf_hex(subelem, 2 * elen + 1, in wifi_display_subelem_hex() 299 elen); in wifi_display_subelem_hex() 303 i += elen + WIFI_DISPLAY_SUBELEM_HEADER_LEN; in wifi_display_subelem_hex()
|
D | wnm_sta.c | 329 u8 id, u8 elen, const u8 *pos) in wnm_parse_neighbor_report_elem() argument 333 if (elen < 2 + 2) { in wnm_parse_neighbor_report_elem() 345 if (elen < 2) { in wnm_parse_neighbor_report_elem() 358 if (elen < 1) { in wnm_parse_neighbor_report_elem() 371 if (elen < 10) { in wnm_parse_neighbor_report_elem() 384 if (elen < 8) { in wnm_parse_neighbor_report_elem() 396 if (elen < 1) { in wnm_parse_neighbor_report_elem() 406 rep->meas_pilot->subelem_len = elen - 1; in wnm_parse_neighbor_report_elem() 407 os_memcpy(rep->meas_pilot->subelems, pos + 1, elen - 1); in wnm_parse_neighbor_report_elem() 410 if (elen < 5) { in wnm_parse_neighbor_report_elem() [all …]
|
D | interworking.c | 356 u8 elen, auth_count, a; in nai_realm_parse_eap() local 364 elen = *pos++; in nai_realm_parse_eap() 365 if (pos + elen > end || elen < 2) { in nai_realm_parse_eap() 369 e_end = pos + elen; in nai_realm_parse_eap() 373 elen, e->method, auth_count); in nai_realm_parse_eap()
|
/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/wpa_supplicant_8/src/radius/ |
D | radius.c | 892 size_t elen[3]; in radius_msg_make_authenticator() local 897 elen[0] = sizeof(tv); in radius_msg_make_authenticator() 899 elen[1] = len; in radius_msg_make_authenticator() 901 elen[2] = sizeof(l); in radius_msg_make_authenticator() 902 md5_vector(3, addr, elen, msg->hdr->authenticator); in radius_msg_make_authenticator() 982 size_t elen[3]; in decrypt_ms_key() local 1008 elen[0] = secret_len; in decrypt_ms_key() 1011 elen[1] = MD5_MAC_LEN; in decrypt_ms_key() 1013 elen[2] = 2; /* Salt */ in decrypt_ms_key() 1016 elen[1] = MD5_MAC_LEN; in decrypt_ms_key() [all …]
|
/external/ppp/pppd/plugins/rp-pppoe/ |
D | common.c | 437 size_t elen = strlen(msg); in sendPADT() local 439 err.length = htons(elen); in sendPADT() 441 memcpy(cursor, &err, elen + TAG_HDR_SIZE); in sendPADT() 442 cursor += elen + TAG_HDR_SIZE; in sendPADT() 443 plen += elen + TAG_HDR_SIZE; in sendPADT()
|
/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 (pos + elen > end) 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/ap/ |
D | ieee802_11_shared.c | 430 const int elen = 2 + 1 + 10 + 5 + 1; in hostapd_update_time_adv() local 442 hapd->time_adv = wpabuf_alloc(elen); in hostapd_update_time_adv() 445 pos = wpabuf_put(hapd->time_adv, elen); in hostapd_update_time_adv()
|
D | gas_serv.c | 1090 u16 info_id, elen; in gas_serv_rx_gas_initial_req() local 1097 elen = WPA_GET_LE16(pos); in gas_serv_rx_gas_initial_req() 1100 if (pos + elen > end) { in gas_serv_rx_gas_initial_req() 1107 rx_anqp_query_list(hapd, pos, pos + elen, &qi); in gas_serv_rx_gas_initial_req() 1111 rx_anqp_vendor_specific(hapd, pos, pos + elen, &qi); in gas_serv_rx_gas_initial_req() 1120 pos += elen; in gas_serv_rx_gas_initial_req()
|
/external/chromium_org/third_party/mesa/src/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/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/wpa_supplicant_8/src/eapol_supp/ |
D | eapol_supp_sm.c | 1251 u16 elen; in eapol_sm_rx_eapol() local 1253 elen = be_to_host16(ehdr->length); in eapol_sm_rx_eapol() 1254 if (elen > plen && elen <= len - sizeof(*hdr)) { in eapol_sm_rx_eapol() 1264 "%d -> %d", (int) plen, elen); in eapol_sm_rx_eapol() 1265 plen = elen; in eapol_sm_rx_eapol()
|
/external/jemalloc/src/ |
D | ctl.c | 728 size_t elen, i, j; in ctl_lookup() local 734 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); in ctl_lookup() 735 if (elen == 0) { in ctl_lookup() 750 if (strlen(child->name) == elen && in ctl_lookup() 751 strncmp(elm, child->name, elen) == 0) { in ctl_lookup() 811 elen = (size_t)((uintptr_t)dot - (uintptr_t)elm); in ctl_lookup()
|
/external/openssl/apps/ |
D | req.c | 1594 int elen, slen; local 1596 elen = strlen(end); 1598 if(elen > slen) return 1; 1599 tmp = str + slen - elen;
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
D | req.c | 1584 int elen, slen; local 1586 elen = strlen(end); 1588 if(elen > slen) return 1; 1589 tmp = str + slen - elen;
|
/external/mksh/src/ |
D | misc.c | 1858 size_t ilen, olen, nlen, elen; in c_cd() local 1884 elen = strlen(current_wd + ilen + olen) + 1; in c_cd() 1885 dir = allocd = alloc(ilen + nlen + elen, ATEMP); in c_cd() 1888 memcpy(dir + ilen + nlen, current_wd + ilen + olen, elen); in c_cd()
|
/external/tcpdump/ |
D | print-isakmp.c | 442 int elen = 20; in ike_show_somedata() local 451 elen = ep - end; in ike_show_somedata() 457 if(elen) { in ike_show_somedata() 458 if(!rawprint(ndo, (caddr_t)(end), elen)) goto trunc; in ike_show_somedata()
|