/packages/inputmethods/PinyinIME/jni/share/ |
ngram.cpp | 61 size_t update_code_idx(double freqs[], size_t num, double code_book[], 66 idx = qsearch_nearest(code_book, freqs[pos], 0, kCodeBookSize - 1); 74 double recalculate_kernel(double freqs[], size_t num, double code_book[], 87 ret += distance(freqs[pos], code_book[code_idx[pos]]); 89 cb_new[code_idx[pos]] += freqs[pos]; 104 void iterate_codes(double freqs[], size_t num, double code_book[], 109 size_t changed = update_code_idx(freqs, num, code_book, code_idx); 111 double delta = recalculate_kernel(freqs, num, code_book, code_idx); 250 double *freqs = new double[next_idx_unused]; local 251 if (NULL == freqs) [all...] |
/system/extras/cpustats/ |
cpustats.c | 45 struct freq_info *freqs; member in struct:cpu_info 115 new_cpus[i].freqs = malloc(sizeof(struct freq_info) * new_cpus[i].freq_count); 116 if (!new_cpus[i].freqs) die("Could not allocate struct freq_info\n"); 117 old_cpus[i].freqs = malloc(sizeof(struct freq_info) * old_cpus[i].freq_count); 118 if (!old_cpus[i].freqs) die("Could not allocate struct freq_info\n"); 127 new_total_cpu.freqs = malloc(sizeof(struct freq_info) * new_total_cpu.freq_count); 128 if (!new_total_cpu.freqs) die("Could not allocate struct freq_info\n"); 129 old_total_cpu.freqs = malloc(sizeof(struct freq_info) * old_total_cpu.freq_count); 130 if (!old_total_cpu.freqs) die("Could not allocate struct freq_info\n"); 153 free(new_total_cpu.freqs); [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
bgscan_learn.c | 215 int *freqs = NULL, *n; local 220 if (in_array(freqs, bss->freq)) 222 n = os_realloc(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; 273 int *freqs = NULL; local 352 int i, j, *freqs = NULL, *n; local [all...] |
scan.c | 310 if (params->freqs == NULL && wpa_s->p2p_in_provisioning && 318 params->freqs = os_zalloc(2 * sizeof(int)); 319 if (params->freqs) 320 params->freqs[0] = wpa_s->go_params->freq; 325 int_array_concat(¶ms->freqs, 327 if (params->freqs) 328 int_array_sort_unique(params->freqs); 335 if (params->freqs == NULL && wpa_s->after_wps && wpa_s->wps_freq) { 342 params->freqs = os_zalloc(2 * sizeof(int)); 343 if (params->freqs) [all...] |
config.c | 945 int *freqs; local 951 freqs = os_zalloc((len + 1) * sizeof(int)); 952 if (freqs == NULL) 962 n = os_realloc(freqs, (len * 2 + 1) * sizeof(int)); 964 os_free(freqs); 969 freqs = n; 973 freqs[used] = atoi(pos); 974 if (freqs[used] == 0) 980 return freqs; 988 int *freqs; local 1004 int *freqs; local [all...] |
wpa_supplicant.c | 3031 int *freqs; local 3065 int *freqs = NULL; local [all...] |
bgscan_simple.c | 43 params.freqs = data->ssid->scan_freq;
|
bss.c | 404 if (bss->freq == info->freqs[i]) {
|
events.c | 462 static int freq_allowed(int *freqs, int freq) 466 if (freqs == NULL) 469 for (i = 0; freqs[i]; i++) 470 if (freqs[i] == freq) [all...] |
p2p_supplicant.c | 159 params.freqs = social_channels; 166 params.freqs = social_channels; 170 params.freqs = social_channels; [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/ |
SettingsDialog.java | 515 String[] freqs = getFrequencies(resolution, modes); local 516 displayFreqCombo.setModel(new DefaultComboBoxModel(freqs)); 627 ArrayList<String> freqs = new ArrayList<String>(4); local 637 if (res.equals(resolution) && !freqs.contains(freq)) { 638 freqs.add(freq); 642 String[] res = new String[freqs.size()]; 643 freqs.toArray(res);
|
/cts/suite/audio_quality/test_description/processing/ |
check_spectrum.py | 50 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\ 53 Pdd, freqs = plt.psd(DUTData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
|
check_spectrum_playback.py | 49 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
|
/external/qemu/distrib/sdl-1.2.12/src/audio/mint/ |
SDL_mintaudio_stfa.c | 65 static const int freqs[16]={ variable 215 SDL_MintAudio_AddFrequency(this, freqs[i], 0, i, -1);
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_new_handlers.c | 1033 int *freqs = NULL, *nfreqs; local 1073 os_free(freqs); 1087 os_free(freqs); 1095 nfreqs = os_realloc(freqs, sizeof(int) * 1098 os_free(freqs); 1099 freqs = nfreqs; 1101 if (freqs == NULL) { 1104 "freqs"); 1110 freqs[freqs_num] = freq; 1116 nfreqs = os_realloc(freqs, [all...] |
dbus_new.c | 1055 dbus_int32_t freqs[P2P_MAX_CHANNELS]; local 1056 dbus_int32_t *f_array = freqs; 1061 os_memset(freqs, 0, sizeof(freqs)); 1123 freqs[i] = res->freq_list[i]; [all...] |
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211.c | 1544 int freqs[MAX_REPORT_FREQS]; local 3417 struct nl_msg *msg, *ssids, *freqs, *rates; local 3553 struct nl_msg *msg, *ssids, *freqs, *match_set_ssid, *match_sets; local 4567 int freqs[2]; local [all...] |
driver.h | 236 * freqs - Array of frequencies to scan or %NULL for all frequencies 240 int *freqs; member in struct:wpa_driver_scan_params 3341 const int *freqs; member in struct:wpa_event_data::scan_info [all...] |
driver_test.c | [all...] |
/external/wpa_supplicant_8/src/p2p/ |
p2p.c | 1442 int freqs; local [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.apache.lucene_1.9.1.v20100518-1140.jar | |
/prebuilt/common/tradefed/ |
tradefed-prebuilt.jar | |