/external/libvorbis/lib/ |
D | barkmel.c | 22 double rate; in main() local 24 rate=48000.f; in main() 26 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 28 rate=44100.f; in main() 30 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 32 rate=32000.f; in main() 34 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 36 rate=22050.f; in main() 38 rate,i,rate/2 / (i/2),toBARK(rate/2 /(i/2)),toBARK(rate/2)); in main() 40 rate=16000.f; in main() [all …]
|
/external/iproute2/tc/ |
D | q_tbf.c | 114 if (opt.rate.rate) { in tbf_parse_opt() 118 if (get_rate(&opt.rate.rate, *argv)) { in tbf_parse_opt() 125 if (opt.peakrate.rate) { in tbf_parse_opt() 129 if (get_rate(&opt.peakrate.rate, *argv)) { in tbf_parse_opt() 164 if (opt.rate.rate == 0 || !buffer) { in tbf_parse_opt() 168 if (opt.peakrate.rate) { in tbf_parse_opt() 181 double lim = opt.rate.rate*(double)latency/TIME_UNITS_PER_SEC + buffer; in tbf_parse_opt() 182 if (opt.peakrate.rate) { in tbf_parse_opt() 183 double lim2 = opt.peakrate.rate*(double)latency/TIME_UNITS_PER_SEC + mtu; in tbf_parse_opt() 190 opt.rate.mpu = mpu; in tbf_parse_opt() [all …]
|
D | m_police.c | 194 if (p.rate.rate) { in act_parse_police() 198 if (get_rate(&p.rate.rate, *argv)) { in act_parse_police() 214 if (p.peakrate.rate) { in act_parse_police() 218 if (get_rate(&p.peakrate.rate, *argv)) { in act_parse_police() 262 if (p.rate.rate && !buffer) { in act_parse_police() 266 if (p.peakrate.rate) { in act_parse_police() 267 if (!p.rate.rate) { in act_parse_police() 277 if (p.rate.rate) { in act_parse_police() 278 p.rate.mpu = mpu; in act_parse_police() 279 p.rate.overhead = overhead; in act_parse_police() [all …]
|
D | q_htb.c | 168 if (opt.ceil.rate) { in htb_parse_class_opt() 172 if (get_rate(&opt.ceil.rate, *argv)) { in htb_parse_class_opt() 179 if (opt.rate.rate) { in htb_parse_class_opt() 183 if (get_rate(&opt.rate.rate, *argv)) { in htb_parse_class_opt() 202 if (opt.rate.rate == 0) { in htb_parse_class_opt() 207 if (!opt.ceil.rate) opt.ceil = opt.rate; in htb_parse_class_opt() 211 if (!buffer) buffer = opt.rate.rate / get_hz() + mtu; in htb_parse_class_opt() 212 if (!cbuffer) cbuffer = opt.ceil.rate / get_hz() + mtu; in htb_parse_class_opt() 215 opt.rate.overhead = overhead; in htb_parse_class_opt() 218 opt.rate.mpu = mpu; in htb_parse_class_opt() [all …]
|
D | tc_cbq.c | 27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt, in tc_cbq_calc_maxidle() argument 35 if (bndw != rate && maxburst) { in tc_cbq_calc_maxidle() 36 double vxmt = (double)avpkt/rate - xmt; in tc_cbq_calc_maxidle() 44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, in tc_cbq_calc_offtime() argument 48 double offtime = (double)avpkt/rate - (double)avpkt/bndw; in tc_cbq_calc_offtime()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCScheduleE5500.td | 62 [30, 2, 2], // Latency= 4..26, Repeat rate= 4..26 67 [20, 2, 2], // Latency= 4..16, Repeat rate= 4..16 71 [11], // Latency = 7, Repeat rate = 1 75 [11, 2, 2], // Latency = 7, Repeat rate = 7 80 [9, 2, 2], // Latency = 4..7, Repeat rate = 2..4 85 [8, 2, 2], // Latency = 4, Repeat rate = 1 90 [8, 2, 2], // Latency = 4, Repeat rate = 1 103 [6, 2, 2], // Latency = 2, Repeat rate = 2 107 [5, 2, 2], // Latency = 1, Repeat rate = 1 111 [6, 2, 2], // Latency = 2, Repeat rate = 2 [all …]
|
D | PPCScheduleE500mc.td | 69 [7, 1, 1], // Latency = 4, Repeat rate = 1 73 [7, 1, 1], // Latency = 4, Repeat rate = 1 77 [7, 1, 1], // Latency = 4, Repeat rate = 1 89 [5, 1], // Latency = 2, Repeat rate = 2 109 [6, 1], // Latency = 3, Repeat rate = 1 178 [6, 1, 1], // Latency = 3, Repeat rate = 3 192 [5, 1], // Latency = 2, Repeat rate = 4 206 [7, 1], // Latency = 4, Repeat rate = 4 210 [4, 1], // Latency = 1, Repeat rate = 1 214 [7, 1], // Latency = 4, Repeat rate = 4 [all …]
|
/external/qemu/audio/ |
D | rate_template.h | 33 struct rate *rate = opaque; in NAME() local 43 ilast = rate->ilast; in NAME() 51 if (rate->opos_inc == (1ULL + UINT_MAX)) { in NAME() 71 while (rate->ipos <= (rate->opos >> 32)) { in NAME() 73 rate->ipos++; in NAME() 85 t = (rate->opos & UINT_MAX) * (1.f / UINT_MAX); in NAME() 87 t = (rate->opos & UINT_MAX) / (mixeng_real) UINT_MAX; in NAME() 92 t = rate->opos & 0xffffffff; in NAME() 101 rate->opos += rate->opos_inc; in NAME() 107 rate->ilast = ilast; in NAME()
|
D | mixeng.c | 289 struct rate { struct 301 struct rate *rate = audio_calloc (AUDIO_FUNC, 1, sizeof (*rate)); in st_rate_start() argument 303 if (!rate) { in st_rate_start() 304 dolog ("Could not allocate resampler (%zu bytes)\n", sizeof (*rate)); in st_rate_start() 308 rate->opos = 0; in st_rate_start() 311 rate->opos_inc = ((uint64_t) inrate << 32) / outrate; in st_rate_start() 313 rate->ipos = 0; in st_rate_start() 314 rate->ilast.l = 0; in st_rate_start() 315 rate->ilast.r = 0; in st_rate_start() 316 return rate; in st_rate_start()
|
/external/webkit/Source/WebCore/platform/audio/ |
D | AudioResamplerKernel.cpp | 56 double nextFractionalIndex = m_virtualReadIndex + framesToProcess * rate(); in getSourcePointer() 82 double rate = this->rate(); in process() local 83 rate = max(0.0, rate); in process() 84 rate = min(AudioResampler::MaxRate, rate); in process() 97 …0 && 1 + static_cast<unsigned>(virtualReadIndex + (framesToProcess - 1) * rate) < m_sourceBuffer.s… in process() 112 virtualReadIndex += rate; in process() 136 double AudioResamplerKernel::rate() const in rate() function in WebCore::AudioResamplerKernel 138 return m_resampler->rate(); in rate()
|
/external/iproute2/misc/ |
D | rtacct.c | 70 double rate[256*4]; member 133 void format_rate(FILE *fp, double rate) in format_rate() argument 137 if (rate > 1024*1024) { in format_rate() 138 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); in format_rate() 140 } else if (rate > 1024) { in format_rate() 141 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); in format_rate() 144 fprintf(fp, " %-10u", (unsigned)rate); in format_rate() 186 double *rate; in dump_abs_db() local 192 rate = &kern_db->rate[realm*4]; in dump_abs_db() 195 !val[0] && !rate[0] && in dump_abs_db() [all …]
|
D | ifstat.c | 59 double rate[MAXS]; member 109 memset(&n->rate, 0, sizeof(n->rate)); in get_nlmsg() 183 unsigned rate; in load_raw_table() local 194 if (sscanf(p, "%u", &rate) != 1) in load_raw_table() 196 n->rate[i] = rate; in load_raw_table() 220 double *rates = n->rate; in dump_raw_db() 228 rates = h1->rate; in dump_raw_db() 334 format_rate(fp, vals, n->rate, i); in print_one_if() 341 format_rate(fp, vals, n->rate, 11); in print_one_if() 342 format_rate(fp, vals, n->rate, 9); in print_one_if() [all …]
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
D | ProgressiveDownloadInformationBox.java | 55 long rate; field in ProgressiveDownloadInformationBox.Entry 58 public Entry(long rate, long initialDelay) { in Entry() argument 59 this.rate = rate; in Entry() 64 return rate; in getRate() 67 public void setRate(long rate) { in setRate() argument 68 this.rate = rate; in setRate() 82 "rate=" + rate + in toString()
|
/external/quake/quake/src/QW/client/ |
D | net_chan.c | 175 chan->rate = 1.0/2500; in Netchan_Setup() 189 if (chan->cleartime < realtime + MAX_BACKUP*chan->rate) in Netchan_CanPacket() 298 chan->cleartime = realtime + send.cursize*chan->rate; in Netchan_Transmit() 300 chan->cleartime += send.cursize*chan->rate; in Netchan_Transmit() 369 double time, rate; in Netchan_Process() 376 if (chan->rate > 1.0/5000) in Netchan_Process() 377 chan->rate = 1.0/5000; in Netchan_Process() 383 rate = chan->outgoing_size[i]/time; in Netchan_Process() 384 if (rate > 5000) in Netchan_Process() 385 rate = 5000; in Netchan_Process() [all …]
|
/external/iptables/extensions/ |
D | libxt_rateest.man | 1 The rate estimator can match on estimated rates as collected by the RATEEST 2 target. It supports matching on absolute bps/pps values, comparing two rate 3 estimators and matching on the difference between two rate estimators. 19 \fBrateest1\fP \fIoperator\fP \fBrateest2\fP \fBrateest-bps\fP(without rate!) 21 \fBrateest1\fP \fIoperator\fP \fBrateest2\fP \fBrateest-pps\fP(without rate!) 32 between the estimator-determined flow rate and the static value chosen with the 33 BPS/PPS options. If the flow rate is higher than the specified BPS/PPS, 0 will 38 Match if rate is less than given rate/estimator. 41 Match if rate is greater than given rate/estimator. 44 Match if rate is equal to given rate/estimator. [all …]
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/basis/ |
D | NoiseAggregator.java | 43 private final float rate; field in NoiseAggregator 47 public NoiseAggregator(final Basis a, final Basis b, final float rate) { in NoiseAggregator() argument 50 this.rate = rate; in NoiseAggregator() 61 return this.a.value(x, y, z) * (1 - this.rate) + this.rate * this.b.value(x, y, z); in value()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/QA/ |
D | runiSACNB.txt | 29 for rate in ${TARGETRATE[*]} 32 $ISAC $rate -FL 30 -NB 1 $INDIR/"$file" $OUTDIR/nb130_$index1"$file" >> $LOGFILE 33 $ISAC $rate -FL 60 -NB 1 $INDIR/"$file" $OUTDIR/nb160_$index1"$file" >> $LOGFILE 34 $ISAC $rate -FL 30 -NB 2 $INDIR/"$file" $OUTDIR/nb230_$index1"$file" >> $LOGFILE 35 $ISAC $rate -FL 60 -NB 2 $INDIR/"$file" $OUTDIR/nb260_$index1"$file" >> $LOGFILE 36 $ISAC $rate -FL 30 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc30_$index1"$file" >> $LOGFILE 37 $ISAC $rate -FL 60 -NB 2 -PL 10 $INDIR/"$file" $OUTDIR/nb2plc60_$index1"$file" >> $LOGFILE
|
/external/jmonkeyengine/engine/src/test/jme3test/model/shape/ |
D | TestExpandingTorus.java | 15 private float rate = 1; field in TestExpandingTorus 37 rate = -rate; in simpleUpdate() 40 rate = -rate; in simpleUpdate() 42 outerRadius += rate * tpf; in simpleUpdate()
|
/external/esd/include/ |
D | esd.h | 145 int esd_play_stream( esd_format_t format, int rate, 147 int esd_play_stream_fallback( esd_format_t format, int rate, 149 int esd_monitor_stream( esd_format_t format, int rate, 152 int esd_record_stream( esd_format_t format, int rate, 154 int esd_record_stream_fallback( esd_format_t format, int rate, 156 int esd_filter_stream( esd_format_t format, int rate, 160 int esd_sample_cache( int esd, esd_format_t format, const int rate, 201 int rate; /* sample rate */ member 212 int rate; /* sample rate */ member 227 int rate; /* sample rate */ member
|
/external/ppp/pppd/plugins/pppoatm/ |
D | text2qos.c | 30 unsigned int rate,fract; in __t2q_get_rate() local 37 rate = strtoul(*text,&end,10); in __t2q_get_rate() 47 if (rate > UINT_MAX/1000) return RATE_ERROR; in __t2q_get_rate() 48 rate *= 1000; in __t2q_get_rate() 63 rate += fract; in __t2q_get_rate() 69 rate = (rate+(up ? 8*ATM_CELL_PAYLOAD-1 : 0))/8/ in __t2q_get_rate() 74 if (rate > INT_MAX) return RATE_ERROR; in __t2q_get_rate() 76 return rate; in __t2q_get_rate()
|
/external/chromium/chrome/browser/net/ |
D | referrer.cc | 91 double rate = it->second.subresource_use_rate(); in DeleteLeastUseful() local 93 if (rate > lowest_rate_seen) in DeleteLeastUseful() 99 lowest_rate_seen = rate; in DeleteLeastUseful() 132 double rate; in Deserialize() local 133 if (!subresource_list->GetDouble(index++, &rate)) in Deserialize() 143 (*this)[url].SetSubresourceUseRate(rate); in Deserialize() 151 FundamentalValue* rate(new FundamentalValue( in Serialize() local 155 subresource_list->Append(rate); in Serialize()
|
D | predictor_unittest.cc | 391 double rate; in TEST_F() local 393 motivation_url, subresource_url, recovered_referral_list, &rate)); in TEST_F() 394 EXPECT_EQ(rate, kUseRate); in TEST_F() 434 double rate; in TEST_F() local 437 &rate)); in TEST_F() 438 EXPECT_SIMILAR(rate, kRateIcon); in TEST_F() 441 motivation_url, img_subresource_url, recovered_referral_list, &rate)); in TEST_F() 442 EXPECT_SIMILAR(rate, kRateImg); in TEST_F() 451 motivation_url, icon_subresource_url, recovered_referral_list, &rate)); in TEST_F() 452 EXPECT_SIMILAR(rate, kRateIcon / 2); in TEST_F() [all …]
|
/external/tinyalsa/ |
D | tinycap.c | 62 unsigned int channels, unsigned int rate, 78 unsigned int rate = 44100; in main() local 110 rate = atoi(*argv); in main() 139 header.sample_rate = rate; in main() 141 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; in main() 167 unsigned int channels, unsigned int rate, in capture_sample() argument 178 config.rate = rate; in capture_sample() 205 printf("Capturing sample: %u ch, %u hz, %u bit\n", channels, rate, bits); in capture_sample()
|
/external/dropbear/libtommath/ |
D | pretty.build | 14 my $rate = 0; 29 if ($rate > 0) { 30 my $tleft = ($count - $i) / $rate; 57 $rate = $i/$delay; 62 …tf("\nFinished building source (%d seconds, %3.2f files per second).\n", time - $starttime, $rate);
|
/external/jmonkeyengine/engine/src/test/jme3test/audio/ |
D | TestDoppler.java | 51 private float rate = -0.05f; field in TestDoppler 86 angle += tpf * rate; in simpleUpdate() 90 rate = -rate; in simpleUpdate() 93 rate = -rate; in simpleUpdate()
|