Home
last modified time | relevance | path

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

1234

/external/wpa_supplicant_8/hostapd/
Dconfig_file.c307 conf->eap_user_sqlite = os_strdup(fname + 7); in hostapd_config_read_eap_user()
671 bss->radius_das_shared_secret = (u8 *) os_strdup(secret); in hostapd_parse_das_client()
686 buf = os_strdup(value); in hostapd_config_parse_key_mgmt()
1891 bss->last_osu->server_uri = os_strdup(pos); in hs20_parse_osu_server_uri()
1925 bss->last_osu->osu_nai = os_strdup(pos); in hs20_parse_osu_nai()
1942 bss->last_osu->osu_nai2 = os_strdup(pos); in hs20_parse_osu_nai2()
1983 p->icons[p->icons_count] = os_strdup(pos); in hs20_parse_osu_icon()
2021 bss->hs20_operator_icon[bss->hs20_operator_icon_count] = os_strdup(pos); in hs20_parse_operator_icon()
2243 tmp = os_strdup(pos2); in parse_sae_password()
2260 pw->identifier = os_strdup(pos2); in parse_sae_password()
[all …]
Dhostapd_cli.c164 next_ctrl_ifname = os_strdup(ifname); in hostapd_cli_reconnect()
1074 res[i] = os_strdup(fields[i]); in hostapd_complete_set()
1119 res[i] = os_strdup(fields[i]); in hostapd_complete_get()
1920 res[i] = os_strdup(hostapd_cli_commands[i].cmd); in list_cmd_list()
2086 ctrl_ifname = os_strdup(optarg); in main()
2127 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.c160 return os_strdup(rel_path); in os_rel2abs_path()
338 char * os_strdup(const char *s) in os_strdup() function
527 _program = os_strdup(program); in os_exec()
528 _arg = os_strdup(arg); in os_exec()
Dbrowser.c175 ctx->hover_link = os_strdup(uri); in view_cb_mouse_target_changed()
191 ctx->title = os_strdup(title); in view_cb_notify_title()
271 ctx->hover_link = os_strdup(uri); in view_cb_hovering_over_link()
285 ctx->title = os_strdup(title); in view_cb_title_changed()
Dos_unix.c304 return os_strdup(rel_path); in os_rel2abs_path()
812 char * os_strdup(const char *s) in os_strdup() function
846 _program = os_strdup(program); in os_exec()
847 _arg = os_strdup(arg); in os_exec()
Dext_password_test.c29 data->params = os_strdup(params); in ext_password_test_init()
Dext_password_file.c46 data->path = os_strdup(params); in ext_password_file_init()
Dos_none.c165 char * os_strdup(const char *s) in os_strdup() function
Dxml-utils.c52 search = os_strdup(uri); in get_node_uri()
95 search = os_strdup(path); in get_node()
/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.c382 pg_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_group_add()
513 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
518 interface_addr = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_remove_client()
599 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_connect()
633 pin = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_connect()
761 peer_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_invite()
766 pg_object_path = os_strdup(entry.str_value); in wpas_dbus_handler_p2p_invite()
1058 devname = os_strdup(entry.str_value); in wpas_dbus_setter_p2p_device_config()
1146 postfix = os_strdup(entry.str_value); in wpas_dbus_setter_p2p_device_config()
1426 tmp = os_strdup(info->device_name); in wpas_dbus_getter_p2p_peer_device_name()
[all …]
Ddbus_new_helpers.c482 obj_desc->path = os_strdup(dbus_path); in wpa_dbus_ctrl_iface_init()
547 obj_desc->path = os_strdup(path); in wpa_dbus_register_object_per_iface()
977 obj_path_only = os_strdup(path); in wpas_dbus_new_decompose_object_path()
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()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_cli.c145 cfile = os_strdup(ifname); in wpa_cli_open_connection()
515 res[i] = os_strdup(fields[i]); in wpa_cli_complete_set()
608 res[i] = os_strdup(fields[i]); in wpa_cli_complete_get()
1500 res[i] = os_strdup(network_fields[i]); in wpa_cli_complete_network()
1552 res[i] = os_strdup(network_fields[i]); in wpa_cli_complete_dup_network()
1614 res[i] = os_strdup(cred_fields[i]); in wpa_cli_complete_cred()
1771 res[i] = os_strdup(fields[i]); in wpa_cli_complete_get_capability()
1782 res[0] = os_strdup("strict"); in wpa_cli_complete_get_capability()
1786 res[i + 1] = os_strdup(iftypes[i]); in wpa_cli_complete_get_capability()
1795 res[0] = os_strdup("strict"); in wpa_cli_complete_get_capability()
[all …]
Dap.c460 bss->ssid.wpa_passphrase = os_strdup(ssid->passphrase); in wpa_supplicant_conf_ap()
470 bss->ssid.wpa_passphrase = os_strdup(ssid->passphrase); in wpa_supplicant_conf_ap()
497 pw->password = os_strdup(ssid->sae_password); in wpa_supplicant_conf_ap()
503 pw->identifier = os_strdup(ssid->sae_password_id); in wpa_supplicant_conf_ap()
642 bss->config_methods = os_strdup(wpa_s->conf->config_methods); in wpa_supplicant_conf_ap()
646 bss->device_name = os_strdup(wpa_s->conf->device_name); in wpa_supplicant_conf_ap()
647 bss->friendly_name = os_strdup(wpa_s->conf->device_name); in wpa_supplicant_conf_ap()
650 bss->manufacturer = os_strdup(wpa_s->conf->manufacturer); in wpa_supplicant_conf_ap()
652 bss->model_name = os_strdup(wpa_s->conf->model_name); in wpa_supplicant_conf_ap()
654 bss->model_number = os_strdup(wpa_s->conf->model_number); in wpa_supplicant_conf_ap()
[all …]
/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()
Dauthsrv.c202 os_strdup(hapd->conf->eap_fast_a_id_info); in authsrv_eap_config()
218 cfg->server_id = (u8 *) os_strdup(hapd->conf->server_id); in authsrv_eap_config()
221 cfg->server_id = (u8 *) os_strdup("hostapd"); in authsrv_eap_config()
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.c1126 os_strdup(hapd->conf->device_name) : NULL; in hostapd_init_wps()
1128 os_strdup(hapd->conf->manufacturer) : NULL; in hostapd_init_wps()
1130 os_strdup(hapd->conf->model_name) : NULL; in hostapd_init_wps()
1132 os_strdup(hapd->conf->model_number) : NULL; in hostapd_init_wps()
1134 os_strdup(hapd->conf->serial_number) : NULL; in hostapd_init_wps()
1225 wps->network_key = (u8 *) os_strdup(conf->ssid.wpa_passphrase); in hostapd_init_wps()
1393 (u8 *) os_strdup( in hostapd_wps_update_multi_ap()
1468 wps->network_key = (u8 *) os_strdup(conf->ssid.wpa_passphrase); in hostapd_update_wps()
1767 ctx->ap_pin = os_strdup(hapd->conf->ap_pin); in hostapd_wps_upnp_init()
1856 hapd->conf->ap_pin = os_strdup(data->pin_txt); in wps_ap_pin_set()
/external/wpa_supplicant_8/src/common/
Dwpa_ctrl.c377 name = os_strdup(ctrl_path); in wpa_ctrl_open()
405 ctrl->remote_ip = os_strdup(name); in wpa_ctrl_open()
423 ctrl->remote_ip = os_strdup("localhost"); in wpa_ctrl_open()
450 ctrl->cookie = os_strdup(buf); in wpa_ctrl_open()
455 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/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/drivers/
Ddriver_privsep.c663 own_dir = os_strdup(pos + 8); in wpa_driver_privsep_set_param()
670 own_dir = os_strdup("/tmp"); in wpa_driver_privsep_set_param()
681 priv_dir = os_strdup(pos + 9); in wpa_driver_privsep_set_param()
690 priv_dir = os_strdup("/var/run/wpa_priv"); in wpa_driver_privsep_set_param()

1234