/external/autotest/client/profilers/powertop/src/ |
H A D | cpufreqstats.c | 40 struct cpufreqdata freqs[16]; variable in typeref:struct:cpufreqdata 50 memset(freqs, 0, sizeof(freqs)); 99 memcpy(&oldfreqs, &freqs, sizeof(freqs)); 104 freqs[ret].count = 0; 131 if (freqs[i].frequency && freqs[i].frequency != f) { 136 freqs[i].frequency = f; 137 freqs[ [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | bgscan_learn.c | 215 int *freqs = NULL, *n; local 220 if (in_array(freqs, bss->freq)) 222 n = os_realloc_array(freqs, *count + 2, sizeof(int)); 224 return freqs; 225 freqs = n; 226 freqs[*count] = bss->freq; 228 freqs[*count] = 0; 231 return freqs; 236 int *freqs, size_t count) 241 return freqs; 235 bgscan_learn_get_probe_freq(struct bgscan_learn_data *data, int *freqs, size_t count) argument 275 int *freqs = NULL; local 351 int i, j, *freqs = NULL, *n; local [all...] |
H A D | rrm.c | 419 int *freqs) 426 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); 430 if (freqs[i] < 0 && 432 freqs[i] = 5000 + 5 * primary_chan; 433 if (freqs[i] < 0) { 449 int *freqs, *next_freq; local 464 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); 465 if (!freqs) { 467 "Beacon Report: Failed to allocate freqs arra 418 wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, int *freqs) argument 524 int *freqs = NULL, *new_freqs; local 585 int *freqs = NULL, *ext_freqs = NULL; local [all...] |
H A D | scan.c | 346 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && 354 params->freqs = os_calloc(2, sizeof(int)); 355 if (params->freqs) 356 params->freqs[0] = wpa_s->go_params->freq; 361 int_array_concat(¶ms->freqs, 363 if (params->freqs) 364 int_array_sort_unique(params->freqs); 369 if (params->freqs == NULL && wpa_s->p2p_in_invitation) { 378 params->freqs = os_calloc(2, sizeof(int)); 379 if (params->freqs) [all...] |
H A D | interworking.h | 27 int *freqs);
|
/external/lisa/libs/utils/ |
H A 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, 553 freq = freqs[cpu [all...] |
/external/linux-kselftest/tools/testing/selftests/cpufreq/ |
H A D | special-tests.sh | 97 local freqs=$(cat $filepath/scaling_available_frequencies) 103 for freq in $freqs; do
|
H A 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
|
/external/autotest/client/site_tests/kernel_CpufreqMinMax/ |
H A D | kernel_CpufreqMinMax.py | 27 def _test_freq_set(self, freqs, filename): 36 @param freqs: a list of frequencies to set 39 for freq in freqs:
|
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
H A D | intelligibility_utils.h | 70 // Construct an instance for the given input array length (|freqs|) and 75 VarianceArray(size_t freqs, StepType type, size_t window_size, float decay); 139 GainApplier(size_t freqs, float change_limit);
|
H A D | intelligibility_utils.cc | 289 GainApplier::GainApplier(size_t freqs, float change_limit) argument 290 : num_freqs_(freqs), 292 target_(new float[freqs]()), 293 current_(new float[freqs]()) { 294 for (size_t i = 0; i < freqs; ++i) {
|
/external/autotest/client/site_tests/kernel_Delay/ |
H A 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/hostapd/src/common/ |
H A D | privsep_commands.h | 40 u16 freqs[PRIVSEP_MAX_SCAN_FREQS]; member in struct:privsep_cmd_scan
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_nl80211_scan.c | 219 if (params->freqs) { 220 struct nlattr *freqs; local 221 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); 222 if (freqs == NULL) 224 for (i = 0; params->freqs[i]; i++) { 226 "MHz", params->freqs[i]); 227 if (nla_put_u32(msg, i + 1, params->freqs[i])) 230 nla_nest_end(msg, freqs); 1079 if (params->freqs) { 1080 struct nlattr *freqs; local [all...] |
/external/wpa_supplicant_8/src/common/ |
H A D | privsep_commands.h | 40 u16 freqs[PRIVSEP_MAX_SCAN_FREQS]; member in struct:privsep_cmd_scan
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_nl80211_scan.c | 219 if (params->freqs) { 220 struct nlattr *freqs; local 221 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); 222 if (freqs == NULL) 224 for (i = 0; params->freqs[i]; i++) { 226 "MHz", params->freqs[i]); 227 if (nla_put_u32(msg, i + 1, params->freqs[i])) 230 nla_nest_end(msg, freqs); 1079 if (params->freqs) { 1080 struct nlattr *freqs; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/common/ |
H A D | privsep_commands.h | 40 u16 freqs[PRIVSEP_MAX_SCAN_FREQS]; member in struct:privsep_cmd_scan
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_nl80211_scan.c | 219 if (params->freqs) { 220 struct nlattr *freqs; local 221 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); 222 if (freqs == NULL) 224 for (i = 0; params->freqs[i]; i++) { 226 "MHz", params->freqs[i]); 227 if (nla_put_u32(msg, i + 1, params->freqs[i])) 230 nla_nest_end(msg, freqs); 1079 if (params->freqs) { 1080 struct nlattr *freqs; local [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | acs.c | 885 params.freqs = os_calloc(iface->current_mode->num_channels + 1, 886 sizeof(params.freqs[0])); 887 if (params.freqs == NULL) 890 freq = params.freqs; 912 os_free(params.freqs); 916 os_free(params.freqs);
|
H A D | hw_features.c | 370 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); 371 if (params->freqs == NULL) 382 params->freqs[pos++] = chan->freq; 411 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); 412 if (params->freqs == NULL) 423 params->freqs[pos++] = chan->freq; 443 os_free(params.freqs); 492 os_free(params.freqs);
|
/external/wpa_supplicant_8/src/ap/ |
H A D | acs.c | 885 params.freqs = os_calloc(iface->current_mode->num_channels + 1, 886 sizeof(params.freqs[0])); 887 if (params.freqs == NULL) 890 freq = params.freqs; 912 os_free(params.freqs); 916 os_free(params.freqs);
|
H A D | hw_features.c | 370 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); 371 if (params->freqs == NULL) 382 params->freqs[pos++] = chan->freq; 411 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); 412 if (params->freqs == NULL) 423 params->freqs[pos++] = chan->freq; 443 os_free(params.freqs); 492 os_free(params.freqs);
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | acs.c | 885 params.freqs = os_calloc(iface->current_mode->num_channels + 1, 886 sizeof(params.freqs[0])); 887 if (params.freqs == NULL) 890 freq = params.freqs; 912 os_free(params.freqs); 916 os_free(params.freqs);
|
H A D | hw_features.c | 370 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); 371 if (params->freqs == NULL) 382 params->freqs[pos++] = chan->freq; 411 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); 412 if (params->freqs == NULL) 423 params->freqs[pos++] = chan->freq; 443 os_free(params.freqs); 492 os_free(params.freqs);
|
/external/autotest/client/site_tests/power_Thermal/ |
H A D | power_Thermal.py | 224 freqs = [] 226 freqs.append('%d' % self._cpu_freq(cpu)) 228 ', '.join(freqs))
|