Home
last modified time | relevance | path

Searched refs:os_calloc (Results 1 – 25 of 35) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/os/
Dos_memory.h52 os_calloc(size_t count, size_t size);
Dos_memory_stdc.h44 #define os_calloc(_count, _size ) calloc(_count, _size ) macro
Dos_memory_debug.h73 #define os_calloc( _count, _size ) \ macro
/external/mesa3d/src/gallium/auxiliary/util/
Du_memory.h50 #define CALLOC(_count, _size) os_calloc(_count, _size)
/external/wpa_supplicant_8/wpa_supplicant/
Dscan.c318 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); in wpa_supplicant_build_filter_ssids()
346 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
370 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
396 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
408 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
549 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in wpa_setband_scan_freqs_list()
970 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1031 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1238 params.filter_ssids = os_calloc(wpa_s->max_match_sets, in wpa_supplicant_req_sched_scan()
2319 params.filter_ssids = os_calloc(num_match_ssid, in wpas_start_pno()
Dmesh.c144 ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, in wpa_supplicant_mesh_init()
217 conf->basic_rates = os_calloc(rate_len + 1, sizeof(int)); in wpa_supplicant_mesh_init()
Dwpa_cli.c246 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array()
670 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_set()
752 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_get()
1609 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_network()
1661 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_dup_network()
2026 res = os_calloc(6, sizeof(char *)); in wpa_cli_complete_p2p_find()
2390 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_p2p_set()
3421 res = os_calloc(count + 1, sizeof(char *)); in wpa_list_cmd_list()
Dwnm_sta.c754 freqs = os_calloc(wpa_s->wnm_num_neighbor_report + 1, sizeof(int)); in wnm_set_scan_freqs()
857 wpa_s->wnm_neighbor_report_elements = os_calloc( in ieee802_11_rx_bss_trans_mgmt_req()
Dp2p_supplicant.c142 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int)); in wpas_p2p_num_unused_channels()
168 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_valid_oper_freqs()
373 params->freqs = os_calloc(ARRAY_SIZE(social_channels_freq) + 1, in wpas_p2p_scan()
388 params->freqs = os_calloc(2, sizeof(int)); in wpas_p2p_scan()
395 params->freqs = os_calloc(ARRAY_SIZE(social_channels_freq) + 2, in wpas_p2p_scan()
1642 wpa_s->p2p_group_common_freqs = os_calloc(len, sizeof(int)); in p2p_go_save_group_common_freqs()
2733 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_invitation_process()
4246 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_check_freq_conflict()
4723 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_setup_freqs()
5303 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_init_go_params()
[all …]
Dwmm_ac.c948 wpa_s->last_tspecs = os_calloc(tspecs_count, in wmm_ac_save_tspecs()
Dinterworking.c498 r->eap = os_calloc(r->eap_count, sizeof(struct nai_realm_eap)); in nai_realm_parse_realm()
539 realm = os_calloc(num, sizeof(struct nai_realm)); in nai_realm_parse()
/external/wpa_supplicant_8/hostapd/
Dmain.c191 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init()
350 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
655 interfaces.iface = os_calloc(interfaces.count + num_bss_configs, in main()
/external/wpa_supplicant_8/src/ap/
Dhw_features.c186 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
361 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4()
402 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g()
Dacs.c886 params.freqs = os_calloc(iface->current_mode->num_channels + 1, in acs_request_scan()
Dap_config.c134 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
Dhostapd.c1696 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_init()
2076 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_data_alloc()
Dgas_serv.c61 sta->gas_dialog = os_calloc(GAS_DIALOG_MAX, in gas_dialog_create()
/external/wpa_supplicant_8/src/eap_peer/
Deap_methods.c136 array = os_calloc(array_len + 1, sizeof(char *)); in eap_get_names_as_string_array()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_dict_helpers.c699 buffer = os_calloc(BYTE_ARRAY_CHUNK_SIZE, BYTE_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_byte_array()
757 buffer = os_calloc(STR_ARRAY_CHUNK_SIZE, STR_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_string_array()
Ddbus_new_handlers_p2p.c1143 peer_obj_paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_p2p_peers()
1802 data.paths = os_calloc(1, sizeof(char *)); in wpas_dbus_getter_p2p_peer_groups()
1863 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_persistent_groups()
2176 paths = os_calloc(num_members, sizeof(char *)); in wpas_dbus_getter_p2p_group_members()
Ddbus_new_handlers.c885 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_interfaces()
3199 paths = os_calloc(wpa_s->num_bss, sizeof(char *)); in wpas_dbus_getter_bsss()
3260 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_networks()
/external/wpa_supplicant_8/src/utils/
Dos.h277 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() function
/external/wpa_supplicant_8/src/radius/
Dradius.c81 msg->attr_pos = os_calloc(RADIUS_DEFAULT_ATTR_COUNT, in radius_msg_initialize()
1633 dst->attr = os_calloc(src->count, sizeof(struct radius_attr_data)); in radius_copy_class()
/external/wpa_supplicant_8/src/drivers/
Ddriver_privsep.c157 results->res = os_calloc(num, sizeof(struct wpa_scan_res *)); in wpa_driver_privsep_get_scan_results2()
Ddriver_nl80211_capa.c1073 mode->rates = os_calloc(mode->num_rates, sizeof(int)); in phy_info_rates()

12