/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 | 346 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs() 354 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 355 if (params->freqs) in wpa_supplicant_optimize_freqs() 356 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs() 361 int_array_concat(¶ms->freqs, in wpa_supplicant_optimize_freqs() 363 if (params->freqs) in wpa_supplicant_optimize_freqs() 364 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs() 369 if (params->freqs == NULL && wpa_s->p2p_in_invitation) { in wpa_supplicant_optimize_freqs() 378 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 379 if (params->freqs) in wpa_supplicant_optimize_freqs() [all …]
|
D | rrm.c | 419 int *freqs) in wpas_add_channel() argument 426 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel() 430 if (freqs[i] < 0 && in wpas_add_channel() 432 freqs[i] = 5000 + 5 * primary_chan; in wpas_add_channel() 433 if (freqs[i] < 0) { in wpas_add_channel() 449 int *freqs, *next_freq; in wpas_add_channels() local 464 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels() 465 if (!freqs) { in wpas_add_channels() 471 next_freq = freqs; in wpas_add_channels() 481 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 | 1166 int *freqs; in wpa_config_parse_int_array() local 1172 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_int_array() 1173 if (freqs == NULL) in wpa_config_parse_int_array() 1183 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_int_array() 1185 os_free(freqs); in wpa_config_parse_int_array() 1190 freqs = n; in wpa_config_parse_int_array() 1194 freqs[used] = atoi(pos); in wpa_config_parse_int_array() 1195 if (freqs[used] == 0) in wpa_config_parse_int_array() 1201 return freqs; in wpa_config_parse_int_array() 1209 int *freqs; in wpa_config_parse_scan_freq() local [all …]
|
D | interworking.h | 27 int *freqs);
|
/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/lisa/libs/utils/ |
D | energy_model.py | 167 freqs = active_states.keys() 168 if not is_monotonic(freqs): 171 'monotonically increasing. Freqs: {}'.format(freqs)) 507 freqs = [0 for _ in ideal_freqs] 511 freqs[cpu] = domain_freq 513 return freqs, overutilized 527 freqs, _ = self._guess_freqs(cpu_utils) 528 return freqs 530 def _estimate_from_active_time(self, cpu_active_time, freqs, idle_states, argument 553 freq = freqs[cpus[0]] [all …]
|
/external/linux-kselftest/tools/testing/selftests/cpufreq/ |
D | cpufreq.sh | 148 local freqs=$(cat $filepath/scaling_available_frequencies) 149 printf "Available frequencies for $1: $freqs\n\n" 152 for freq in $freqs; do
|
D | special-tests.sh | 97 local freqs=$(cat $filepath/scaling_available_frequencies) 103 for freq in $freqs; do
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_scan.c | 219 if (params->freqs) { in nl80211_scan_common() 220 struct nlattr *freqs; in nl80211_scan_common() local 221 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); in nl80211_scan_common() 222 if (freqs == NULL) in nl80211_scan_common() 224 for (i = 0; params->freqs[i]; i++) { in nl80211_scan_common() 226 "MHz", params->freqs[i]); in nl80211_scan_common() 227 if (nla_put_u32(msg, i + 1, params->freqs[i])) in nl80211_scan_common() 230 nla_nest_end(msg, freqs); in nl80211_scan_common() 1079 if (params->freqs) { in wpa_driver_nl80211_vendor_scan() 1080 struct nlattr *freqs; in wpa_driver_nl80211_vendor_scan() local [all …]
|
/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/wpa_supplicant_8/src/ap/ |
D | hw_features.c | 370 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4() 371 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4() 382 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 411 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g() 412 if (params->freqs == NULL) in ieee80211n_scan_channels_5g() 423 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g() 443 os_free(params.freqs); in ap_ht40_scan_retry() 492 os_free(params.freqs); in ieee80211n_check_40mhz()
|
D | acs.c | 885 params.freqs = os_calloc(iface->current_mode->num_channels + 1, in acs_request_scan() 886 sizeof(params.freqs[0])); in acs_request_scan() 887 if (params.freqs == NULL) in acs_request_scan() 890 freq = params.freqs; in acs_request_scan() 912 os_free(params.freqs); in acs_request_scan() 916 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/lisa/tests/eas/ |
D | load_tracking.py | 193 cls.freqs = all_freqs[::len(all_freqs)/8 + 1] 194 for freq in cls.freqs:
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 1168 int *freqs = NULL, *nfreqs; in wpas_dbus_get_scan_channels() local 1209 os_free(freqs); in wpas_dbus_get_scan_channels() 1223 os_free(freqs); in wpas_dbus_get_scan_channels() 1232 freqs, freqs_num + FREQS_ALLOC_CHUNK, in wpas_dbus_get_scan_channels() 1235 os_free(freqs); in wpas_dbus_get_scan_channels() 1236 freqs = nfreqs; in wpas_dbus_get_scan_channels() 1238 if (freqs == NULL) { in wpas_dbus_get_scan_channels() 1243 freqs[freqs_num] = freq; in wpas_dbus_get_scan_channels() 1249 nfreqs = os_realloc_array(freqs, freqs_num + 1, sizeof(int)); in wpas_dbus_get_scan_channels() 1251 os_free(freqs); in wpas_dbus_get_scan_channels() [all …]
|
/external/syslinux/com32/lib/sys/vesa/ |
D | i915resolution.c | 86 static int freqs[] = { 60, 75, 85 }; variable 630 gtf_timings(x, y, freqs[0], &clock, in set_mode() 673 gtf_timings(x, y, freqs[j], &modeline->clock, in set_mode() 707 gtf_timings(x, y, freqs[j], &modeline->clock, in set_mode()
|
/external/wpa_supplicant_8/src/common/ |
D | privsep_commands.h | 40 u16 freqs[PRIVSEP_MAX_SCAN_FREQS]; member
|