/third_party/ffmpeg/libavcodec/ |
H A D | scpr3.c | 35 uint16_t *freqs, uint16_t *freqs1, in renew_table3() 43 freqs[d] = b; in renew_table3() 64 s->run_model3[i].freqs[0], s->run_model3[i].freqs[1], in reinit_tables3() 69 s->range_model3.freqs[0], s->range_model3.freqs[1], in reinit_tables3() 73 s->fill_model3.freqs[0], s->fill_model3.freqs[1], in reinit_tables3() 77 s->count_model3.freqs[0], s->count_model3.freqs[ in reinit_tables3() 34 renew_table3(uint32_t nsym, uint32_t *cntsum, uint16_t *freqs, uint16_t *freqs1, uint16_t *cnts, uint8_t *dectab) renew_table3() argument 208 uint16_t *freqs, *freqs1, *cnts; update_model6_to_7() local 264 uint16_t freqs[512] = {0}; rescale_dec() local 527 int i, size, freqs; update_model1_to_5() local [all...] |
H A D | scpr3.h | 36 uint16_t freqs[256]; member 44 uint16_t freqs[2][5]; member 51 uint16_t freqs[2][6]; member 58 uint16_t freqs[2][256]; member 65 uint16_t freqs[2][16]; member 72 uint16_t freqs[2][512]; member
|
H A D | mss3.c | 47 int weights[16], freqs[16]; member 54 int weights[256], freqs[256]; member 183 m->freqs[i] = sum * scale >> 16; in model_update() 239 m->freqs[i] = sum * scale >> 16; in model256_update() 241 send = m->freqs[i] >> MODEL256_SEC_SCALE; in model256_update() 375 helper = m->freqs[end] * c->range; in rac_get_model_sym() 412 if (m->freqs[ssym] <= helper) { in rac_get_model256_sym() 420 prob = m->freqs[val] * c->range; in rac_get_model256_sym() 422 prob2 = m->freqs[val + 1] * c->range; in rac_get_model256_sym()
|
H A D | qdmc.c | 547 static void add_wave(QDMCContext *s, int offset, int freqs, int group, int stereo_mode, int amp, int phase) in add_wave() argument 556 pos = freqs >> (4 - group); in add_wave() 560 pindex = (phase << 6) - ((2 * (freqs >> (4 - group)) + 1) << 7); in add_wave() 562 pindex += (2 * freqs + 1) << (7 - group_bits); in add_wave() 579 static void add_wave0(QDMCContext *s, int offset, int freqs, int stereo_mode, int amp, int phase) in add_wave0() argument 590 pos = s->fft_offset + freqs + s->subframe_size * offset; in add_wave0()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/ |
H A 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() 241 return freqs; in bgscan_learn_get_probe_freq() 235 bgscan_learn_get_probe_freq(struct bgscan_learn_data *data, int *freqs, size_t count) bgscan_learn_get_probe_freq() argument 275 int *freqs = NULL; bgscan_learn_timeout() local 351 int i, j, *freqs = NULL, *n; bgscan_learn_get_supp_freqs() local [all...] |
H A D | scan.c | 375 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs() 383 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 384 if (params->freqs) in wpa_supplicant_optimize_freqs() 385 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs() 390 int_array_concat(¶ms->freqs, in wpa_supplicant_optimize_freqs() 392 if (params->freqs) in wpa_supplicant_optimize_freqs() 393 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs() 398 if (params->freqs == NULL && wpa_s->p2p_in_invitation) { in wpa_supplicant_optimize_freqs() 407 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 408 if (params->freqs) in wpa_supplicant_optimize_freqs() [all...] |
H A D | rrm.c | 470 int *freqs) in wpas_add_channel() 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() 518 "Beacon Report: Failed to allocate freqs arra in wpas_add_channels() 469 wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, int *freqs) wpas_add_channel() argument 575 int *freqs = NULL, *new_freqs; wpas_channel_report_freqs() local 636 int *freqs = NULL, *ext_freqs = NULL; wpas_beacon_request_freqs() local [all...] |
H A D | p2p_supplicant.c | 159 struct wpa_used_freq_data *freqs, 165 struct wpa_used_freq_data *freqs, unsigned int num, 176 int *freqs; in wpas_p2p_num_unused_channels() local 179 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int)); in wpas_p2p_num_unused_channels() 180 if (!freqs) in wpas_p2p_num_unused_channels() 183 num = get_shared_radio_freqs(wpa_s, freqs, in wpas_p2p_num_unused_channels() 185 os_free(freqs); in wpas_p2p_num_unused_channels() 202 struct wpa_used_freq_data *freqs; in wpas_p2p_valid_oper_freqs() local 205 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_valid_oper_freqs() 207 if (!freqs) in wpas_p2p_valid_oper_freqs() 2878 wpas_p2p_pick_best_used_freq(struct wpa_supplicant *wpa_s, struct wpa_used_freq_data *freqs, unsigned int num) wpas_p2p_pick_best_used_freq() argument 2923 struct wpa_used_freq_data *freqs; wpas_invitation_process() local 4818 struct wpa_used_freq_data *freqs; wpas_check_freq_conflict() local 5115 int freqs[2] = { 0, 0 }; wpas_p2p_join_scan_req() local 5329 struct wpa_used_freq_data *freqs; wpas_p2p_setup_freqs() local 5978 struct wpa_used_freq_data *freqs; wpas_p2p_init_go_params() local 7786 struct wpa_used_freq_data *freqs = NULL; wpas_p2p_update_channel_list() local 9085 wpas_p2p_optimize_listen_channel(struct wpa_supplicant *wpa_s, struct wpa_used_freq_data *freqs, unsigned int num) wpas_p2p_optimize_listen_channel() argument 9309 struct wpa_used_freq_data *freqs = NULL; wpas_p2p_reconsider_moving_go() local 9337 wpas_p2p_consider_moving_one_go(struct wpa_supplicant *wpa_s, struct wpa_used_freq_data *freqs, unsigned int num) wpas_p2p_consider_moving_one_go() argument 9452 wpas_p2p_consider_moving_gos(struct wpa_supplicant *wpa_s, struct wpa_used_freq_data *freqs, unsigned int num, enum wpas_p2p_channel_update_trig trig) wpas_p2p_consider_moving_gos() argument [all...] |
H A 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 1396 int *freqs; wpa_config_parse_freq_list() local 1413 wpa_config_write_freqs(const struct parse_data *data, const int *freqs) wpa_config_write_freqs() argument 4294 int *freqs; wpa_config_process_freq_list() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A 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() 241 return freqs; in bgscan_learn_get_probe_freq() 235 bgscan_learn_get_probe_freq(struct bgscan_learn_data *data, int *freqs, size_t count) bgscan_learn_get_probe_freq() argument 275 int *freqs = NULL; bgscan_learn_timeout() local 351 int i, j, *freqs = NULL, *n; bgscan_learn_get_supp_freqs() local [all...] |
H A D | scan.c | 446 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && in wpa_supplicant_optimize_freqs() 454 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 455 if (params->freqs) in wpa_supplicant_optimize_freqs() 456 params->freqs[0] = wpa_s->go_params->freq; in wpa_supplicant_optimize_freqs() 461 int_array_concat(¶ms->freqs, in wpa_supplicant_optimize_freqs() 463 if (params->freqs) in wpa_supplicant_optimize_freqs() 464 int_array_sort_unique(params->freqs); in wpa_supplicant_optimize_freqs() 469 if (params->freqs == NULL && wpa_s->p2p_in_invitation) { in wpa_supplicant_optimize_freqs() 478 params->freqs = os_calloc(2, sizeof(int)); in wpa_supplicant_optimize_freqs() 479 if (params->freqs) in wpa_supplicant_optimize_freqs() 744 int *freqs, i; wpa_add_scan_freqs_list() local [all...] |
H A D | rrm.c | 480 int *freqs) in wpas_add_channel() 487 freqs[i] = ieee80211_chan_to_freq(NULL, op_class, primary_chan); in wpas_add_channel() 491 if (freqs[i] < 0 && in wpas_add_channel() 493 freqs[i] = 5000 + 5 * primary_chan; in wpas_add_channel() 494 if (freqs[i] < 0) { in wpas_add_channel() 510 int *freqs, *next_freq; in wpas_add_channels() local 525 freqs = os_calloc(num_chans * num_primary_channels + 1, sizeof(*freqs)); in wpas_add_channels() 526 if (!freqs) { in wpas_add_channels() 528 "Beacon Report: Failed to allocate freqs arra in wpas_add_channels() 479 wpas_add_channel(u8 op_class, u8 chan, u8 num_primary_channels, int *freqs) wpas_add_channel() argument 595 int *freqs = NULL, *new_freqs; wpas_channel_report_freqs() local 657 int *freqs = NULL, *ext_freqs = NULL; wpas_beacon_request_freqs() local [all...] |
H A D | p2p_supplicant.c | 201 struct wpa_used_freq_data *freqs, 207 struct wpa_used_freq_data *freqs, unsigned int num, 229 int *freqs; in wpas_p2p_num_unused_channels() local 232 freqs = os_calloc(wpa_s->num_multichan_concurrent, sizeof(int)); in wpas_p2p_num_unused_channels() 233 if (!freqs) in wpas_p2p_num_unused_channels() 236 num = get_shared_radio_freqs(wpa_s, freqs, in wpas_p2p_num_unused_channels() 238 os_free(freqs); in wpas_p2p_num_unused_channels() 256 struct wpa_used_freq_data *freqs; in wpas_p2p_valid_oper_freqs() local 259 freqs = os_calloc(wpa_s->num_multichan_concurrent, in wpas_p2p_valid_oper_freqs() 261 if (!freqs) in wpas_p2p_valid_oper_freqs() 3531 wpas_p2p_pick_best_used_freq(struct wpa_supplicant *wpa_s, struct wpa_used_freq_data *freqs, unsigned int num) wpas_p2p_pick_best_used_freq() argument 3576 struct wpa_used_freq_data *freqs; wpas_invitation_process() local 5932 struct wpa_used_freq_data *freqs; global() local 6243 int freqs[2] = { 0, 0 }; global() local 6467 struct wpa_used_freq_data *freqs; global() local 7070 const int freqs[] = { global() local 7225 struct wpa_used_freq_data *freqs; global() local [all...] |
H A D | config.c | 1500 int *freqs; in wpa_config_parse_int_array() local 1506 freqs = os_calloc(len + 1, sizeof(int)); in wpa_config_parse_int_array() 1507 if (freqs == NULL) in wpa_config_parse_int_array() 1517 n = os_realloc_array(freqs, len * 2 + 1, sizeof(int)); in wpa_config_parse_int_array() 1519 os_free(freqs); in wpa_config_parse_int_array() 1524 freqs = n; in wpa_config_parse_int_array() 1528 freqs[used] = atoi(pos); in wpa_config_parse_int_array() 1529 if (freqs[used] == 0) in wpa_config_parse_int_array() 1535 return freqs; in wpa_config_parse_int_array() 1543 int *freqs; in wpa_config_parse_scan_freq() local 1563 int *freqs; wpa_config_parse_freq_list() local 1580 wpa_config_write_freqs(const struct parse_data *data, const int *freqs) wpa_config_write_freqs() argument 4800 int *freqs; wpa_config_process_freq_list() local 4820 int *freqs; wpa_config_process_initial_freq_list() local [all...] |
/third_party/skia/tools/skpbench/ |
H A D | _hardware_android.py | 107 # expects a float between 0 and 100 representing where along the list of freqs to choose a value. 128 freqs = self._adb.check('cat /sys/devices/system/cpu/cpu%i/cpufreq/scaling_available_frequencies' % i).split() 129 speed = freqs[int((len(freqs)-1) * self.desiredClock)] 149 freqs = self._adb.check('cat /sys/class/kgsl/kgsl-3d0/devfreq/available_frequencies').split() 150 speed = freqs[int((len(freqs)-1) * self.desiredClock)]
|
/third_party/rust/crates/memchr/scripts/ |
H A D | make-byte-frequency-table | 5 # assigned a rank. This list is written to src/freqs.rs. 36 freqs = Counter() 38 freqs[i] = 0 48 freqs[byte] += 1.0 / float(len(c)) 53 for i, (byte, _) in enumerate(freqs.most_common()):
|
/third_party/rust/crates/regex/scripts/ |
H A D | frequencies.py | 5 # assigned a rank. This list is written to src/freqs.rs. 36 freqs = Counter() 38 freqs[i] = 0 48 freqs[byte] += 1.0 / float(len(c)) 53 for i, (byte, _) in enumerate(freqs.most_common()):
|
/third_party/lame/mpglib/ |
H A D | common.c | 68 const long freqs[9] = { 44100, 48000, 32000, variable 157 layers[fr->lay], freqs[fr->sampling_frequency], 176 freqs[fr->sampling_frequency], modes[fr->mode]); 235 fr->framesize /= freqs[fr->sampling_frequency]; in decode_header() 243 fr->framesize /= freqs[fr->sampling_frequency]; in decode_header() 273 fr->framesize /= freqs[fr->sampling_frequency] << (fr->lsf); in decode_header()
|
H A D | common.h | 30 extern const long freqs[9];
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A 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...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_nl80211_scan.c | 221 if (params->freqs) { in nl80211_scan_common() 222 struct nlattr *freqs; in nl80211_scan_common() local 223 freqs = nla_nest_start(msg, NL80211_ATTR_SCAN_FREQUENCIES); in nl80211_scan_common() 224 if (freqs == NULL) in nl80211_scan_common() 226 for (i = 0; params->freqs[i]; i++) { in nl80211_scan_common() 228 "MHz", params->freqs[i]); in nl80211_scan_common() 229 if (nla_put_u32(msg, i + 1, params->freqs[i])) in nl80211_scan_common() 232 nla_nest_end(msg, freqs); in nl80211_scan_common() 1161 if (params->freqs) { in wpa_driver_nl80211_vendor_scan() 1162 struct nlattr *freqs; in wpa_driver_nl80211_vendor_scan() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | acs.c | 1082 params.freqs = os_calloc(num_channels + 1, sizeof(params.freqs[0])); in acs_request_scan() 1083 if (params.freqs == NULL) in acs_request_scan() 1086 freq = params.freqs; in acs_request_scan() 1096 if (params.freqs == freq) { in acs_request_scan() 1098 os_free(params.freqs); in acs_request_scan() 1111 os_free(params.freqs); in acs_request_scan() 1115 os_free(params.freqs); in acs_request_scan()
|
H A D | hw_features.c | 416 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4() 417 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4() 428 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 457 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g() 458 if (params->freqs == NULL) in ieee80211n_scan_channels_5g() 469 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g() 489 os_free(params.freqs); in ap_ht40_scan_retry() 538 os_free(params.freqs); in ieee80211n_check_40mhz()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | hw_features.c | 377 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4() 378 if (params->freqs == NULL) in ieee80211n_scan_channels_2g4() 389 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_2g4() 418 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_5g() 419 if (params->freqs == NULL) in ieee80211n_scan_channels_5g() 430 params->freqs[pos++] = chan->freq; in ieee80211n_scan_channels_5g() 450 os_free(params.freqs); in ap_ht40_scan_retry() 499 os_free(params.freqs); in ieee80211n_check_40mhz()
|
H A 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()
|