/external/wpa_supplicant_8/wpa_supplicant/ |
D | bgscan_learn.c | 215 int *freqs = NULL, *n; in bgscan_learn_get_freqs() local 220 if (in_array(freqs, bss->freq)) in bgscan_learn_get_freqs() 222 n = os_realloc_array(freqs, *count + 2, sizeof(int)); in bgscan_learn_get_freqs() 224 return freqs; in bgscan_learn_get_freqs() 225 freqs = n; in bgscan_learn_get_freqs() 226 freqs[*count] = bss->freq; in bgscan_learn_get_freqs() 228 freqs[*count] = 0; in bgscan_learn_get_freqs() 231 return freqs; in bgscan_learn_get_freqs() 236 int *freqs, size_t count) in bgscan_learn_get_probe_freq() argument 241 return freqs; in bgscan_learn_get_probe_freq() [all …]
|
D | scan.c | 320 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs() 328 params->freqs = os_zalloc(2 * sizeof(int)); in wpa_supplicant_optimize_freqs() 329 if (params->freqs) in wpa_supplicant_optimize_freqs() 330 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs() 335 int_array_concat(¶ms->freqs, in wpa_supplicant_optimize_freqs() 337 if (params->freqs) in wpa_supplicant_optimize_freqs() 338 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs() 345 if (params->freqs == NULL && wpa_s->after_wps && wpa_s->wps_freq) { in wpa_supplicant_optimize_freqs() 352 params->freqs = os_zalloc(2 * sizeof(int)); in wpa_supplicant_optimize_freqs() 353 if (params->freqs) in wpa_supplicant_optimize_freqs() [all …]
|
D | config.c | 917 int *freqs; in wpa_config_parse_freqs() local 923 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_freqs() 924 if (freqs == NULL) in wpa_config_parse_freqs() 934 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_freqs() 936 os_free(freqs); in wpa_config_parse_freqs() 941 freqs = n; in wpa_config_parse_freqs() 945 freqs[used] = atoi(pos); in wpa_config_parse_freqs() 946 if (freqs[used] == 0) in wpa_config_parse_freqs() 952 return freqs; in wpa_config_parse_freqs() 960 int *freqs; in wpa_config_parse_scan_freq() local [all …]
|
D | wpa_supplicant.c | 3365 static void add_freq(int *freqs, int *num_freqs, int freq) in add_freq() argument 3370 if (freqs[i] == freq) in add_freq() 3374 freqs[*num_freqs] = freq; in add_freq() 3383 int *freqs; in get_bss_freqs_in_ess() local 3386 freqs = os_zalloc(sizeof(int) * (max_freqs + 1)); in get_bss_freqs_in_ess() 3387 if (freqs == NULL) in get_bss_freqs_in_ess() 3398 add_freq(freqs, &num_freqs, bss->freq); in get_bss_freqs_in_ess() 3405 os_free(freqs); in get_bss_freqs_in_ess() 3406 freqs = NULL; in get_bss_freqs_in_ess() 3409 return freqs; in get_bss_freqs_in_ess() [all …]
|
D | sme.c | 810 params->freqs = os_zalloc(sizeof(int)); in wpa_setband_scan_freqs_list() 814 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in wpa_setband_scan_freqs_list() 815 if (params->freqs == NULL) in wpa_setband_scan_freqs_list() 820 params->freqs[count++] = mode->channels[i].freq; in wpa_setband_scan_freqs_list() 843 os_free(params.freqs); in sme_obss_scan_timeout()
|
D | bgscan_simple.c | 43 params.freqs = data->ssid->scan_freq; in bgscan_simple_timeout()
|
D | bss.c | 530 if (bss->freq == info->freqs[i]) { in wpa_bss_included_in_scan() 569 if (info && !info->aborted && !info->freqs) { in wpa_bss_update_end()
|
D | events.c | 507 static int freq_allowed(int *freqs, int freq) in freq_allowed() argument 511 if (freqs == NULL) in freq_allowed() 514 for (i = 0; freqs[i]; i++) in freq_allowed() 515 if (freqs[i] == freq) in freq_allowed()
|
D | p2p_supplicant.c | 184 params.freqs = social_channels; in wpas_p2p_scan() 191 params.freqs = social_channels; in wpas_p2p_scan() 195 params.freqs = social_channels; in wpas_p2p_scan() 3323 int freqs[2] = { 0, 0 }; in wpas_p2p_join_scan_req() local 3367 freqs[0] = freq; in wpas_p2p_join_scan_req() 3368 params.freqs = freqs; in wpas_p2p_join_scan_req()
|
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/ |
D | SettingsDialog.java | 515 String[] freqs = getFrequencies(resolution, modes); in updateDisplayChoices() local 516 displayFreqCombo.setModel(new DefaultComboBoxModel(freqs)); in updateDisplayChoices() 627 ArrayList<String> freqs = new ArrayList<String>(4); in getFrequencies() local 637 if (res.equals(resolution) && !freqs.contains(freq)) { in getFrequencies() 638 freqs.add(freq); in getFrequencies() 642 String[] res = new String[freqs.size()]; in getFrequencies() 643 freqs.toArray(res); in getFrequencies()
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 1100 int *freqs = NULL, *nfreqs; in wpas_dbus_get_scan_channels() local 1140 os_free(freqs); in wpas_dbus_get_scan_channels() 1154 os_free(freqs); in wpas_dbus_get_scan_channels() 1163 freqs, freqs_num + FREQS_ALLOC_CHUNK, in wpas_dbus_get_scan_channels() 1166 os_free(freqs); in wpas_dbus_get_scan_channels() 1167 freqs = nfreqs; in wpas_dbus_get_scan_channels() 1169 if (freqs == NULL) { in wpas_dbus_get_scan_channels() 1178 freqs[freqs_num] = freq; in wpas_dbus_get_scan_channels() 1184 nfreqs = os_realloc_array(freqs, freqs_num + 1, sizeof(int)); in wpas_dbus_get_scan_channels() 1186 os_free(freqs); in wpas_dbus_get_scan_channels() [all …]
|
D | dbus_new.c | 1170 dbus_int32_t freqs[P2P_MAX_CHANNELS]; in wpas_dbus_signal_p2p_go_neg_resp() local 1171 dbus_int32_t *f_array = freqs; in wpas_dbus_signal_p2p_go_neg_resp() 1176 os_memset(freqs, 0, sizeof(freqs)); in wpas_dbus_signal_p2p_go_neg_resp() 1238 freqs[i] = res->freq_list[i]; in wpas_dbus_signal_p2p_go_neg_resp()
|
/external/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 475 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4() 476 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4() 487 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 507 os_free(params.freqs); in ieee80211n_check_40mhz() 510 os_free(params.freqs); in ieee80211n_check_40mhz()
|
/external/qemu/distrib/sdl-1.2.15/src/audio/mint/ |
D | SDL_mintaudio_stfa.c | 66 static const int freqs[16]={ variable 218 SDL_MintAudio_AddFrequency(this, freqs[i], 0, i, -1); in Mint_CheckAudio()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211.c | 1614 int freqs[MAX_REPORT_FREQS]; in send_scan_event() local 1643 freqs[num_freqs] = nla_get_u32(nl); in send_scan_event() 1648 info->freqs = freqs; in send_scan_event() 3549 if (params->freqs) { in nl80211_scan_common() 3550 struct nl_msg *freqs = nlmsg_alloc(); in nl80211_scan_common() local 3551 if (freqs == NULL) in nl80211_scan_common() 3553 for (i = 0; params->freqs[i]; i++) { in nl80211_scan_common() 3555 "MHz", params->freqs[i]); in nl80211_scan_common() 3556 if (nla_put_u32(freqs, i + 1, params->freqs[i]) < 0) { in nl80211_scan_common() 3557 nlmsg_free(freqs); in nl80211_scan_common() [all …]
|
D | driver.h | 250 int *freqs; member 3468 const int *freqs; member
|
D | driver_test.c | 2966 params.freqs = social_channels; in test_p2p_scan() 2972 params.freqs = social_channels; in test_p2p_scan()
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p.c | 1531 int freqs; in p2p_go_complete() local 1569 freqs = 0; in p2p_go_complete() 1572 if (freqs + 1 == P2P_MAX_CHANNELS) in p2p_go_complete() 1576 if (freqs + 1 == P2P_MAX_CHANNELS) in p2p_go_complete() 1582 res.freq_list[freqs++] = freq; in p2p_go_complete()
|