/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 | q_netem.c | 179 struct tc_netem_rate rate; in netem_parse_opt() local 187 memset(&rate, 0, sizeof(rate)); in netem_parse_opt() 389 if (get_rate(&rate.rate, *argv)) { in netem_parse_opt() 395 if (get_s32(&rate.packet_overhead, *argv, 0)) { in netem_parse_opt() 402 if (get_u32(&rate.cell_size, *argv, 0)) { in netem_parse_opt() 409 if (get_s32(&rate.cell_overhead, *argv, 0)) { in netem_parse_opt() 482 addattr_l(n, 1024, TCA_NETEM_RATE, &rate, sizeof(rate)) < 0) in netem_parse_opt() 504 const struct tc_netem_rate *rate = NULL; in netem_print_opt() local 547 if (RTA_PAYLOAD(tb[TCA_NETEM_RATE]) < sizeof(*rate)) in netem_print_opt() 549 rate = RTA_DATA(tb[TCA_NETEM_RATE]); in netem_print_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 | 75 [30, 2, 2], // Latency= 4..26, Repeat rate= 4..26 81 [20, 2, 2], // Latency= 4..16, Repeat rate= 4..16 86 [11], // Latency = 7, Repeat rate = 1 90 [11, 2, 2], // Latency = 7, Repeat rate = 7 95 [9, 2, 2], // Latency = 4..7, Repeat rate = 2..4 101 [8, 2, 2], // Latency = 4, Repeat rate = 1 107 [8, 2, 2], // Latency = 4, Repeat rate = 1 123 [6, 2, 2], // Latency = 2, Repeat rate = 2 128 [5, 2, 2], // Latency = 1, Repeat rate = 1 133 [6, 2, 2], // Latency = 2, Repeat rate = 2 [all …]
|
D | PPCScheduleE500mc.td | 84 [7, 1, 1], // Latency = 4, Repeat rate = 1 89 [7, 1, 1], // Latency = 4, Repeat rate = 1 94 [7, 1, 1], // Latency = 4, Repeat rate = 1 109 [5, 1], // Latency = 2, Repeat rate = 2 130 [6, 1], // Latency = 3, Repeat rate = 1 221 [6, 1, 1], // Latency = 3, Repeat rate = 3 236 [5, 1], // Latency = 2, Repeat rate = 4 254 [7, 1], // Latency = 4, Repeat rate = 4 258 [4, 1], // Latency = 1, Repeat rate = 1 262 [7, 1], // Latency = 4, Repeat rate = 4 [all …]
|
/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 | 60 double rate[MAXS]; member 110 memset(&n->rate, 0, sizeof(n->rate)); in get_nlmsg() 184 unsigned rate; in load_raw_table() local 195 if (sscanf(p, "%u", &rate) != 1) in load_raw_table() 197 n->rate[i] = rate; in load_raw_table() 221 double *rates = n->rate; in dump_raw_db() 229 rates = h1->rate; in dump_raw_db() 335 format_rate(fp, vals, n->rate, i); in print_one_if() 342 format_rate(fp, vals, n->rate, 11); in print_one_if() 343 format_rate(fp, vals, n->rate, 9); in print_one_if() [all …]
|
D | nstat.c | 79 double rate; member 123 double rate; in load_good_table() local 134 nr = sscanf(buf, "%s%llu%lg", idbuf, &val, &rate); in load_good_table() 138 rate = 0; in load_good_table() 146 n->rate = rate; in load_good_table() 194 n->rate = 0; in load_ugly_table() 265 if (!dump_zeros && !val && !n->rate) in dump_kern_db() 279 fprintf(fp, "%-32s%-16llu%6.1f\n", n->id, val, n->rate); in dump_kern_db() 303 if (!dump_zeros && !val && !n->rate) in dump_incr_db() 308 n->rate, ovfl?" (overflow)":""); in dump_incr_db() [all …]
|
/external/libnl/lib/route/sch/ |
D | htb.c | 117 rtnl_copy_ratespec(&d->ch_rate, &opts.rate); in htb_class_msg_parser() 119 d->ch_rbuffer = rtnl_tc_calc_bufsize(opts.buffer, opts.rate.rate); in htb_class_msg_parser() 120 d->ch_cbuffer = rtnl_tc_calc_bufsize(opts.cbuffer, opts.ceil.rate); in htb_class_msg_parser() 122 d->ch_overhead = (opts.rate.mpu >> 8) & 0xff; in htb_class_msg_parser() 123 d->ch_mpu = opts.rate.mpu & 0xff; in htb_class_msg_parser() 255 static uint8_t compute_cell(uint32_t rate, uint32_t mtu) in compute_cell() argument 293 rtnl_rcopy_ratespec(&opts.rate, &d->ch_rate); in htb_class_get_opts() 295 if (opts.rate.cell_log == UINT8_MAX) in htb_class_get_opts() 296 opts.rate.cell_log = compute_cell(opts.rate.rate, mtu); in htb_class_get_opts() 302 memcpy(&opts.ceil, &opts.rate, sizeof(struct tc_ratespec)); in htb_class_get_opts() [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/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/jetty/src/resources/org/eclipse/jetty/servlets/jmx/ |
D | DoSFilter-mbean.properties | 3 delayMs: delay (in milliseconds) that is applied to all requests over the rate limit, before they a… 5 throttledRequests: number of requests over the rate limit able to be considered at once. 10 trackSessions: usage rate is tracked by session if a session exists. 11 remotePort: usage rate is tracked by IP+port (effectively connection) if session tracking is not us… 13 whitelist: comma separated list of IP addresses that will not be rate limited. 14 clearWhitelist(): clears the list of IP addresses that will not be rate limited. 15 addWhitelistAddress(java.lang.String):ACTION: adds an IP address that will not be rate limited. 16 addWhitelistAddress(java.lang.String)[0]:address: the IP address that will not be rate limited. 17 removeWhitelistAddress(java.lang.String):ACTION: removes an IP address that will not be rate limite… 18 removeWhitelistAddress(java.lang.String)[0]:address: the IP address that will not be rate limited.
|
/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/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()
|
/external/tinyalsa/ |
D | tinycap.c | 62 unsigned int channels, unsigned int rate, 78 unsigned int rate = 44100; in main() local 111 rate = atoi(*argv); in main() 140 header.sample_rate = rate; in main() 158 header.byte_rate = (header.bits_per_sample / 8) * channels * rate; in main() 184 unsigned int channels, unsigned int rate, in capture_sample() argument 195 config.rate = rate; in capture_sample() 219 printf("Capturing sample: %u ch, %u hz, %u bit\n", channels, rate, in capture_sample()
|
D | tinyplay.c | 64 unsigned int rate, unsigned int bits, unsigned int period_size, 188 unsigned int rate, unsigned int bits, unsigned int period_size, in sample_is_playable() argument 200 can_play = check_param(params, PCM_PARAM_RATE, rate, "Sample rate", "Hz"); in sample_is_playable() 212 unsigned int rate, unsigned int bits, unsigned int period_size, in play_sample() argument 222 config.rate = rate; in play_sample() 233 if (!sample_is_playable(card, device, channels, rate, bits, period_size, period_count)) { in play_sample() 253 printf("Playing sample: %u ch, %u hz, %u bit\n", channels, rate, bits); in play_sample()
|
/external/iproute2/examples/ |
D | cbqinit.eth1 | 26 $BANDWIDTH rate 10Mbit allot 1514 maxburst 50 avpkt 1000 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 \
|
/external/sonic/ |
D | main.c | 22 float rate, in runSonic() argument 35 sonicSetRate(stream, rate); in runSonic() 79 float rate = 1.0f; in main() local 102 rate = atof(argv[xArg]); in main() 103 printf("Setting rate to %0.2fX\n", rate); in main() 134 runSonic(inFile, outFile, speed, pitch, rate, volume, emulateChordPitch, quality, in main()
|