/external/wpa_supplicant_8/src/wps/ |
D | wps_upnp_web.c | 232 xml_data_encode(buf, s, os_strlen(s)); in format_wps_device_xml() 333 extra_len += os_strlen(iface->wps->friendly_name); in web_connection_parse_get() 335 extra_len += os_strlen(iface->wps->manufacturer_url); in web_connection_parse_get() 337 extra_len += os_strlen(iface->wps->model_description); in web_connection_parse_get() 339 extra_len += os_strlen(iface->wps->model_url); in web_connection_parse_get() 341 extra_len += os_strlen(iface->wps->upc); in web_connection_parse_get() 345 extra_len = os_strlen(wps_scpd_xml); in web_connection_parse_get() 405 os_memcpy(put_length_here, len_buf, os_strlen(len_buf)); in web_connection_parse_get() 445 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info() 708 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply() [all …]
|
D | ndef.c | 152 record->type_length != os_strlen(wifi_handover_type)) in wifi_filter() 155 os_strlen(wifi_handover_type)) != 0) in wifi_filter() 171 os_strlen(wifi_handover_type), NULL, 0, buf); in ndef_build_wifi() 178 record->type_length != os_strlen(p2p_handover_type)) in p2p_filter() 181 os_strlen(p2p_handover_type)) != 0) in p2p_filter() 197 os_strlen(p2p_handover_type), NULL, 0, buf); in ndef_build_p2p()
|
D | upnp_xml.c | 164 xml_data_encode(buf, data, os_strlen(data)); in xml_add_tagged_data() 193 int match_len = os_strlen(item); in xml_get_first_item() 238 decoded = base64_decode((unsigned char *) msg, os_strlen(msg), &len); in xml_get_base64_item()
|
D | http_client.c | 261 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url() 341 len = os_strlen(url) + 1 + os_strlen(base) + 1; in http_link_update() 352 os_memcpy(n + (pos - base), url, os_strlen(url) + 1); in http_link_update() 360 os_memcpy(n + (pos - base) + 1, url, os_strlen(url) + in http_link_update()
|
D | wps_dev_attr.c | 21 len = dev->manufacturer ? os_strlen(dev->manufacturer) : 0; in wps_build_manufacturer() 45 len = dev->model_name ? os_strlen(dev->model_name) : 0; in wps_build_model_name() 69 len = dev->model_number ? os_strlen(dev->model_number) : 0; in wps_build_model_number() 93 len = dev->serial_number ? os_strlen(dev->serial_number) : 0; in wps_build_serial_number() 163 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name()
|
D | wps_upnp.c | 378 host_len = os_strlen(host); in subscr_addr_add_url() 379 path_len = path ? os_strlen(path) : 0; in subscr_addr_add_url() 504 buf_size += os_strlen(format_head); in upnp_wps_device_send_event() 505 buf_size += 50 + 2 * os_strlen("WLANEvent"); in upnp_wps_device_send_event() 507 buf_size += os_strlen(sm->wlanevent); in upnp_wps_device_send_event() 508 buf_size += os_strlen(format_tail); in upnp_wps_device_send_event() 663 buf = wpabuf_alloc(500 + os_strlen(wlan_event)); in subscription_first_event()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_passphrase.c | 50 if (os_strlen(passphrase) < 8 || os_strlen(passphrase) > 63) { in main() 55 pbkdf2_sha1(passphrase, (u8 *) ssid, os_strlen(ssid), 4096, psk, 32); in main()
|
D | p2p_supplicant_sd.c | 374 if (wpabuf_tailroom(resp) < 5 + 1 + os_strlen(usrv->service)) in wpas_sd_all_upnp() 458 if (wpabuf_tailroom(resp) < os_strlen(usrv->service)) in wpas_sd_req_upnp() 545 haystack_len = os_strlen(adv_data->svc_info); in find_p2ps_substr() 600 if (!prefix && svc_len != os_strlen(adv_data->svc_name)) in wpas_sd_req_asp() 606 size_t len = os_strlen(adv_data->svc_name); in wpas_sd_req_asp() 610 svc_info_len = os_strlen(adv_data->svc_info); in wpas_sd_req_asp() 973 tlvs = wpabuf_alloc(2 + 1 + 1 + 1 + os_strlen(query)); in wpas_p2p_sd_request_upnp() 976 wpabuf_put_le16(tlvs, 1 + 1 + 1 + os_strlen(query)); in wpas_p2p_sd_request_upnp() 994 svc_len = os_strlen(svc_str); in wpas_p2p_sd_request_asp() 996 substr_len = os_strlen(info_substr); in wpas_p2p_sd_request_asp()
|
D | wpa_cli.c | 180 end = txt + os_strlen(txt); in cli_txt_list_del_word() 230 end = txt + os_strlen(txt); in cli_txt_list_add_word() 282 return os_strncmp(src, match, os_strlen(match)) == 0; in str_starts() 334 flen = os_strlen(ctrl_iface_dir) + os_strlen(ifname) + 2; in wpa_cli_open_connection() 420 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in _wpa_ctrl_command() 925 buflen = 18 + os_strlen(argv[0]); in wpa_cli_cmd_wps_nfc_tag_read() 1902 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in wpa_ctrl_command_sta() 2314 ret = wpa_ctrl_request(ctrl, cmd, os_strlen(cmd), buf, &len, in wpa_ctrl_command_p2p_peer() 3401 len = os_strlen(cmd); in wpa_cli_edit_filter_history_cb() 3404 if (os_strncasecmp(cmd, c, len) == 0 && len == os_strlen(c)) in wpa_cli_edit_filter_history_cb() [all …]
|
D | ctrl_iface_unix.c | 275 len = os_strlen(dir) + os_strlen(wpa_s->ifname) + 2; in wpa_supplicant_ctrl_iface_path() 433 if (os_strlen(dir) + 1 + os_strlen(wpa_s->ifname) >= in wpas_ctrl_iface_open_sock() 690 io[idx].iov_len = os_strlen(ifname); in wpa_supplicant_ctrl_iface_send() 697 io[idx].iov_len = os_strlen(levelstr); in wpa_supplicant_ctrl_iface_send()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_cred.c | 89 plen = os_strlen(tag); in search_tag() 120 pos += os_strlen(pem_cert_begin); in tlsv1_add_cert() 144 end += os_strlen(pem_cert_end); in tlsv1_add_cert() 236 pos += os_strlen(pem_key2_begin); in tlsv1_set_key_pem() 242 pos += os_strlen(pem_key_begin); in tlsv1_set_key_pem() 277 pos += os_strlen(pem_key_enc_begin); in tlsv1_set_key_enc_pem() 447 pos += os_strlen(pem_dhparams_begin); in tlsv1_set_dhparams_blob()
|
/external/wpa_supplicant_8/src/utils/ |
D | edit.c | 51 for (i = 0; i < cmdbuf_len + 2 + (ps2 ? (int) os_strlen(ps2) : 0); i++) in edit_clear_line() 205 len = os_strlen(str); in history_add() 218 cmdbuf_len = cmdbuf_pos = os_strlen(history_curr->str); in history_use() 258 cmdbuf_len = cmdbuf_pos = os_strlen(currbuf); in history_next() 410 len = os_strlen(c[0]); in max_common_length() 870 size_t len = os_strlen(search_buf); in search_find() 922 cmdbuf_len = os_strlen(cmdbuf); in search_stop() 940 len = os_strlen(search_buf); in search_backspace() 960 len = os_strlen(search_buf); in search_char()
|
D | os_internal.c | 172 cwd_len = os_strlen(cwd); in os_rel2abs_path() 173 rel_len = os_strlen(rel_path); in os_rel2abs_path() 338 len = os_strlen(s); in os_strdup() 346 size_t os_strlen(const char *s) in os_strlen() function 490 size_t len = os_strlen(needle); in os_strstr()
|
D | edit_readline.c | 51 len = os_strlen(text); in readline_completion_func() 131 size_t blen = os_strlen(ps) + 3; in edit_init()
|
D | os.h | 387 size_t os_strlen(const char *s); 515 #ifndef os_strlen 516 #define os_strlen(s) strlen(s) macro
|
D | os_unix.c | 279 cwd_len = os_strlen(cwd); in os_rel2abs_path() 280 rel_len = os_strlen(rel_path); in os_rel2abs_path() 524 len = os_strlen(pos); in testing_fail_alloc() 649 len = os_strlen(s); in os_strdup()
|
/external/wpa_supplicant_8/hostapd/ |
D | config_file.c | 84 if (*pos == '\0' || os_strlen(pos) > IFNAMSIZ) { in hostapd_config_read_vlan_file() 599 attr->val = wpabuf_alloc_copy(pos, os_strlen(pos)); in hostapd_parse_radius_attr() 602 len = os_strlen(pos); in hostapd_parse_radius_attr() 652 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 752 size_t len = os_strlen(val); in hostapd_config_read_wep() 1205 size_t len = os_strlen(pos); in parse_roaming_consortium() 1254 clen = os_strlen(pos); in parse_lang_string() 1257 nlen = os_strlen(sep); in parse_lang_string() 1339 mnc_len = os_strlen(mnc); in parse_3gpp_cell_net() 1340 if (os_strlen(mcc) != 3 || (mnc_len != 2 && mnc_len != 3)) in parse_3gpp_cell_net() [all …]
|
D | ctrl_iface.c | 229 (u8 *) cmd, os_strlen(cmd)); in hostapd_ctrl_iface_wps_check_pin() 273 len = os_strlen(pos); in hostapd_ctrl_iface_wps_nfc_tag_read() 433 len = os_strlen(pos); in hostapd_ctrl_iface_nfc_report_handover() 446 len = os_strlen(pos2); in hostapd_ctrl_iface_nfc_report_handover() 522 if (os_strlen(pin) > buflen) in hostapd_ctrl_iface_wps_ap_pin() 683 url_len = os_strlen(pos); in hostapd_ctrl_iface_hs20_deauth_req() 1004 len = os_strlen(pos); in hostapd_ctrl_iface_bss_tm_req() 1031 len = os_strlen(pos); in hostapd_ctrl_iface_bss_tm_req() 1449 len = os_strlen(cmd); in hostapd_ctrl_iface_mgmt_tx() 1486 len = os_strlen(pos); in hostapd_ctrl_iface_eapol_rx() [all …]
|
/external/wpa_supplicant_8/src/crypto/ |
D | sha1-tlsprf.c | 49 MD5_len[1] = os_strlen(label); in tls_prf_sha1_md5() 56 SHA1_len[1] = os_strlen(label); in tls_prf_sha1_md5()
|
/external/wpa_supplicant_8/src/ap/ |
D | eap_user_db.c | 87 user->password_len = os_strlen(argv[i]); in get_user_cb() 117 len = os_strlen(argv[id]); in get_wildcard_cb() 122 user->password_len = os_strlen(argv[id]); in get_wildcard_cb() 248 os_strlen(conf->ap_pin) : 0; in hostapd_get_eap_user()
|
D | accounting.c | 63 (u8 *) buf, os_strlen(buf))) { in accounting_msg() 96 len = os_strlen(sta->identity); in accounting_msg() 105 len = os_strlen(buf); in accounting_msg() 146 os_strlen(sta->radius_cui))) { in accounting_msg()
|
D | vlan_util.c | 43 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { in vlan_add() 49 if ((os_strlen(vlan_if_name) + 1) > IFNAMSIZ) { in vlan_add()
|
D | gas_serv.c | 286 (int) os_strlen(realm->realm[realm_idx])); in anqp_add_nai_realm_data() 289 wpabuf_put_u8(buf, os_strlen(realm->realm[realm_idx])); in anqp_add_nai_realm_data() 353 if ((int) os_strlen(realm->realm[k]) != in hs20_add_nai_home_realm_matches() 542 wpabuf_put_u8(buf, os_strlen(p->server_uri)); in anqp_add_osu_provider() 570 wpabuf_put_u8(buf, os_strlen(icon->type)); in anqp_add_osu_provider() 572 wpabuf_put_u8(buf, os_strlen(icon->name)); in anqp_add_osu_provider() 579 wpabuf_put_u8(buf, os_strlen(p->osu_nai)); in anqp_add_osu_provider() 640 if (name_len == os_strlen(icon->name) && in anqp_add_icon_binary_file() 668 wpabuf_put_u8(buf, os_strlen(icon->type)); in anqp_add_icon_binary_file()
|
D | ieee802_11_auth.c | 172 os_strlen(buf))) { in hostapd_radius_acl_query() 178 msg, (u8 *) buf, os_strlen(buf), in hostapd_radius_acl_query() 192 (u8 *) buf, os_strlen(buf))) { in hostapd_radius_acl_query() 199 (u8 *) buf, os_strlen(buf))) { in hostapd_radius_acl_query()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_mschapv2.c | 151 os_strlen(message); in eap_mschapv2_build_success_req() 176 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_success_req() 194 ms_len = sizeof(*ms) + os_strlen(message); in eap_mschapv2_build_failure_req() 209 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_failure_req() 212 (u8 *) message, os_strlen(message)); in eap_mschapv2_build_failure_req()
|