/external/iproute2/tc/ |
tc_cbq.h | 4 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, 6 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
|
q_tbf.c | 28 fprintf(stderr, "Usage: ... tbf limit BYTES burst BYTES[/BYTES] rate KBPS [ mtu BYTES[/BYTES] ]\n"); 112 } else if (strcmp(*argv, "rate") == 0) { 114 if (opt.rate.rate) { 115 fprintf(stderr, "Double \"rate\" spec\n"); 118 if (get_rate(&opt.rate.rate, *argv)) { 119 explain1("rate"); 125 if (opt.peakrate.rate) { 129 if (get_rate(&opt.peakrate.rate, *argv)) [all...] |
m_police.c | 37 fprintf(stderr, "Usage: ... police rate BPS burst BYTES[/BYTES] [ mtu BYTES[/BYTES] ]\n"); 192 } else if (strcmp(*argv, "rate") == 0) { 194 if (p.rate.rate) { 195 fprintf(stderr, "Double \"rate\" spec\n"); 198 if (get_rate(&p.rate.rate, *argv)) { 199 explain1("rate"); 214 if (p.peakrate.rate) { 218 if (get_rate(&p.peakrate.rate, *argv)) [all...] |
q_htb.c | 35 " r2q DRR quantums are computed as rate in Bps/r2q {10}\n" 37 "... class add ... htb rate R1 [burst B1] [mpu B] [overhead O]\n" 40 " rate rate allocated to this class (class can still borrow)\n" 42 " mpu minimum packet size used in rate computations\n" 43 " overhead per-packet size overhead used in rate computations\n" 45 " ceil definite upper class rate (no borrows) {rate}\n" 47 " mtu max packet size we create rate map for {1600}\n" 168 if (opt.ceil.rate) { [all...] |
tc_cbq.c | 27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, 35 if (bndw != rate && maxburst) { 36 double vxmt = (double)avpkt/rate - xmt; 44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, 48 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
|
tc_core.h | 21 unsigned tc_calc_xmittime(unsigned rate, unsigned size); 22 unsigned tc_calc_xmitsize(unsigned rate, unsigned ticks);
|
/external/webkit/Source/WebCore/platform/audio/ |
AudioResamplerKernel.cpp | 56 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate(); 82 double rate = this->rate(); 83 rate = max(0.0, rate); 84 rate = min(AudioResampler::MaxRate, rate); 97 ASSERT(virtualReadIndex >= 0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.size()); 112 virtualReadIndex += rate; 136 double AudioResamplerKernel::rate() cons function in class:WebCore::AudioResamplerKernel [all...] |
AudioResampler.h | 54 // 0 < rate <= MaxRate 55 void setRate(double rate); 56 double rate() const { return m_rate; } function in class:WebCore::AudioResampler
|
AudioResamplerKernel.h | 58 double rate() const;
|
/external/qemu/audio/ |
rate_template.h | 33 struct rate *rate = opaque; local 43 ilast = rate->ilast; 51 if (rate->opos_inc == (1ULL + UINT_MAX)) { 71 while (rate->ipos <= (rate->opos >> 32)) { 73 rate->ipos++; 85 t = (rate->opos & UINT_MAX) * (1.f / UINT_MAX); 87 t = (rate->opos & UINT_MAX) / (mixeng_real) UINT_MAX; 92 t = rate->opos & 0xffffffff [all...] |
mixeng.c | 270 * Sound Tools rate change effect file. 289 struct rate { struct 301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate)); local 303 if (!rate) { 304 dolog ("Could not allocate resampler (%zu bytes)\n", sizeof (*rate)); 308 rate->opos = 0; 311 rate->opos_inc = ((uint64_t) inrate << 32) / outrate; 313 rate->ipos = 0 [all...] |
/frameworks/base/core/java/android/view/ |
OrientationListener.java | 53 * @param rate at which sensor events are processed (see also 58 public OrientationListener(Context context, int rate) { 59 mOrientationEventLis = new OrientationEventListenerInternal(context, rate); 67 OrientationEventListenerInternal(Context context, int rate) { 68 super(context, rate);
|
/system/media/wilhelm/src/itf/ |
IVisualization.c | 23 slVisualizationCallback callback, void *pContext, SLmilliHertz rate) 27 if (!(0 < rate && rate <= 20000)) { 34 thiz->mRate = rate;
|
IRatePitch.c | 22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate) 27 if (!(thiz->mMinRate <= rate && rate <= thiz->mMaxRate)) { 31 thiz->mRate = rate; 49 SLpermille rate = thiz->mRate; local 51 *pRate = rate;
|
/external/kernel-headers/original/linux/ |
clk.h | 66 * clk_get_rate - obtain the current clock rate (in Hz) for a clock source. 89 * clk_round_rate - adjust a rate to the exact rate a clock can provide 91 * @rate: desired clock rate in Hz 93 * Returns rounded clock rate in Hz, or negative errno. 95 long clk_round_rate(struct clk *clk, unsigned long rate); 98 * clk_set_rate - set the clock rate for a clock source 100 * @rate: desired clock rate in H [all...] |
/external/dropbear/libtommath/ |
pretty.build | 14 my $rate = 0; 29 if ($rate > 0) { 30 my $tleft = ($count - $i) / $rate; 57 $rate = $i/$delay; 62 printf("\nFinished building source (%d seconds, %3.2f files per second).\n", time - $starttime, $rate);
|
/development/samples/RenderScript/Fountain/src/com/example/android/rs/fountain/ |
FountainRS.java | 60 int rate = (int)(pressure * pressure * 500.f); local 61 if (rate > 500) { 62 rate = 500; 64 if (rate > 0) { 65 mScript.invoke_addParticles(rate, x, y, id, !holdingColor[id]);
|
/bionic/libc/kernel/arch-sh/asm/ |
clock.h | 28 int (*set_rate)(struct clk *clk, unsigned long rate, int algo_id); 29 long (*round_rate)(struct clk *clk, unsigned long rate); 43 unsigned long rate; member in struct:clk
|
/external/chromium/chrome/browser/net/ |
referrer.cc | 91 double rate = it->second.subresource_use_rate(); local 93 if (rate > lowest_rate_seen) 99 lowest_rate_seen = rate; 132 double rate; local 133 if (!subresource_list->GetDouble(index++, &rate)) 143 (*this)[url].SetSubresourceUseRate(rate); 151 FundamentalValue* rate(new FundamentalValue( 155 subresource_list->Append(rate); 179 // Note: the use rate is temporarilly possibly incorect, as we need to find
|
/external/speex/include/speex/ |
speex_header.h | 64 spx_int32_t rate; /**< Sampling rate used */ member in struct:SpeexHeader 68 spx_int32_t bitrate; /**< Bit-rate used */ 78 void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const struct SpeexMode *m);
|
/external/iproute2/misc/ |
rtacct.c | 70 double rate[256*4]; member in struct:rtacct_data 133 void format_rate(FILE *fp, double rate) 137 if (rate > 1024*1024) { 138 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); 140 } else if (rate > 1024) { 141 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); 144 fprintf(fp, " %-10u", (unsigned)rate); 186 double *rate; local 192 rate = &kern_db->rate[realm*4] 248 double *rate; local [all...] |
/bionic/libc/kernel/common/media/ |
tegra_camera.h | 26 unsigned long rate; member in struct:tegra_camera_clk_info
|
/external/bluetooth/bluez/audio/ |
liba2dp.h | 31 int a2dp_init(int rate, int channels, a2dpData* dataPtr);
|
/external/kernel-headers/original/media/ |
tegra_camera.h | 31 unsigned long rate; member in struct:tegra_camera_clk_info
|
/external/quake/quake/src/QW/client/ |
net_chan.c | 175 chan->rate = 1.0/2500; 189 if (chan->cleartime < realtime + MAX_BACKUP*chan->rate) 298 chan->cleartime = realtime + send.cursize*chan->rate; 300 chan->cleartime += send.cursize*chan->rate; 364 // get a rate estimation 369 double time, rate; 376 if (chan->rate > 1.0/5000) 377 chan->rate = 1.0/5000; 383 rate = chan->outgoing_size[i]/time; 384 if (rate > 5000 [all...] |