/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/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/tc/ |
D | m_police.c | 193 if (p.rate.rate) { in act_parse_police() 197 if (get_rate(&p.rate.rate, *argv)) { in act_parse_police() 213 if (p.peakrate.rate) { in act_parse_police() 217 if (get_rate(&p.peakrate.rate, *argv)) { in act_parse_police() 260 if (p.rate.rate && !buffer) { in act_parse_police() 264 if (p.peakrate.rate) { in act_parse_police() 265 if (!p.rate.rate) { in act_parse_police() 275 if (p.rate.rate) { in act_parse_police() 276 p.rate.mpu = mpu; in act_parse_police() 277 p.rate.overhead = overhead; in act_parse_police() [all …]
|
D | q_tbf.c | 201 opt.rate.rate = (rate64 >= (1ULL << 32)) ? ~0U : rate64; in tbf_parse_opt() 202 opt.peakrate.rate = (prate64 >= (1ULL << 32)) ? ~0U : prate64; in tbf_parse_opt() 214 opt.rate.mpu = mpu; in tbf_parse_opt() 215 opt.rate.overhead = overhead; in tbf_parse_opt() 216 if (tc_calc_rtable(&opt.rate, rtab, Rcell_log, mtu, linklayer) < 0) { in tbf_parse_opt() 220 opt.buffer = tc_calc_xmittime(opt.rate.rate, buffer); in tbf_parse_opt() 222 if (opt.peakrate.rate) { in tbf_parse_opt() 229 opt.mtu = tc_calc_xmittime(opt.peakrate.rate, mtu); in tbf_parse_opt() 239 if (opt.peakrate.rate) { in tbf_parse_opt() 272 rate64 = qopt->rate.rate; in tbf_print_opt() [all …]
|
D | q_netem.c | 182 struct tc_netem_rate rate; in netem_parse_opt() local 191 memset(&rate, 0, sizeof(rate)); in netem_parse_opt() 413 if (get_s32(&rate.packet_overhead, *argv, 0)) { in netem_parse_opt() 420 if (get_u32(&rate.cell_size, *argv, 0)) { in netem_parse_opt() 427 if (get_s32(&rate.cell_overhead, *argv, 0)) { in netem_parse_opt() 517 rate.rate = ~0U; in netem_parse_opt() 519 rate.rate = rate64; in netem_parse_opt() 521 if (addattr_l(n, 1024, TCA_NETEM_RATE, &rate, sizeof(rate)) < 0) in netem_parse_opt() 545 const struct tc_netem_rate *rate = NULL; in netem_print_opt() local 589 if (RTA_PAYLOAD(tb[TCA_NETEM_RATE]) < sizeof(*rate)) in netem_print_opt() [all …]
|
D | q_htb.c | 222 opt.rate.rate = (rate64 >= (1ULL << 32)) ? ~0U : rate64; in htb_parse_class_opt() 223 opt.ceil.rate = (ceil64 >= (1ULL << 32)) ? ~0U : ceil64; in htb_parse_class_opt() 233 opt.rate.overhead = overhead; in htb_parse_class_opt() 236 opt.rate.mpu = mpu; in htb_parse_class_opt() 238 if (tc_calc_rtable(&opt.rate, rtab, cell_log, mtu, linklayer) < 0) { in htb_parse_class_opt() 294 rate64 = hopt->rate.rate; in htb_print_opt() 300 ceil64 = hopt->ceil.rate; in htb_print_opt() 306 if (hopt->rate.overhead) in htb_print_opt() 307 fprintf(f, "overhead %u ", hopt->rate.overhead); in htb_print_opt() 312 linklayer = (hopt->rate.linklayer & TC_LINKLAYER_MASK); in htb_print_opt() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_codec_database.cc | 33 bool IsISACRateValid(int rate) { in IsISACRateValid() argument 34 return (rate == -1) || ((rate <= 56000) && (rate >= 10000)); in IsISACRateValid() 38 bool IsILBCRateValid(int rate, int frame_size_samples) { in IsILBCRateValid() argument 40 (rate == 13300)) { in IsILBCRateValid() 43 (rate == 15200)) { in IsILBCRateValid() 51 bool IsOpusRateValid(int rate) { in IsOpusRateValid() argument 52 return (rate >= 6000) && (rate <= 510000); in IsOpusRateValid() 273 return IsISACRateValid(codec_inst.rate) ? codec_id : kInvalidRate; in CodecNumber() 275 return IsILBCRateValid(codec_inst.rate, codec_inst.pacsize) in CodecNumber() 278 return IsOpusRateValid(codec_inst.rate) in CodecNumber() [all …]
|
/external/iproute2/misc/ |
D | rtacct.c | 70 double rate[256*4]; member 132 static void format_rate(FILE *fp, double rate) in format_rate() argument 136 if (rate > 1024*1024) { in format_rate() 137 sprintf(temp, "%uM", (unsigned)rint(rate/(1024*1024))); in format_rate() 139 } else if (rate > 1024) { in format_rate() 140 sprintf(temp, "%uK", (unsigned)rint(rate/1024)); in format_rate() 143 fprintf(fp, " %-10u", (unsigned)rate); in format_rate() 185 double *rate; in dump_abs_db() local 191 rate = &kern_db->rate[realm*4]; in dump_abs_db() 194 !val[0] && !rate[0] && in dump_abs_db() [all …]
|
D | ifstat.c | 63 double rate[MAXS]; member 139 memset(&n->rate, 0, sizeof(n->rate)); in get_nlmsg() 213 unsigned rate; in load_raw_table() local 224 if (sscanf(p, "%u", &rate) != 1) in load_raw_table() 226 n->rate[i] = rate; in load_raw_table() 257 double *rates = n->rate; in dump_raw_db() 265 rates = h1->rate; in dump_raw_db() 404 format_rate(fp, vals, n->rate, i); in print_one_if() 411 format_rate(fp, vals, n->rate, 11); in print_one_if() 412 format_rate(fp, vals, n->rate, 9); in print_one_if() [all …]
|
/external/autotest/client/site_tests/audio_Microphone/ |
D | audio_Microphone.py | 20 self, filesize, duration, channels, rate, bits=16): argument 21 expected = duration * channels * (bits / 8) * rate 26 def verify_alsa_capture(self, channels, rate, bits=16): argument 30 bits=bits, rate=rate) 33 DURATION, channels, rate, bits) 36 def verify_cras_capture(self, channels, rate): argument 40 rate=rate) 43 DURATION, channels, rate)
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_audio.cc | 68 const uint32_t rate) override { in OnInitializeDecoder() argument 70 EXPECT_EQ(test_rate, rate) << in OnInitializeDecoder() 191 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 193 voice_codec.rate = test_rate; in TEST_F() 199 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 224 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 226 voice_codec.rate = test_rate; in TEST_F() 232 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 251 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() 257 (voice_codec.rate < 0) ? 0 : voice_codec.rate)); in TEST_F() [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/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtp_payload_registry.cc | 44 const uint32_t rate, in RegisterReceivePayload() argument 90 channels, rate)) { in RegisterReceivePayload() 91 rtp_payload_strategy_->UpdatePayloadRate(payload, rate); in RegisterReceivePayload() 102 payload_name, payload_name_length, frequency, channels, rate); in RegisterReceivePayload() 106 payload_name, payload_type, frequency, channels, rate); in RegisterReceivePayload() 143 const uint32_t rate) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() argument 156 channels, rate)) { in DeregisterAudioCodecOrRedTypeRegardlessOfPayloadType() 175 const uint32_t rate, in ReceivePayloadType() argument 194 if (rate == 0) { in ReceivePayloadType() 205 payload->typeSpecific.Audio.rate == rate) { in ReceivePayloadType() [all …]
|
/external/autotest/client/site_tests/audio_CRASFormatConversion/ |
D | audio_CRASFormatConversion.py | 25 def play_sine_tone(self, frequence, rate): argument 33 filename='-', rate=rate, frequence=frequence, gain=-6), 36 cras_utils.playback_cmd(playback_file='-', rate=rate), 77 cras_utils.capture(record_file, duration=1, rate=44100) 86 record_file, reduced_file.name, noise_profile, rate=44100) 88 sox_stat = sox_utils.get_stat(reduced_file.name, rate=44100) 119 for rate in test_sample_rates: 120 cras_utils.capture(record_file.name, duration=1, rate=rate)
|
/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/autotest/client/cros/audio/ |
D | audio_analysis_unittest.py | 17 rate = 48000 23 samples = length_in_secs * rate 25 x = numpy.linspace(0.0, (samples - 1) * 1.0 / rate, samples) 28 results = audio_analysis.spectral_analysis(y, rate) 60 rate = 48000 62 samples = length_in_secs * rate 66 results = audio_analysis.spectral_analysis(noise, rate) 91 self.rate = 48000 94 self.samples = length_in_secs * self.rate 96 0.0, (self.samples - 1) * 1.0 / self.rate, self.samples) [all …]
|
D | sox_utils.py | 12 def _raw_format_args(channels, bits, rate): argument 16 args += ['-r', str(rate)] 20 filename, channels=2, bits=16, rate=48000, duration=None, frequence=440, 33 args += _raw_format_args(channels, bits, rate) 49 def noise_profile_cmd(input, output, channels=1, bits=16, rate=48000): argument 59 args += _raw_format_args(channels, bits, rate) 70 input, output, noise_profile, channels=1, bits=16, rate=48000): argument 81 format_args = _raw_format_args(channels, bits, rate) 93 input, output, channel_index, channels=2, bits=16, rate=48000): argument 105 args += _raw_format_args(channels, bits, rate) [all …]
|
D | audio_analysis.py | 43 def spectral_analysis(signal, rate, min_peak_ratio=DEFAULT_MIN_PEAK_RATIO, argument 85 x_f = _rfft_freq(length, rate) 111 def _rfft_freq(length, rate): argument 122 val = rate / float(length) 184 def anomaly_detection(signal, rate, freq, argument 213 golden_y = _generate_golden_pattern(rate, freq, block_size) 224 results = [float(x) / rate for x in results] 229 def _generate_golden_pattern(rate, freq, block_size): argument 250 samples_in_a_period = int(rate / freq) + 1 253 0.0, (samples_in_golden_pattern - 1) * 1.0 / rate,
|
/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/opencv3/samples/cpp/ |
D | autofocus.cpp | 62 double rate; member 68 return os << "RATE=" << state.rate << "\tSTEP=" in operator <<() 82 state.rate = 0; in createInitialState() 147 static int correctFocus(bool lastSucceeded, FocusState & state, double rate) in correctFocus() argument 151 cout << "RATE=" << rate << endl; in correctFocus() 154 double rateDelta = rate - state.rate; in correctFocus() 156 if (rate >= state.rateMax + epsylon) in correctFocus() 160 state.rateMax = rate; in correctFocus() 174 if (rate < epsylon) in correctFocus() 184 else if ((rate + epsylon < state.rateMax) in correctFocus() [all …]
|
/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/webrtc/webrtc/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/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()
|