/external/ppp/pppd/plugins/pppoatm/ |
text2qos.c | 30 unsigned int rate,fract; local 37 rate = strtoul(*text,&end,10); 47 if (rate > UINT_MAX/1000) return RATE_ERROR; 48 rate *= 1000; 63 rate += fract; 69 rate = (rate+(up ? 8*ATM_CELL_PAYLOAD-1 : 0))/8/ 74 if (rate > INT_MAX) return RATE_ERROR; 76 return rate;
|
/external/iproute2/tc/ |
q_netem.c | 42 " [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n"); 179 struct tc_netem_rate rate; local 187 memset(&rate, 0, sizeof(rate)); 386 } else if (matches(*argv, "rate") == 0) { 389 if (get_rate(&rate.rate, *argv)) { 390 explain1("rate"); 395 if (get_s32(&rate.packet_overhead, *argv, 0)) 504 const struct tc_netem_rate *rate = NULL; local [all...] |
/external/iproute2/misc/ |
ifstat.c | 60 double rate[MAXS]; member in struct:ifstat_ent 110 memset(&n->rate, 0, sizeof(n->rate)); 184 unsigned rate; local 195 if (sscanf(p, "%u", &rate) != 1) 197 n->rate[i] = rate; 221 double *rates = n->rate; 229 rates = h1->rate; 292 fprintf(fp, "%8s/%-6s ", "RX Pkts", "Rate"); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
OrientationEventListenerTest.java | 56 public MockOrientationEventListener(Context context, int rate) { 57 super(context, rate);
|
/external/chromium/chrome/browser/net/ |
referrer.h | 40 void SetSubresourceUseRate(double rate) { subresource_use_rate_ = rate; } 114 // Returns true if expected use rate is greater than the threshold.
|
/external/chromium_org/chrome/browser/net/ |
referrer.h | 40 void SetSubresourceUseRate(double rate) { subresource_use_rate_ = rate; } 114 // Returns true if expected use rate is greater than the threshold.
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
Clock.cpp | 52 void Clock::setPlayRate(double rate) 56 m_rate = rate;
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebSpeechSynthesisUtterance.cpp | 89 float WebSpeechSynthesisUtterance::rate() const function in class:blink::WebSpeechSynthesisUtterance 91 return m_private->rate();
|
/external/iproute2/testsuite/tests/ |
policer | 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 5 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12 11 $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 12 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12
|
/external/openssh/ |
fixprogs | 65 ($null, $null, $rate) = split(/,/, $ent[0]); 66 $est = $rate / $entscale; # scale the estimate back
|
/external/qemu/distrib/sdl-1.2.15/src/audio/nds/ |
soundcommon.h | 54 u32 rate; member in struct:__anon24975 66 extern void SoundSystemInit(u32 rate,u32 buffersize,u8 channel,u8 format);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_linuxaudiodev.py | 35 size, enc, rate, nchannels, extra = sunaudio.gethdr(fp) 52 self.dev.setparameters(rate, 16, nchannels, fmt) 59 rate = 8000 64 self.assertEqual(err.args[0], "expected rate >= 0, not -1") 66 self.dev.setparameters(rate, -2, nchannels, fmt) 70 self.dev.setparameters(rate, size, 3, fmt) 74 self.dev.setparameters(rate, size, nchannels, 177) 78 self.dev.setparameters(rate, size, nchannels, linuxaudiodev.AFMT_U16_LE) 83 self.dev.setparameters(rate, 16, nchannels, fmt)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_linuxaudiodev.py | 35 size, enc, rate, nchannels, extra = sunaudio.gethdr(fp) 52 self.dev.setparameters(rate, 16, nchannels, fmt) 59 rate = 8000 64 self.assertEqual(err.args[0], "expected rate >= 0, not -1") 66 self.dev.setparameters(rate, -2, nchannels, fmt) 70 self.dev.setparameters(rate, size, 3, fmt) 74 self.dev.setparameters(rate, size, nchannels, 177) 78 self.dev.setparameters(rate, size, nchannels, linuxaudiodev.AFMT_U16_LE) 83 self.dev.setparameters(rate, 16, nchannels, fmt)
|
/cts/tests/tests/media/src/android/media/cts/ |
IvfWriter.java | 40 * Timebase fraction is in format scale/rate, e.g. 1/1000 48 * @param rate timebase rate (or denominator of the timebase fraction) 52 int scale, int rate) throws IOException { 57 mRate = rate; 101 * Timebase fraction is in format scale/rate, e.g. 1/1000 107 * @param rate timebase rate (or denominator of the timebase fraction) 109 private static byte[] makeIvfHeader(int frameCount, int width, int height, int scale, int rate){ 123 lay32Bits(ivfHeader, 16, rate); // scale/rat [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_tts_api_win.cc | 25 double rate, 57 double rate, 68 if (rate >= 0.0) { 69 // The TTS api allows a range of -10 to 10 for speech rate. 70 speech_synthesizer_->SetRate(static_cast<int32>(rate * 20 - 10));
|
/external/chromium_org/chrome/common/ |
tts_utterance_request.h | 22 float rate; member in struct:TtsUtteranceRequest
|
/frameworks/av/include/common_time/ |
local_clock.h | 37 status_t setLocalSlew(int16_t rate);
|
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/speak_selection/ |
background.js | 31 var rate = localStorage['rate'] || 1.0; 38 rate: parseFloat(rate),
|
/external/chromium_org/third_party/WebKit/Source/platform/speech/ |
PlatformSpeechSynthesisUtterance.h | 62 float rate() const { return m_rate; } function in class:WebCore::PlatformSpeechSynthesisUtterance 63 void setRate(float rate) { m_rate = std::max(std::min(10.0f, rate), 0.1f); }
|
/external/iproute2/examples/ |
cbqinit.eth1 | 18 # rate == all the bandwidth 21 # est 1sec 8sec means, that kernel will evaluate average rate 23 # This rate is viewed with "tc -s class ls dev $DEVICE" 26 $BANDWIDTH rate 10Mbit allot 1514 maxburst 50 avpkt 1000 31 # "rate". It is not necessary, weight=1 will work as well. 36 $BANDWIDTH rate 4Mbit allot 1514 weight 500Kbit \ 48 $BANDWIDTH rate 1Mbit allot 1514 weight 100Kbit \ 56 $BANDWIDTH rate 100Kbit allot 1514 weight 10Mbit \ 64 rate 5Mbit $BANDWIDTH allot 1514b avpkt 1000 \ 74 rate 1Mbit $BANDWIDTH allot 1514b avpkt 1000 weight 10Kbit [all...] |
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/ |
FountainFboRS.java | 86 int rate = (int)(pressure * pressure * 500.f); local 87 if (rate > 500) { 88 rate = 500; 90 if (rate > 0) { 91 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorIntegrationTests.java | 77 * It is however, acceptable that when a client is activated at a higher sampling rate, it would 78 * cause other clients to receive data at a faster sampling rate. A client causing other clients 79 * to receive data at a lower sampling rate is, however, not acceptable. 241 int rate; local 244 rate = SensorManager.SENSOR_DELAY_FASTEST; 247 rate = SensorManager.SENSOR_DELAY_GAME; 250 rate = SensorManager.SENSOR_DELAY_NORMAL; 253 rate = SensorManager.SENSOR_DELAY_UI; 260 rate = maxSamplingRate * mGenerator.nextInt(10); 262 return rate; [all...] |
/frameworks/ml/bordeaux/learning/multiclass_pa/native/ |
multiclass_pa.cpp | 116 // Compute the learning rate according to PA-I. 121 float rate = loss / twice_norm_square; local 122 if (rate > aggressiveness_) { 123 rate = aggressiveness_; 125 // VLOG(1) << "loss = " << loss << " rate = " << rate; 129 parameters_[target][i] += rate * inputs[i]; 131 parameters_[other_class][i] -= rate * inputs[i]; 149 // Compute the learning rate according to PA-I. 154 float rate = loss / twice_norm_square local [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/ |
runiSACLongtest.txt | 28 for rate in ${TARGETRATE[*]} 31 $ISAC -I $rate -FL 30 $INDIR/"$file" $OUTDIR/i30_$index1"$file" >> $LOGFILE 32 $ISAC -I $rate -FL 60 $INDIR/"$file" $OUTDIR/i60_$index1"$file" >> $LOGFILE
|
/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...] |