/external/qemu/distrib/sdl-1.2.12/src/audio/sun/ |
SDL_sunaudio.c | 166 /* Assuming that this->spec.freq >= 8000 Hz */ 171 incr = this->spec.freq/8; 249 int desired_freq = spec->freq; 297 info.play.sample_rate = spec->freq; 314 spec->freq = info.play.sample_rate; 330 spec->freq = 8000; 347 spec->freq = desired_freq; 348 fragsize = (spec->samples*1000)/(spec->freq/8); 358 frequency = spec->freq/1000; 363 fprintf(stderr, "format=0x%x chan=%d freq=%d\n" [all...] |
/sdk/emulator/qtools/ |
bbprof.cpp | 13 int freq; // execution frequency member in struct:MyStaticRec 55 if (bb1->freq < bb2->freq) 57 if (bb1->freq > bb2->freq) 89 blocks[ii].freq = 0; 108 blocks[bb_num].freq += 1; 110 bptr->freq += 1; 139 printf("bb %lld addr: 0x%x, insns: %d freq: %u elapsed: %u\n", 141 sorted[ii]->bb.num_insns, sorted[ii]->freq, [all...] |
/packages/inputmethods/PinyinIME/jni/include/ |
dictdef.h | 135 float freq; member in struct:ime_pinyin::SingleCharItem 151 float freq; member in struct:ime_pinyin::LemmaEntry
|
spellingtable.h | 31 double freq; member in struct:ime_pinyin::__anon11333 83 // freq is the spelling's occuring count.
|
/external/qemu/audio/ |
ossaudio.c | 75 int freq; member in struct:oss_params 197 dolog ("frequency | %10d | %10d\n", req->freq, obt->freq); 210 int fmt, freq, nchannels; local 220 freq = req->freq; 235 if (ioctl (fd, SNDCTL_DSP_SPEED, &freq)) { 236 oss_logerr2 (errno, typ, "Failed to set frequency %d\n", req->freq); 265 obt->freq = freq; [all...] |
alsaaudio.c | 139 int freq; member in struct:alsa_params_req 149 int freq; member in struct:alsa_params_obt 298 dolog ("frequency | %10d | %10d\n", req->freq, obt->freq); 342 unsigned int freq, nchannels; local 348 freq = req->freq; 387 err = FF(snd_pcm_hw_params_set_rate_near) (handle, hw_params, &freq, 0); 389 alsa_logerr2 (err, typ, "Failed to set frequency %d\n", req->freq); 520 bytes_per_sec = freq << (nchannels == 2) [all...] |
audio_template.h | 125 sw->rate = st_rate_start (sw->info.freq, sw->hw->info.freq); 127 sw->rate = st_rate_start (sw->hw->info.freq, sw->info.freq); 150 sw->ratio = ((int64_t) sw->hw->info.freq << 32) / sw->info.freq; 154 sw->ratio = ((int64_t) sw->info.freq << 32) / sw->hw->info.freq; 422 ldebug ("open %s, freq %d, nchannels %d, fmt %d\n", 423 name, as->freq, as->nchannels, as->fmt) [all...] |
/packages/inputmethods/PinyinIME/jni/share/ |
ngram.cpp | 37 inline double distance(double freq, double code) { 38 // return fabs(freq - code); 39 return freq * fabs(log(freq) - log(code)); 42 // Find the index of the code value which is nearest to the given freq 43 int qsearch_nearest(double code_book[], double freq, int start, int end) { 48 if (distance(freq, code_book[end]) > distance(freq, code_book[start])) 55 if (code_book[mid] > freq) 56 return qsearch_nearest(code_book, freq, start, mid) [all...] |
dictbuilder.cpp | 61 if (s1->freq > s2->freq) 63 if (s1->freq < s2->freq) 118 return static_cast<int>(((const LemmaEntry*)p2)->freq) - 119 static_cast<int>(((const LemmaEntry*)p1)->freq); 301 if (lemma_arr_[pos].freq > top_lmas_[top_lmas_num_ - 1].freq) { 310 top_lmas_[move_pos - 2].freq > lemma_arr_[pos].freq)) { [all...] |
/external/e2fsprogs/misc/ |
e2initrd_helper.c | 57 int freq; member in struct:fs_info 234 char *dev, *device, *mntpnt, *type, *opts, *freq, *passno, *cp; local 244 freq = parse_word(&cp); 257 parse_escape(freq); 271 fs->freq = freq ? atoi(freq) : -1;
|
/external/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 87 QString ssid, bssid, freq, signal, flags; local 89 freq = cols.count() > 1 ? cols[1] : ""; 93 new Q3ListViewItem(scanResultsView, ssid, bssid, freq, signal,
|
/external/wpa_supplicant_6/wpa_supplicant/examples/ |
wpas-test.py | 74 freq = 0 76 freq = props["frequency"] 83 print " %s :: ssid='%s' wpa=%s wpa2=%s quality=%d%% rate=%d freq=%d" % (bssid, ssid, wpa, wpa2, qual, maxrate, freq)
|
/external/wpa_supplicant_6/wpa_supplicant/wpa_gui-qt4/ |
scanresults.cpp | 81 QString ssid, bssid, freq, signal, flags; local 92 else if ((*it).startsWith("freq=")) 93 freq = (*it).mid(pos); 106 item->setText(2, freq);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
Native.java | 23 public native short[] generateSinusoid(float freq, float duration,
|
/external/wpa_supplicant/ |
driver.h | 43 * @freq: frequency of the channel in MHz (e.g., 2412 = channel 1) 62 int freq; member in struct:wpa_scan_result 88 * freq - Frequency of the channel the selected AP is using 92 int freq; member in struct:wpa_driver_associate_params 193 short freq; /* frequency in MHz */ member in struct:wpa_channel_data 683 * @freq: Frequency of the channel in MHz 690 int freq);
|
/external/wpa_supplicant_6/wpa_supplicant/src/common/ |
privsep_commands.h | 42 int freq; member in struct:privsep_cmd_associate
|
/frameworks/base/include/pim/ |
EventRecurrence.h | 54 freq_t freq; member in struct:android::EventRecurrence
|
/hardware/ti/wlan/wl1271/Test/ |
smeDebug.c | 54 unsigned long freq; member in struct:CHAN_FREQ 168 static TI_UINT8 Freq2Chan(TI_UINT32 freq) 173 if(ChanFreq[i].freq == freq)
|
/system/media/opensles/libopensles/ |
SDL.c | 48 fmt.freq = 44100;
|
/system/wlan/ti/wilink_6_1/Test/ |
smeDebug.c | 54 unsigned long freq; member in struct:CHAN_FREQ 168 static TI_UINT8 Freq2Chan(TI_UINT32 freq) 173 if(ChanFreq[i].freq == freq)
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
RecurrenceProcessor.java | 173 * a period greater than or equal to the period of the FREQ. 182 int freq = r.freq; local 184 if (EventRecurrence.MONTHLY >= freq) { 194 if (EventRecurrence.WEEKLY >= freq) { 206 if (EventRecurrence.DAILY >= freq) { 239 if (EventRecurrence.HOURLY >= freq) { 248 if (EventRecurrence.MINUTELY >= freq) { 257 if (EventRecurrence.SECONDLY >= freq) { 280 int generateByList(int count, int freq, int byFreq 654 int freq = r.freq; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
SDL_audio.c | 220 SDL_Delay((audio->spec.samples*1000)/audio->spec.freq); 417 if ( desired->freq == 0 ) { 420 desired->freq = SDL_atoi(env); 423 if ( desired->freq == 0 ) { 425 desired->freq = 22050; 465 int samples = (desired->freq / 1000) * 46; 522 } else if ( desired->freq != audio->spec.freq || 528 desired->freq, 530 audio->spec.freq) < 0 ) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
UserBigramDictionary.java | 83 private static final String FREQ_COLUMN_FREQUENCY = "freq"; 172 int freq = super.addBigram(word1, word2, FREQUENCY_FOR_TYPED); local 173 if (freq > FREQUENCY_MAX) freq = FREQUENCY_MAX; 175 if (freq == FREQUENCY_FOR_TYPED || mPendingWrites.isEmpty()) { 176 mPendingWrites.add(new Bigram(word1, word2, freq)); 178 Bigram bi = new Bigram(word1, word2, freq); 184 return freq; 246 // main INNER JOIN frequency ON (main._id=freq.pair_id)
|
/external/bluetooth/bluez/sbc/ |
sbcinfo.c | 121 static char *freq2str(uint8_t freq) 123 switch (freq) { 177 int subbands, blocks, freq, mode, method; local 201 freq = hdr.sampling_frequency; 283 printf("Sampling frequency\t%s\n", freq2str(freq));
|
/external/qemu/distrib/sdl-1.2.12/src/audio/dmedia/ |
SDL_irixaudio.c | 111 timeleft /= (this->spec.freq/1000); 153 audio_param[1] = spec->freq; 160 audio_param.value.i = spec->freq;
|