/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 | 364 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs() 372 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 373 if (params->freqs) in wpa_supplicant_optimize_freqs() 374 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs() 379 int_array_concat(¶ms->freqs, in wpa_supplicant_optimize_freqs() 381 if (params->freqs) in wpa_supplicant_optimize_freqs() 382 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs() 387 if (params->freqs == NULL && wpa_s->p2p_in_invitation) { in wpa_supplicant_optimize_freqs() 396 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 397 if (params->freqs) in wpa_supplicant_optimize_freqs() [all …]
|
D | rrm.c | 470 int *freqs) in wpas_add_channel() argument 477 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel() 481 if (freqs[i] < 0 && in wpas_add_channel() 483 freqs[i] = 5000 + 5 * primary_chan; in wpas_add_channel() 484 if (freqs[i] < 0) { in wpas_add_channel() 500 int *freqs, *next_freq; in wpas_add_channels() local 515 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels() 516 if (!freqs) { in wpas_add_channels() 522 next_freq = freqs; in wpas_add_channels() 532 os_free(freqs); in wpas_add_channels() [all …]
|
D | p2p_supplicant.c | 156 struct wpa_used_freq_data *freqs, 162 struct wpa_used_freq_data *freqs, unsigned int num, 173 int *freqs; in wpas_p2p_num_unused_channels() local 176 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int)); in wpas_p2p_num_unused_channels() 177 if (!freqs) in wpas_p2p_num_unused_channels() 180 num = get_shared_radio_freqs(wpa_s, freqs, in wpas_p2p_num_unused_channels() 182 os_free(freqs); in wpas_p2p_num_unused_channels() 199 struct wpa_used_freq_data *freqs; in wpas_p2p_valid_oper_freqs() local 202 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_valid_oper_freqs() 204 if (!freqs) in wpas_p2p_valid_oper_freqs() [all …]
|
D | config.c | 1333 int *freqs; in wpa_config_parse_int_array() local 1339 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_int_array() 1340 if (freqs == NULL) in wpa_config_parse_int_array() 1350 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_int_array() 1352 os_free(freqs); in wpa_config_parse_int_array() 1357 freqs = n; in wpa_config_parse_int_array() 1361 freqs[used] = atoi(pos); in wpa_config_parse_int_array() 1362 if (freqs[used] == 0) in wpa_config_parse_int_array() 1368 return freqs; in wpa_config_parse_int_array() 1376 int *freqs; in wpa_config_parse_scan_freq() local [all …]
|
/external/autotest/client/profilers/powertop/src/ |
D | cpufreqstats.c | 40 struct cpufreqdata freqs[16]; variable 50 memset(freqs, 0, sizeof(freqs)); in zap() 99 memcpy(&oldfreqs, &freqs, sizeof(freqs)); in do_cpufreq_stats() 104 freqs[ret].count = 0; in do_cpufreq_stats() 131 if (freqs[i].frequency && freqs[i].frequency != f) { in do_cpufreq_stats() 136 freqs[i].frequency = f; in do_cpufreq_stats() 137 freqs[i].count += count; in do_cpufreq_stats() 151 delta[ret].count = freqs[ret].count - oldfreqs[ret].count; in do_cpufreq_stats() 153 delta[ret].frequency = freqs[ret].frequency; in do_cpufreq_stats() 154 if (freqs[ret].frequency != oldfreqs[ret].frequency) in do_cpufreq_stats()
|
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | directed_interleave_dataset_test.py | 69 freqs = np.zeros([num_datasets]) 71 freqs[self.evaluate(next_element())] += 1 75 return freqs 88 freqs = self._testSampleFromDatasetsHelper(probs, classes, num_samples) 89 self.assertLess(self._chi2(probs, freqs / num_samples), 1e-2) 93 freqs = self._testSampleFromDatasetsHelper(probs_ds, classes, num_samples) 94 self.assertLess(self._chi2(probs, freqs / num_samples), 1e-2)
|
/external/linux-kselftest/tools/testing/selftests/intel_pstate/ |
D | run.sh | 60 grep MHz /proc/cpuinfo | sort -u > /tmp/result.freqs 61 num_freqs=$(wc -l /tmp/result.freqs | awk ' { print $1 } ') 63 tail -n 1 /tmp/result.freqs > /tmp/result.$1 65 cp /tmp/result.freqs /tmp/result.$1
|
/external/autotest/server/site_tests/network_WiFi_MaskedBSSID/ |
D | network_WiFi_MaskedBSSID.py | 21 freqs = [2412, 5180] 27 for i, freq in enumerate(freqs)] 38 self.context.client.scan(freqs,
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_scan.c | 220 if (params->freqs) { in nl80211_scan_common() 221 struct nlattr *freqs; in nl80211_scan_common() local 222 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); in nl80211_scan_common() 223 if (freqs == NULL) in nl80211_scan_common() 225 for (i = 0; params->freqs[i]; i++) { in nl80211_scan_common() 227 "MHz", params->freqs[i]); in nl80211_scan_common() 228 if (nla_put_u32(msg, i + 1, params->freqs[i])) in nl80211_scan_common() 231 nla_nest_end(msg, freqs); in nl80211_scan_common() 1119 if (params->freqs) { in wpa_driver_nl80211_vendor_scan() 1120 struct nlattr *freqs; in wpa_driver_nl80211_vendor_scan() local [all …]
|
/external/linux-kselftest/tools/testing/selftests/cpufreq/ |
D | cpufreq.sh | 149 local freqs=$(cat $filepath/scaling_available_frequencies) 150 printf "Available frequencies for $1: $freqs\n\n" 153 for freq in $freqs; do
|
D | special-tests.sh | 98 local freqs=$(cat $filepath/scaling_available_frequencies) 104 for freq in $freqs; do
|
/external/autotest/client/site_tests/kernel_Delay/ |
D | kernel_Delay.py | 170 freqs = self._get_freqs() 171 for f in freqs: 213 freqs = [ min_freq, max_freq ] 214 for freq in freqs:
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | categorical_op_test.py | 75 freqs = [(cnts[k] * 1. / num_samples if k in cnts else 0) 77 freqs_mat.append(freqs) 132 freqs = self._do_sampling(logits, num_samples) 139 chi2 = self._chi2(probs, freqs)
|
/external/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 371 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4() 372 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4() 383 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 412 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g() 413 if (params->freqs == NULL) in ieee80211n_scan_channels_5g() 424 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g() 444 os_free(params.freqs); in ap_ht40_scan_retry() 493 os_free(params.freqs); in ieee80211n_check_40mhz()
|
D | acs.c | 927 params.freqs = os_calloc(iface->current_mode->num_channels + 1, in acs_request_scan() 928 sizeof(params.freqs[0])); in acs_request_scan() 929 if (params.freqs == NULL) in acs_request_scan() 932 freq = params.freqs; in acs_request_scan() 954 os_free(params.freqs); in acs_request_scan() 958 os_free(params.freqs); in acs_request_scan()
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
D | intelligibility_utils.cc | 289 GainApplier::GainApplier(size_t freqs, float change_limit) in GainApplier() argument 290 : num_freqs_(freqs), in GainApplier() 292 target_(new float[freqs]()), in GainApplier() 293 current_(new float[freqs]()) { in GainApplier() 294 for (size_t i = 0; i < freqs; ++i) { in GainApplier()
|
D | intelligibility_utils.h | 75 VarianceArray(size_t freqs, StepType type, size_t window_size, float decay); 139 GainApplier(size_t freqs, float change_limit);
|
D | intelligibility_utils_unittest.cc | 31 vector<vector<complex<float>>> GenerateTestData(int freqs, int samples) { in GenerateTestData() argument 34 for (int j = 0; j < freqs; j++) { in GenerateTestData()
|
/external/autotest/client/site_tests/kernel_CpufreqMinMax/ |
D | kernel_CpufreqMinMax.py | 27 def _test_freq_set(self, freqs, filename): argument 39 for freq in freqs:
|
/external/iw/ |
D | scan.c | 104 struct nl_msg *matchset = NULL, *freqs = NULL, *ssids = NULL; in parse_sched_scan() local 126 freqs = nlmsg_alloc(); in parse_sched_scan() 127 if (!freqs) { in parse_sched_scan() 280 NLA_PUT_U32(freqs, i, freq); in parse_sched_scan() 321 nla_put_nested(msg, NL80211_ATTR_SCAN_FREQUENCIES, freqs); in parse_sched_scan() 330 nlmsg_free(freqs); in parse_sched_scan() 345 struct nl_msg *ssids = NULL, *freqs = NULL; in handle_scan() local 367 freqs = nlmsg_alloc(); in handle_scan() 368 if (!freqs) { in handle_scan() 421 NLA_PUT_U32(freqs, i, freq); in handle_scan() [all …]
|
/external/autotest/client/site_tests/power_Thermal/ |
D | power_Thermal.py | 224 freqs = [] 226 freqs.append('%d' % self._cpu_freq(cpu)) 228 ', '.join(freqs))
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | aecm_core_mips.c | 649 uint32_t freqs; in TimeToFrequencyDomain() local 701 freqs = (uint32_t)(freq_signal_abs[0]) + in TimeToFrequencyDomain() 733 freqs += (uint32_t)tmp32no10; in TimeToFrequencyDomain() 734 freqs += (uint32_t)tmp32no11; in TimeToFrequencyDomain() 735 freqs += (uint32_t)tmp32no12; in TimeToFrequencyDomain() 782 : [freqs] "+r" (freqs) in TimeToFrequencyDomain() 790 (*freq_signal_sum_abs) = freqs; in TimeToFrequencyDomain()
|
/external/wpa_supplicant_8/wpa_supplicant/hidl/1.2/ |
D | p2p_iface.cpp | 109 params->freqs = (int *) os_calloc(mode->num_channels + 1, sizeof(int)); in setBandScanFreqsList() 110 if (params->freqs == NULL) in setBandScanFreqsList() 115 params->freqs[count++] = mode->channels[i].freq; in setBandScanFreqsList() 252 if (!params.freqs) { in joinScanReq() 272 params.freqs = (int *) os_calloc(2, sizeof(int)); in joinScanReq() 273 if (params.freqs) { in joinScanReq() 274 params.freqs[0] = freq; in joinScanReq() 286 if (params.freqs) { in joinScanReq() 287 os_free(params.freqs); in joinScanReq() 292 bands = wpas_get_bands(wpa_s, params.freqs); in joinScanReq() [all …]
|
/external/u-boot/drivers/timer/ |
D | tsc_timer.c | 48 u32 freqs[MAX_NUM_FREQS]; member 84 (freq_desc_tables[cpu_index].freqs[freq_id])
|