Home
last modified time | relevance | path

Searched refs:os_strdup (Results 1 – 25 of 88) sorted by relevance

1234

/external/wpa_supplicant_8/hostapd/
Dconfig_file.c314 conf->eap_user_sqlite = os_strdup(fname + 7); in hostapd_config_read_eap_user()
747 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client()
762 buf = os_strdup(value); in hostapd_config_parse_key_mgmt()
2045 bss->last_osu->server_uri = os_strdup(pos); in hs20_parse_osu_server_uri()
2079 bss->last_osu->osu_nai = os_strdup(pos); in hs20_parse_osu_nai()
2096 bss->last_osu->osu_nai2 = os_strdup(pos); in hs20_parse_osu_nai2()
2137 p->icons[p->icons_count] = os_strdup(pos); in hs20_parse_osu_icon()
2175 bss->hs20_operator_icon[bss->hs20_operator_icon_count] = os_strdup(pos); in hs20_parse_operator_icon()
2349 pw->identifier = os_strdup(pos2); in parse_sae_password()
2355 pw->password = os_strdup(val); in parse_sae_password()
[all …]
Dhostapd_cli.c161 next_ctrl_ifname = os_strdup(ifname); in hostapd_cli_reconnect()
1073 res[i] = os_strdup(fields[i]); in hostapd_complete_set()
1118 res[i] = os_strdup(fields[i]); in hostapd_complete_get()
1866 res[i] = os_strdup(hostapd_cli_commands[i].cmd); in list_cmd_list()
2031 ctrl_ifname = os_strdup(optarg); in main()
2069 ctrl_ifname = os_strdup(dent->d_name); in main()
/external/wpa_supplicant_8/src/utils/
Dos.h380 char * os_strdup(const char *s);
482 char * os_strdup(const char *s);
493 #ifndef os_strdup
495 #define os_strdup(s) _strdup(s) macro
497 #define os_strdup(s) strdup(s) macro
Dos_internal.c154 return os_strdup(rel_path); in os_rel2abs_path()
332 char * os_strdup(const char *s) in os_strdup() function
521 _program = os_strdup(program); in os_exec()
522 _arg = os_strdup(arg); in os_exec()
Dbrowser.c132 ctx->hover_link = os_strdup(uri); in view_cb_hovering_over_link()
146 ctx->title = os_strdup(title); in view_cb_title_changed()
Dos_unix.c298 return os_strdup(rel_path); in os_rel2abs_path()
801 char * os_strdup(const char *s) in os_strdup() function
835 _program = os_strdup(program); in os_exec()
836 _arg = os_strdup(arg); in os_exec()
Dext_password_test.c29 data->params = os_strdup(params); in ext_password_test_init()
Dos_none.c165 char * os_strdup(const char *s) in os_strdup() function
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers_wps.c447 new_methods = os_strdup(methods); in wpas_dbus_setter_config_methods()
504 devname = os_strdup(methods); in wpas_dbus_setter_wps_device_name()
560 manufacturer = os_strdup(methods); in wpas_dbus_setter_wps_manufacturer()
616 model_name = os_strdup(methods); in wpas_dbus_setter_wps_device_model_name()
671 model_number = os_strdup(methods); in wpas_dbus_setter_wps_device_model_number()
728 serial_number = os_strdup(methods); in wpas_dbus_setter_wps_device_serial_number()
Ddbus_new_handlers_p2p.c345 pg_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_group_add()
466 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
471 interface_addr = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
552 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_connect()
586 pin = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_connect()
714 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_invite()
719 pg_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_invite()
1009 devname = os_strdup(entry.str_value); in wpas_dbus_setter_p2p_device_config()
1097 postfix = os_strdup(entry.str_value); in wpas_dbus_setter_p2p_device_config()
1377 tmp = os_strdup(info->device_name); in wpas_dbus_getter_p2p_peer_device_name()
[all …]
Ddbus_dict_helpers.c707 str = os_strdup(value); in _wpa_dbus_dict_entry_get_string_array()
864 entry->str_value = os_strdup(v); in _wpa_dbus_dict_fill_value_from_variant()
872 entry->str_value = os_strdup(v); in _wpa_dbus_dict_fill_value_from_variant()
Ddbus_new_helpers.c481 obj_desc->path = os_strdup(dbus_path); in wpa_dbus_ctrl_iface_init()
546 obj_desc->path = os_strdup(path); in wpa_dbus_register_object_per_iface()
975 obj_path_only = os_strdup(path); in wpas_dbus_new_decompose_object_path()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c142 cfile = os_strdup(ifname); in wpa_cli_open_connection()
510 res[i] = os_strdup(fields[i]); in wpa_cli_complete_set()
602 res[i] = os_strdup(fields[i]); in wpa_cli_complete_get()
1493 res[i] = os_strdup(network_fields[i]); in wpa_cli_complete_network()
1545 res[i] = os_strdup(network_fields[i]); in wpa_cli_complete_dup_network()
1607 res[i] = os_strdup(cred_fields[i]); in wpa_cli_complete_cred()
1748 res[i] = os_strdup(fields[i]); in wpa_cli_complete_get_capability()
1757 res[0] = os_strdup("strict"); in wpa_cli_complete_get_capability()
1779 ctrl_ifname = os_strdup(argv[0]); in wpa_cli_cmd_interface()
2086 res[0] = os_strdup("type=social"); in wpa_cli_complete_p2p_find()
[all …]
Dap.c388 bss->ssid.wpa_passphrase = os_strdup(ssid->passphrase); in wpa_supplicant_conf_ap()
530 bss->config_methods = os_strdup(wpa_s->conf->config_methods); in wpa_supplicant_conf_ap()
534 bss->device_name = os_strdup(wpa_s->conf->device_name); in wpa_supplicant_conf_ap()
535 bss->friendly_name = os_strdup(wpa_s->conf->device_name); in wpa_supplicant_conf_ap()
538 bss->manufacturer = os_strdup(wpa_s->conf->manufacturer); in wpa_supplicant_conf_ap()
540 bss->model_name = os_strdup(wpa_s->conf->model_name); in wpa_supplicant_conf_ap()
542 bss->model_number = os_strdup(wpa_s->conf->model_number); in wpa_supplicant_conf_ap()
544 bss->serial_number = os_strdup(wpa_s->conf->serial_number); in wpa_supplicant_conf_ap()
1124 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_random()
1157 hapd->conf->ap_pin = os_strdup(pin_txt); in wpas_wps_ap_pin_set()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c378 name = os_strdup(ctrl_path); in wpa_ctrl_open()
406 ctrl->remote_ip = os_strdup(name); in wpa_ctrl_open()
424 ctrl->remote_ip = os_strdup("localhost"); in wpa_ctrl_open()
451 ctrl->cookie = os_strdup(buf); in wpa_ctrl_open()
456 ctrl->remote_ifname = os_strdup(buf); in wpa_ctrl_open()
Dcli.c130 e->txt = os_strdup(txt); in cli_txt_list_add()
183 res[i] = os_strdup(e->txt); in cli_txt_list_array()
/external/wpa_supplicant_8/src/ap/
Deap_user_db.c28 buf = os_strdup(methods); in set_user_methods()
88 user->password = (u8 *) os_strdup(argv[i]); in get_user_cb()
125 user->password = (u8 *) os_strdup(argv[id]); in get_wildcard_cb()
Dpreauth_auth.c108 piface->ifname = os_strdup(ifname); in rsn_preauth_iface_add()
156 tmp = os_strdup(hapd->conf->rsn_preauth_interfaces); in rsn_preauth_iface_init()
Dwps_hostapd.c1057 os_strdup(hapd->conf->device_name) : NULL; in hostapd_init_wps()
1059 os_strdup(hapd->conf->manufacturer) : NULL; in hostapd_init_wps()
1061 os_strdup(hapd->conf->model_name) : NULL; in hostapd_init_wps()
1063 os_strdup(hapd->conf->model_number) : NULL; in hostapd_init_wps()
1065 os_strdup(hapd->conf->serial_number) : NULL; in hostapd_init_wps()
1142 wps->network_key = (u8 *) os_strdup(conf->ssid.wpa_passphrase); in hostapd_init_wps()
1589 ctx->ap_pin = os_strdup(hapd->conf->ap_pin); in hostapd_wps_upnp_init()
1678 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set()
/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c657 own_dir = os_strdup(pos + 8); in wpa_driver_privsep_set_param()
664 own_dir = os_strdup("/tmp"); in wpa_driver_privsep_set_param()
675 priv_dir = os_strdup(pos + 9); in wpa_driver_privsep_set_param()
684 priv_dir = os_strdup("/var/run/wpa_priv"); in wpa_driver_privsep_set_param()
/external/wpa_supplicant_8/hs20/client/
Doma_dm_client.c90 ret = os_strdup(uri); in oma_dm_get_target_locuri()
546 uri = os_strdup(pos); in oma_dm_run_add()
957 ctx->server_url = os_strdup(url); in oma_dm_send_recv()
1030 resp_uri = os_strdup(tmp); in oma_dm_process()
1345 ctx->fqdn = os_strdup("wi-fi.org"); in cmd_oma_dm_add()
1376 ctx->fqdn = os_strdup("wi-fi.org"); in cmd_oma_dm_replace()
Dspp_client.c795 ctx->server_url = os_strdup(address); in spp_sub_rem()
942 ctx->server_url = os_strdup(address); in spp_pol_upd()
967 ctx->server_url = os_strdup(url); in cmd_prov()
989 ctx->server_url = os_strdup(url); in cmd_sim_prov()
/external/wpa_supplicant_8/src/radius/
Dradius_server.c759 sess->nas_ip = os_strdup(from_addr); in radius_server_get_new_session()
1609 sess->last_from_addr = os_strdup(from_addr); in radius_server_request()
2277 entry->shared_secret = os_strdup(pos); in radius_server_read_clients()
2374 data->eap_fast_a_id_info = os_strdup(conf->eap_fast_a_id_info); in radius_server_init()
2399 os_strdup(conf->subscr_remediation_url); in radius_server_init()
2404 os_strdup(conf->hs20_sim_provisioning_url); in radius_server_init()
2407 data->t_c_server_url = os_strdup(conf->t_c_server_url); in radius_server_init()
2422 data->dump_msk_file = os_strdup(conf->dump_msk_file); in radius_server_init()
2841 fields->identity = os_strdup(argv[i]); in get_db_session_fields()
2844 fields->nas = os_strdup(argv[i]); in get_db_session_fields()
/external/wpa_supplicant_8/src/crypto/
Dtls_wolfssl.c389 conn->subject_match = os_strdup(subject_match); in tls_connection_set_subject_match()
397 conn->alt_subject_match = os_strdup(alt_subject_match); in tls_connection_set_subject_match()
405 conn->suffix_match = os_strdup(suffix_match); in tls_connection_set_subject_match()
413 conn->domain_match = os_strdup(domain_match); in tls_connection_set_subject_match()
525 passwd = os_strdup(private_key_passwd); in tls_connection_private_key()
1398 passwd = os_strdup(private_key_passwd); in tls_global_private_key()
/external/wpa_supplicant_8/src/eap_peer/
Dtncc.c975 imc->name = os_strdup((char *) name); in tncc_read_config_reg()
976 imc->path = os_strdup((char *) val); in tncc_read_config_reg()
1049 imc->name = os_strdup(pos); in tncc_parse_imc()
1062 imc->path = os_strdup(pos); in tncc_parse_imc()

1234