/external/chromium/chrome/browser/autofill/ |
autofill_download.cc | 173 void AutofillDownloadManager::SetPositiveUploadRate(double rate) { 174 if (rate == positive_upload_rate_) 176 positive_upload_rate_ = rate; 177 DCHECK_GE(rate, 0.0); 178 DCHECK_LE(rate, 1.0); 182 preferences->SetDouble(prefs::kAutofillPositiveUploadRate, rate); 186 void AutofillDownloadManager::SetNegativeUploadRate(double rate) { 187 if (rate == negative_upload_rate_) 189 negative_upload_rate_ = rate; 190 DCHECK_GE(rate, 0.0) [all...] |
/bionic/libc/kernel/common/linux/ |
tegra_audio.h | 27 int rate; member in struct:tegra_audio_in_config
|
fd.h | 36 rate, member in struct:floppy_struct 40 #define FD_SIZECODE(floppy) (((((floppy)->rate&FD_SIZECODEMASK)>> 3)+ 2) %8) 41 #define FD_SECTSIZE(floppy) ( (floppy)->rate & FD_2M ? 512 : 128 << FD_SIZECODE(floppy) ) 232 unsigned char rate; member in struct:floppy_raw_cmd
|
/external/chromium/chrome/browser/extensions/ |
extension_tts_api_chromeos.cc | 26 double rate, 59 double rate, 84 if (rate >= 0.0) { 87 DoubleToString(rate * 5),
|
extension_tts_api_linux.cc | 22 double rate,
|
/external/iproute2/testsuite/tests/ |
cbq.t | 4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded 9 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
|
/external/kernel-headers/original/linux/ |
tegra_audio.h | 30 int rate; member in struct:tegra_audio_in_config
|
/external/chromium/chrome/browser/net/ |
predictor_unittest.cc | 391 double rate; local 393 motivation_url, subresource_url, recovered_referral_list, &rate)); 394 EXPECT_EQ(rate, kUseRate); 434 double rate; local 437 &rate)); 438 EXPECT_SIMILAR(rate, kRateIcon); 441 motivation_url, img_subresource_url, recovered_referral_list, &rate)); 442 EXPECT_SIMILAR(rate, kRateImg); 451 motivation_url, icon_subresource_url, recovered_referral_list, &rate)); 452 EXPECT_SIMILAR(rate, kRateIcon / 2) [all...] |
/external/speex/libspeex/ |
vorbis_psy.h | 80 int rate; member in struct:__anon12528 91 VorbisPsy *vorbis_psy_init(int rate, int size);
|
speex_header.c | 72 int rate; 86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) 105 header->rate = rate; 131 ENDIAN_SWITCH(le_header->rate); 171 ENDIAN_SWITCH(le_header->rate);
|
/external/srec/srec/EventLog/include/ |
riff.h | 54 * sampling rate: sample frames per sec. 58 * sampling rate * block alignment 220 int *rate, 228 int rate,
|
/frameworks/av/media/common_time/ |
local_clock.cpp | 73 status_t LocalClock::setLocalSlew(int16_t rate) { 79 return static_cast<status_t>(dev_->set_local_slew(dev_, rate));
|
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
SingleThreadedMediaPlayerProxy.java | 97 public void setVariableSpeed(float rate) { 98 ((VariableSpeed) mDelegate).setVariableSpeed(rate);
|
/device/moto/wingray/libaudio/ |
AudioPostProcessor.cpp | 101 uint32_t AudioPostProcessor::convRateToCto(uint32_t rate) 103 switch (rate) { 195 // Setting the HW sampling rate may require reconfiguration of audio processing. 198 uint32_t rate = convRateToCto(sampRate); local 202 if (rate != mAudioMmEnvVar.sample_rate) { 203 mAudioMmEnvVar.sample_rate = rate; 225 void AudioPostProcessor::initEcns(int rate, int bytes) 231 if (rate != 8000 && rate != 16000) { 232 ALOGW("Invalid rate for EC/NS, disabling") [all...] |
/external/iproute2/tc/ |
q_red.c | 40 unsigned rate = 0; local 87 if (get_rate(&rate, *argv)) { 104 if (rate == 0) 105 get_rate(&rate, "10Mbit"); 124 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
|
tc_core.c | 59 unsigned tc_calc_xmittime(unsigned rate, unsigned size) 61 return tc_core_time2tick(TIME_UNITS_PER_SEC*((double)size/rate)); 64 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks) 66 return ((double)rate*tc_core_tick2time(ticks))/TIME_UNITS_PER_SEC; 75 * before doing the rate table lookup, as this gives better precision 115 unsigned bps = r->rate;
|
/external/srtp/test/ |
rdbx_driver.c | 71 double rate; local 122 rate = rdbx_check_adds_per_second(1 << 18, 128); 123 printf("rdbx_check/replay_adds per second (ws=128): %e\n", rate); 124 rate = rdbx_check_adds_per_second(1 << 18, 1024); 125 printf("rdbx_check/replay_adds per second (ws=1024): %e\n", rate);
|
/external/tinyalsa/ |
tinyplay.c | 58 unsigned int rate, unsigned int bits, unsigned int period_size, 130 unsigned int rate, unsigned int bits, unsigned int period_size, 140 config.rate = rate; 167 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits);
|
/external/webkit/Source/WebCore/platform/graphics/openvg/ |
ImageOpenVG.cpp | 122 double rate = static_cast<double>(scaledSize.width()) / origSize.width(); local 123 double temp = srcRect.right() * rate; 124 srcRect.setX(srcRect.x() * rate); 126 temp = srcRect.bottom() * rate; 127 srcRect.setY(srcRect.y() * rate);
|
/system/extras/sound/ |
playwav.c | 36 int pcm_play(unsigned rate, unsigned channels, 58 config.sample_rate = rate; 135 void play_file(unsigned rate, unsigned channels, 148 pcm_play(rate, channels, fill_buffer, 0); 154 unsigned rate, channels; local 191 int wav_rec(const char *fn, unsigned channels, unsigned rate) 208 hdr.sample_rate = rate; 334 unsigned rate = 44100; local 347 } else if (!strcmp(argv[0],"-rate")) { 351 fprintf(stderr,"playwav: -rate requires a parameter\n") [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
slesTestSlowDownUri.cpp | 71 SLpermille minRate, maxRate, stepSize, rate = 1000; local 75 SLresult res = (*pRateItf)->GetRate(pRateItf, &rate); CheckErr(res); 78 fprintf(stdout, "old rate = %d, minRate=%d, maxRate=%d\n", rate, minRate, maxRate); 79 rate /= 2; 80 if (rate < minRate) { 81 rate = minRate; 83 fprintf(stdout, "new rate = %d\n", rate); 84 res = (*pRateItf)->SetRate(pRateItf, rate); CheckErr(res) 292 SLpermille rate = 1234; local [all...] |
/external/chromium/chrome/browser/chromeos/input_method/ |
xkeyboard.cc | 178 // Sets the auto-repeat rate of the keyboard, initial delay in ms, and repeat 181 bool SetAutoRepeatRate(const AutoRepeatRate& rate) { 188 DLOG(INFO) << "Set auto-repeat rate to: " 189 << rate.initial_delay_in_ms << " ms delay, " 190 << rate.repeat_interval_in_ms << " ms interval"; 192 rate.initial_delay_in_ms, 193 rate.repeat_interval_in_ms) != True) { 194 LOG(ERROR) << "Failed to set auto-repeat rate"; 435 bool SetAutoRepeatRate(const AutoRepeatRate& rate) { 436 return XKeyboard::GetInstance()->SetAutoRepeatRate(rate); [all...] |
/external/netperf/ |
netcpu_kstat.c | 41 idle. The rate at which this increments during a test is compared 259 rate[MAXTIMES], local 287 rate[i] = (float)0.0; 329 if (temp_rate > rate[i]) rate[i] = temp_rate; 331 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 334 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
netcpu_perfstat.c | 43 idle. The rate at which this increments during a test is compared 125 rate[MAXTIMES], local 166 rate[i] = (float)0.0; 250 if (temp_rate > rate[i]) rate[i] = temp_rate; 252 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 255 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|
netcpu_pstat.c | 34 idle. The rate at which this increments during a test is compared 95 cpu rate to the calling routine. */ 108 rate[MAXTIMES], local 139 rate[i] = 0.0; 201 if (temp_rate > rate[i]) rate[i] = temp_rate; 203 fprintf(where,"\trate[%d] = %g\n",i,rate[i]); 206 if (local_maxrate < rate[i]) local_maxrate = rate[i];
|