/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/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 | 337 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs() 345 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 346 if (params->freqs) in wpa_supplicant_optimize_freqs() 347 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs() 352 int_array_concat(¶ms->freqs, in wpa_supplicant_optimize_freqs() 354 if (params->freqs) in wpa_supplicant_optimize_freqs() 355 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs() 360 if (params->freqs == NULL && wpa_s->p2p_in_invitation) { in wpa_supplicant_optimize_freqs() 369 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 370 if (params->freqs) in wpa_supplicant_optimize_freqs() [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 | 1147 int *freqs; in wpa_config_parse_int_array() local 1153 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_int_array() 1154 if (freqs == NULL) in wpa_config_parse_int_array() 1164 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_int_array() 1166 os_free(freqs); in wpa_config_parse_int_array() 1171 freqs = n; in wpa_config_parse_int_array() 1175 freqs[used] = atoi(pos); in wpa_config_parse_int_array() 1176 if (freqs[used] == 0) in wpa_config_parse_int_array() 1182 return freqs; in wpa_config_parse_int_array() 1190 int *freqs; in wpa_config_parse_scan_freq() local [all …]
|
D | interworking.h | 26 int *freqs);
|
D | wnm_sta.c | 981 int *freqs; in wnm_set_scan_freqs() local 994 freqs = os_calloc(wpa_s->wnm_num_neighbor_report + 1, sizeof(int)); in wnm_set_scan_freqs() 995 if (freqs == NULL) in wnm_set_scan_freqs() 1007 os_free(freqs); in wnm_set_scan_freqs() 1011 add_freq(freqs, &num_freqs, nei->freq); in wnm_set_scan_freqs() 1015 os_free(freqs); in wnm_set_scan_freqs() 1022 wpa_s->next_scan_freqs = freqs; in wnm_set_scan_freqs()
|
D | wpa_supplicant.c | 4047 unsigned int wpas_get_bands(struct wpa_supplicant *wpa_s, const int *freqs) in wpas_get_bands() argument 4052 if (freqs) { in wpas_get_bands() 4054 for (i = 0; freqs[i]; i++) in wpas_get_bands() 4055 band |= wpas_freq_to_band(freqs[i]); in wpas_get_bands() 4413 ctx)->freqs); in radio_add_work() 5505 void add_freq(int *freqs, int *num_freqs, int freq) in add_freq() argument 5510 if (freqs[i] == freq) in add_freq() 5514 freqs[*num_freqs] = freq; in add_freq() 5523 int *freqs; in get_bss_freqs_in_ess() local 5526 freqs = os_calloc(max_freqs + 1, sizeof(int)); in get_bss_freqs_in_ess() [all …]
|
D | bgscan_simple.c | 43 params.freqs = data->ssid->scan_freq; in bgscan_simple_timeout()
|
D | sme.c | 1369 params->freqs = os_zalloc(sizeof(int)); in wpa_obss_scan_freqs_list() 1411 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in wpa_obss_scan_freqs_list() 1412 if (params->freqs == NULL) in wpa_obss_scan_freqs_list() 1422 params->freqs[count++] = freq; in wpa_obss_scan_freqs_list() 1446 os_free(params.freqs); in sme_obss_scan_timeout()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_scan.c | 157 if (params->freqs) { in nl80211_scan_common() 158 struct nlattr *freqs; in nl80211_scan_common() local 159 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); in nl80211_scan_common() 160 if (freqs == NULL) in nl80211_scan_common() 162 for (i = 0; params->freqs[i]; i++) { in nl80211_scan_common() 164 "MHz", params->freqs[i]); in nl80211_scan_common() 165 if (nla_put_u32(msg, i + 1, params->freqs[i])) in nl80211_scan_common() 168 nla_nest_end(msg, freqs); in nl80211_scan_common() 967 if (params->freqs) { in wpa_driver_nl80211_vendor_scan() 968 struct nlattr *freqs; in wpa_driver_nl80211_vendor_scan() local [all …]
|
D | driver_nl80211_event.c | 1024 int freqs[MAX_REPORT_FREQS]; in send_scan_event() local 1064 freqs[num_freqs] = nla_get_u32(nl); in send_scan_event() 1066 freqs[num_freqs]); in send_scan_event() 1073 info->freqs = freqs; in send_scan_event() 1779 int freqs[MAX_REPORT_FREQS]; in send_vendor_scan_event() local 1814 freqs[num_freqs] = nla_get_u32(nl); in send_vendor_scan_event() 1816 freqs[num_freqs]); in send_vendor_scan_event() 1824 info->freqs = freqs; in send_vendor_scan_event()
|
/external/autotest/client/site_tests/kernel_Delay/ |
D | kernel_Delay.py | 163 freqs = self._get_freqs() 164 for f in freqs: 209 freqs = [ min_freq, max_freq ] 211 for freq in freqs:
|
/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/wpa_supplicant_8/src/ap/ |
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()
|
D | hw_features.c | 368 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4() 369 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4() 380 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 409 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g() 410 if (params->freqs == NULL) in ieee80211n_scan_channels_5g() 421 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g() 441 os_free(params.freqs); in ap_ht40_scan_retry() 490 os_free(params.freqs); in ieee80211n_check_40mhz()
|
/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/dbus/ |
D | dbus_new_handlers.c | 1144 int *freqs = NULL, *nfreqs; in wpas_dbus_get_scan_channels() local 1185 os_free(freqs); in wpas_dbus_get_scan_channels() 1199 os_free(freqs); in wpas_dbus_get_scan_channels() 1208 freqs, freqs_num + FREQS_ALLOC_CHUNK, in wpas_dbus_get_scan_channels() 1211 os_free(freqs); in wpas_dbus_get_scan_channels() 1212 freqs = nfreqs; in wpas_dbus_get_scan_channels() 1214 if (freqs == NULL) { in wpas_dbus_get_scan_channels() 1219 freqs[freqs_num] = freq; in wpas_dbus_get_scan_channels() 1225 nfreqs = os_realloc_array(freqs, freqs_num + 1, sizeof(int)); in wpas_dbus_get_scan_channels() 1227 os_free(freqs); in wpas_dbus_get_scan_channels() [all …]
|
/external/zopfli/src/zopfli/ |
D | squeeze.c | 91 static void RandomizeFreqs(RanState* state, size_t* freqs, int n) { in RandomizeFreqs() argument 94 if ((Ran(state) >> 4) % 3 == 0) freqs[i] = freqs[Ran(state) % n]; in RandomizeFreqs()
|
/external/webrtc/webrtc/modules/audio_device/win/ |
D | audio_device_core_win.cc | 2236 const int freqs[] = {48000, 44100, 16000, 96000, 32000, 8000}; in InitPlayout() local 2240 for (int freq = 0; freq < sizeof(freqs)/sizeof(freqs[0]); freq++) in InitPlayout() 2245 Wfx.nSamplesPerSec = freqs[freq]; in InitPlayout() 2573 const int freqs[6] = {48000, 44100, 16000, 96000, 32000, 8000}; in InitRecording() local 2577 for (int freq = 0; freq < sizeof(freqs)/sizeof(freqs[0]); freq++) in InitRecording() 2582 Wfx.nSamplesPerSec = freqs[freq]; in InitRecording()
|