Home
last modified time | relevance | path

Searched refs:os_calloc (Results 1 – 25 of 36) 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/hostapd/
Dmain.c193 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init()
352 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
697 interfaces.iface = os_calloc(interfaces.count + num_bss_configs, in main()
/external/wpa_supplicant_8/wpa_supplicant/
Dscan.c317 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); in wpa_supplicant_build_filter_ssids()
345 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
369 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
395 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
407 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
545 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in wpa_setband_scan_freqs_list()
974 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1056 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1266 params.filter_ssids = os_calloc(wpa_s->max_match_sets, in wpa_supplicant_req_sched_scan()
2407 params.filter_ssids = os_calloc(num_match_ssid, in wpas_start_pno()
Dwpa_cli.c255 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array()
691 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_set()
773 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_get()
1630 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_network()
1682 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_dup_network()
2075 res = os_calloc(6, sizeof(char *)); in wpa_cli_complete_p2p_find()
2439 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_p2p_set()
3534 res = os_calloc(count + 1, sizeof(char *)); in wpa_list_cmd_list()
Dmesh.c144 ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, in wpa_supplicant_mesh_init()
242 conf->basic_rates = os_calloc(rate_len + 1, sizeof(int)); in wpa_supplicant_mesh_init()
Dp2p_supplicant.c176 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int)); in wpas_p2p_num_unused_channels()
202 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_valid_oper_freqs()
386 params->freqs = os_calloc(ARRAY_SIZE(social_channels_freq) + 1, in wpas_p2p_scan()
401 params->freqs = os_calloc(2, sizeof(int)); in wpas_p2p_scan()
408 params->freqs = os_calloc(ARRAY_SIZE(social_channels_freq) + 2, in wpas_p2p_scan()
1724 wpa_s->p2p_group_common_freqs = os_calloc(len, sizeof(int)); in p2p_go_save_group_common_freqs()
2745 common_freqs = os_calloc(num, sizeof(int)); in wpas_p2p_go_update_common_freqs()
2956 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_invitation_process()
4650 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_check_freq_conflict()
5152 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_setup_freqs()
[all …]
Dwnm_sta.c994 freqs = os_calloc(wpa_s->wnm_num_neighbor_report + 1, sizeof(int)); in wnm_set_scan_freqs()
1106 wpa_s->wnm_neighbor_report_elements = os_calloc( in ieee802_11_rx_bss_trans_mgmt_req()
Dwmm_ac.c948 wpa_s->last_tspecs = os_calloc(tspecs_count, in wmm_ac_save_tspecs()
Dwpa_supplicant.c5299 os_calloc(params->match_iface_count, in wpa_supplicant_init()
5347 global->drv_priv = os_calloc(global->drv_count, sizeof(void *)); in wpa_supplicant_init()
5526 freqs = os_calloc(max_freqs + 1, sizeof(int)); in get_bss_freqs_in_ess()
6056 freqs_data = os_calloc(len, sizeof(struct wpa_used_freq_data)); in get_shared_radio_freqs()
Dinterworking.c503 r->eap = os_calloc(r->eap_count, sizeof(struct nai_realm_eap)); in nai_realm_parse_realm()
544 realm = os_calloc(num, sizeof(struct nai_realm)); in nai_realm_parse()
/external/wpa_supplicant_8/src/utils/
Dutils_module_tests.c452 ptr = os_calloc((size_t) -1, (size_t) -1); in os_tests()
457 ptr = os_calloc((size_t) 2, (size_t) -1); in os_tests()
462 ptr = os_calloc((size_t) -1, (size_t) 2); in os_tests()
Dos.h277 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() function
/external/wpa_supplicant_8/src/ap/
Dhw_features.c186 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
368 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4()
409 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g()
Dacs.c885 params.freqs = os_calloc(iface->current_mode->num_channels + 1, in acs_request_scan()
Dap_config.c137 conf->bss = os_calloc(1, sizeof(struct hostapd_bss_config *)); in hostapd_config_defaults()
Dhostapd.c1963 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_init()
2359 hapd_iface->bss = os_calloc(conf->num_bss, in hostapd_data_alloc()
/external/wpa_supplicant_8/src/eap_peer/
Deap_methods.c138 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.c625 buffer = os_calloc(BYTE_ARRAY_CHUNK_SIZE, BYTE_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_byte_array()
683 buffer = os_calloc(STR_ARRAY_CHUNK_SIZE, STR_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_string_array()
Ddbus_new_handlers_p2p.c1146 peer_obj_paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_p2p_peers()
1811 data.paths = os_calloc(1, sizeof(char *)); in wpas_dbus_getter_p2p_peer_groups()
1872 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_persistent_groups()
2185 paths = os_calloc(num_members, sizeof(char *)); in wpas_dbus_getter_p2p_group_members()
Ddbus_new_handlers.c887 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_interfaces()
3286 paths = os_calloc(wpa_s->num_bss, sizeof(char *)); in wpas_dbus_getter_bsss()
3348 paths = os_calloc(num, sizeof(char *)); in wpas_dbus_getter_networks()
/external/wpa_supplicant_8/src/radius/
Dradius.c81 msg->attr_pos = os_calloc(RADIUS_DEFAULT_ATTR_COUNT, in radius_msg_initialize()
1669 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()

12