/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() 334 extra_len += os_strlen(iface->wps->friendly_name); in web_connection_parse_get() 336 extra_len += os_strlen(iface->wps->manufacturer_url); in web_connection_parse_get() 338 extra_len += os_strlen(iface->wps->model_description); in web_connection_parse_get() 340 extra_len += os_strlen(iface->wps->model_url); in web_connection_parse_get() 342 extra_len += os_strlen(iface->wps->upc); in web_connection_parse_get() 346 extra_len = os_strlen(wps_scpd_xml); in web_connection_parse_get() 406 os_memcpy(put_length_here, len_buf, os_strlen(len_buf)); in web_connection_parse_get() 454 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info() 778 buf = wpabuf_alloc(1000 + (replydata ? os_strlen(replydata) : 0U) + in web_connection_send_reply() [all …]
|
D | ndef.c | 158 record->type_length != os_strlen(wifi_handover_type)) in wifi_filter() 161 os_strlen(wifi_handover_type)) != 0) in wifi_filter() 177 os_strlen(wifi_handover_type), NULL, 0, buf); in ndef_build_wifi() 184 record->type_length != os_strlen(p2p_handover_type)) in p2p_filter() 187 os_strlen(p2p_handover_type)) != 0) in p2p_filter() 203 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 | 255 req_buf = wpabuf_alloc(os_strlen(url) + 1000); in http_client_url() 335 len = os_strlen(url) + 1 + os_strlen(base) + 1; in http_link_update() 346 os_memcpy(n + (pos - base), url, os_strlen(url) + 1); in http_link_update() 354 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/src/fst/ |
D | fst_ctrl_iface.c | 26 if (os_strncmp(group_id, id, os_strlen(group_id)) == 0) in get_fst_group_by_id() 418 os_strlen(FST_CTR_SEND_SETUP_REQUEST))) { in test_request() 420 p + os_strlen(FST_CTR_SEND_SETUP_REQUEST)); in test_request() 422 os_strlen(FST_CTR_SEND_SETUP_RESPONSE))) { in test_request() 424 p + os_strlen(FST_CTR_SEND_SETUP_RESPONSE)); in test_request() 426 os_strlen(FST_CTR_SEND_ACK_REQUEST))) { in test_request() 428 p + os_strlen(FST_CTR_SEND_ACK_REQUEST)); in test_request() 430 os_strlen(FST_CTR_SEND_ACK_RESPONSE))) { in test_request() 432 p + os_strlen(FST_CTR_SEND_ACK_RESPONSE)); in test_request() 434 os_strlen(FST_CTR_SEND_TEAR_DOWN))) { in test_request() [all …]
|
/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 474 size_t len = os_strlen(needle); in os_strstr()
|
D | common.c | 670 size_t tlen, hlen = os_strlen(value); in wpa_config_parse_string() 962 size_t len = os_strlen(str); in str_clear_free() 1068 in_size = os_strlen(inp); in utf8_unescape() 1119 in_size = os_strlen(inp); in utf8_escape() 1204 return os_strncmp(str, start, os_strlen(start)) == 0; in str_starts() 1239 pos += os_strlen(param); in get_param() 1244 len = os_strlen(pos); in get_param()
|
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_unix.c | 319 cwd_len = os_strlen(cwd); in os_rel2abs_path() 320 rel_len = os_strlen(rel_path); in os_rel2abs_path() 608 len = os_strlen(pos); in testing_fail_alloc() 680 len = os_strlen(pos); in testing_test_fail() 805 len = os_strlen(s); in os_strdup()
|
D | os.h | 387 size_t os_strlen(const char *s); 515 #ifndef os_strlen 516 #define os_strlen(s) strlen(s) macro
|
/external/wpa_supplicant_8/hostapd/ |
D | hlr_auc_gw.c | 317 if (!pos || os_strlen(pos) >= sizeof(g->imsi)) { in read_gsm_triplets() 326 if (!pos || os_strlen(pos) != 16 || hexstr2bin(pos, g->kc, 8)) { in read_gsm_triplets() 334 if (!pos || os_strlen(pos) != 8 || in read_gsm_triplets() 343 if (!pos || os_strlen(pos) != 32 || in read_gsm_triplets() 429 if (!pos || os_strlen(pos) >= sizeof(m->imsi)) { in read_milenage() 438 if (!pos || os_strlen(pos) != 32 || in read_milenage() 447 if (!pos || os_strlen(pos) != 32 || in read_milenage() 456 if (!pos || os_strlen(pos) != 4 || hexstr2bin(pos, m->amf, 2)) { in read_milenage() 464 if (!pos || os_strlen(pos) != 12 || in read_milenage() 921 if (sendto(s, resp, os_strlen(resp), 0, (struct sockaddr *) &from, in process()
|
D | config_file.c | 89 if (*pos == '\0' || os_strlen(pos) > IFNAMSIZ) { in hostapd_config_read_vlan_file() 698 attr->val = wpabuf_alloc_copy(pos, os_strlen(pos)); in hostapd_parse_radius_attr() 701 len = os_strlen(pos); in hostapd_parse_radius_attr() 750 bss->radius_das_shared_secret_len = os_strlen(secret); in hostapd_parse_das_client() 878 size_t len = os_strlen(val); in hostapd_config_read_wep() 1410 size_t len = os_strlen(pos); in parse_roaming_consortium() 1459 clen = os_strlen(pos); in parse_lang_string() 1462 nlen = os_strlen(sep); in parse_lang_string() 1512 nlen = os_strlen(sep); in parse_venue_url() 1582 mnc_len = os_strlen(mnc); in parse_3gpp_cell_net() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_passphrase.c | 51 len = os_strlen(passphrase); in main() 61 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() 609 if (!prefix && svc_len != os_strlen(adv_data->svc_name)) in wpas_sd_req_asp() 615 size_t len = os_strlen(adv_data->svc_name); in wpas_sd_req_asp() 619 svc_info_len = os_strlen(adv_data->svc_info); in wpas_sd_req_asp() 982 tlvs = wpabuf_alloc(2 + 1 + 1 + 1 + os_strlen(query)); in wpas_p2p_sd_request_upnp() 985 wpabuf_put_le16(tlvs, 1 + 1 + 1 + os_strlen(query)); in wpas_p2p_sd_request_upnp() 1003 svc_len = os_strlen(svc_str); in wpas_p2p_sd_request_asp() 1005 substr_len = os_strlen(info_substr); in wpas_p2p_sd_request_asp()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers_wps.c | 315 (os_strlen(npin) > 0 && in wpas_dbus_handler_wps_start() 501 if (os_strlen(methods) > WPS_DEV_NAME_MAX_LEN) in wpas_dbus_setter_wps_device_name() 557 if (os_strlen(methods) > WPS_MANUFACTURER_MAX_LEN) in wpas_dbus_setter_wps_manufacturer() 613 if (os_strlen(methods) > WPS_MODEL_NAME_MAX_LEN) in wpas_dbus_setter_wps_device_model_name() 668 if (os_strlen(methods) > WPS_MODEL_NUMBER_MAX_LEN) in wpas_dbus_setter_wps_device_model_number() 725 if (os_strlen(methods) > WPS_SERIAL_NUMBER_MAX_LEN) in wpas_dbus_setter_wps_device_serial_number()
|
/external/wpa_supplicant_8/src/ap/ |
D | eap_user_db.c | 87 user->password_len = os_strlen(argv[i]); in get_user_cb() 119 len = os_strlen(argv[id]); in get_wildcard_cb() 124 user->password_len = os_strlen(argv[id]); in get_wildcard_cb() 256 os_strlen(conf->ap_pin) : 0; in hostapd_get_eap_user()
|
D | vlan_ioctl.c | 25 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_rem() 71 if ((os_strlen(if_name) + 1) > sizeof(if_request.device1)) { in vlan_add()
|
D | vlan_util.c | 34 if ((os_strlen(if_name) + 1) > IFNAMSIZ) { in vlan_add() 40 if ((os_strlen(vlan_if_name) + 1) > IFNAMSIZ) { in vlan_add()
|
D | accounting.c | 77 len = os_strlen(sta->identity); in accounting_msg() 86 len = os_strlen(buf); in accounting_msg() 127 os_strlen(sta->radius_cui))) { in accounting_msg() 448 (u8 *) buf, os_strlen(buf))) in accounting_report_state()
|
/external/wpa_supplicant_8/src/crypto/ |
D | sha1-tlsprf.c | 46 MD5_len[1] = os_strlen(label); in tls_prf_sha1_md5() 53 SHA1_len[1] = os_strlen(label); in tls_prf_sha1_md5()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_mschapv2.c | 150 os_strlen(message); in eap_mschapv2_build_success_req() 175 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_success_req() 193 ms_len = sizeof(*ms) + os_strlen(message); in eap_mschapv2_build_failure_req() 208 wpabuf_put_data(req, message, os_strlen(message)); in eap_mschapv2_build_failure_req() 211 (u8 *) message, os_strlen(message)); in eap_mschapv2_build_failure_req()
|
/external/wpa_supplicant_8/src/tls/ |
D | tlsv1_cred.c | 94 plen = os_strlen(tag); in search_tag() 125 pos += os_strlen(pem_cert_begin); in tlsv1_add_cert() 149 end += os_strlen(pem_cert_end); in tlsv1_add_cert() 207 if (os_strlen(pos) != 32 * 2) { in tlsv1_set_ca_cert() 278 pos += os_strlen(pem_key2_begin); in tlsv1_set_key_pem() 284 pos += os_strlen(pem_key_begin); in tlsv1_set_key_pem() 319 pos += os_strlen(pem_key_enc_begin); in tlsv1_set_key_enc_pem() 1220 pos += os_strlen(pem_dhparams_begin); in tlsv1_set_dhparams_blob()
|