Home
last modified time | relevance | path

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

1234

/third_party/mesa3d/src/util/
Dos_memory.h47 os_calloc(size_t count, size_t size);
Dos_memory_stdc.h42 #define os_calloc(_count, _size ) calloc(_count, _size ) macro
Dos_memory_debug.h85 #define os_calloc( _count, _size ) \ macro
Du_memory.h48 #define CALLOC(_count, _size) os_calloc(_count, _size)
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
Dap_main.c199 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init()
375 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
796 interfaces.iface = os_calloc(interfaces.count + num_bss_configs, in ap_main()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dscan.c355 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); in wpa_supplicant_build_filter_ssids()
383 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()
433 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
445 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
664 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in wpa_setband_scan_freqs_list()
1205 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1293 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1525 params.filter_ssids = os_calloc(wpa_s->max_match_sets, in wpa_supplicant_req_sched_scan()
2711 params.filter_ssids = os_calloc(num_match_ssid, in wpas_start_pno()
Dwpa_cli.c506 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_set()
598 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_get()
1489 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_network()
1541 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_dup_network()
1603 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_cred()
1744 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_get_capability()
1754 res = os_calloc(1 + 1, sizeof(char *)); in wpa_cli_complete_get_capability()
2090 res = os_calloc(6, sizeof(char *)); in wpa_cli_complete_p2p_find()
2461 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_p2p_set()
3761 res = os_calloc(count + 1, sizeof(char *)); in wpa_list_cmd_list()
Dmesh.c268 ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, in wpa_supplicant_mesh_init()
377 conf->basic_rates = os_calloc(rate_len + 1, sizeof(int)); in wpa_supplicant_mesh_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dhw_features.c189 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
377 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4()
418 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
Dap_main.c196 params.bridge = os_calloc(hapd->iface->num_bss, sizeof(char *)); in hostapd_driver_init()
372 global.drv_priv = os_calloc(global.drv_count, sizeof(void *)); in hostapd_global_init()
797 interfaces.iface = os_calloc(interfaces.count + num_bss_configs, in ap_main()
Dhostapd_cli.c1070 res = os_calloc(num_fields + 1, sizeof(char *)); in hostapd_complete_set()
1115 res = os_calloc(num_fields + 1, sizeof(char *)); in hostapd_complete_get()
1927 res = os_calloc(count + 1, sizeof(char *)); in list_cmd_list()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpa_cli.c512 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_set()
605 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_get()
1497 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_network()
1549 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_dup_network()
1612 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_cred()
1769 res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_get_capability()
1781 res = os_calloc(num_iftypes + 2, sizeof(char *)); in wpa_cli_complete_get_capability()
1794 res = os_calloc(1 + 1, sizeof(char *)); in wpa_cli_complete_get_capability()
2137 res = os_calloc(6, sizeof(char *)); in wpa_cli_complete_p2p_find()
2508 char **res = os_calloc(num_fields + 1, sizeof(char *)); in wpa_cli_complete_p2p_set()
[all …]
Dscan.c390 ssids = os_calloc(count, sizeof(struct wpa_driver_scan_filter)); in wpa_supplicant_build_filter_ssids()
441 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
465 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
491 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
503 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs()
1297 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1381 params.freqs = os_calloc(num + 1, sizeof(int)); in wpa_supplicant_scan()
1643 params.filter_ssids = os_calloc(wpa_s->max_match_sets, in wpa_supplicant_req_sched_scan()
3047 params.filter_ssids = os_calloc(num_match_ssid, in wpas_start_pno()
Dmesh.c409 ifmsh->bss = os_calloc(wpa_s->ifmsh->num_bss, in wpa_supplicant_mesh_init()
530 conf->basic_rates = os_calloc(rate_len + 1, sizeof(int)); in wpa_supplicant_mesh_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dcli.c177 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dcli.c177 res = os_calloc(count + 1, sizeof(char *)); in cli_txt_list_array()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dutils_module_tests.c455 ptr = os_calloc((size_t) -1, (size_t) -1); in os_tests()
460 ptr = os_calloc((size_t) 2, (size_t) -1); in os_tests()
465 ptr = os_calloc((size_t) -1, (size_t) 2); in os_tests()
Dos.h278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dutils_module_tests.c456 ptr = os_calloc((size_t) -1, (size_t) -1); in os_tests()
461 ptr = os_calloc((size_t) 2, (size_t) -1); in os_tests()
466 ptr = os_calloc((size_t) -1, (size_t) 2); in os_tests()
Dos.h278 static inline void * os_calloc(size_t nmemb, size_t size) in os_calloc() function
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dhw_features.c189 os_calloc(mode->num_rates, sizeof(struct hostapd_rate_data)); in hostapd_prepare_rates()
416 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4()
457 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_methods.c139 array = os_calloc(array_len + 1, sizeof(char *)); in eap_get_names_as_string_array()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_methods.c138 array = os_calloc(array_len + 1, sizeof(char *)); in eap_get_names_as_string_array()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()

1234