Searched defs:rate (Results 1 - 25 of 218) sorted by relevance

123456789

/external/lisa/libs/utils/
H A Dcolors.py32 def rate(val, positive_is_good=True): member in class:TestColors
/external/tinycompress/
H A Dutils.c64 unsigned int compress_get_alsa_rate(unsigned int rate) argument
66 switch (rate) {
/external/pdfium/fxjs/xfa/
H A Dcjx_stipple.cpp21 void CJX_Stipple::rate(CFXJSE_Value* pValue, function in class:CJX_Stipple
/external/adhd/cras/examples/
H A Dcplay_buffer.c23 const unsigned int rate = 48000; local
55 SND_PCM_FORMAT_S16_LE, rate, num_channels,
H A Dcplay.c61 const unsigned int rate = 48000; local
85 put_samples, stream_error, SND_PCM_FORMAT_S16_LE, rate,
/external/iproute2/tc/
H A Dtc_cbq.c27 unsigned int tc_cbq_calc_maxidle(unsigned int bndw, unsigned int rate, unsigned int avpkt, argument
35 if (bndw != rate && maxburst) {
36 double vxmt = (double)avpkt/rate - xmt;
45 unsigned int tc_cbq_calc_offtime(unsigned int bndw, unsigned int rate, unsigned int avpkt, argument
49 double offtime = (double)avpkt/rate - (double)avpkt/bndw;
H A Dm_sample.c24 fprintf(stderr, "\tSAMPLE_PARAMS := rate RATE group GROUP [trunc SIZE] [SAMPLE_INDEX]\n");
50 __u32 rate; local
66 if (matches(*argv, "rate") == 0) {
68 if (get_unsigned(&rate, *argv, 10) != 0) {
69 fprintf(stderr, "Illegal rate %s\n", *argv);
120 fprintf(stderr, "param \"rate\" not set\n");
128 addattr32(n, MAX_MSG, TCA_SAMPLE_RATE, rate);
158 fprintf(f, "sample rate 1/%d group %d",
H A Dq_choke.c41 unsigned int rate = 0; local
57 if (get_rate(&rate, *argv)) {
104 if (!rate || !opt.limit) {
146 wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf);
H A Dq_gred.c127 unsigned int rate = 0; local
203 if (get_rate(&rate, *argv)) {
232 if (!rate) {
233 get_rate(&rate, "10Mbit");
249 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0)
H A Dq_red.c42 unsigned int rate = 0; local
87 if (get_rate(&rate, *argv)) {
124 if (!rate) {
125 get_rate(&rate, "10Mbit");
140 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowSensorManager.java25 public boolean registerListener(SensorEventListener listener, Sensor sensor, int rate) { argument
/external/sonic/
H A DMain.java25 float rate,
40 sonic.setRate(rate);
65 float rate = 1.0f;
79 runSonic(stream, line, speed, pitch, rate, volume, emulateChordPitch, quality,
20 runSonic( AudioInputStream audioStream, SourceDataLine line, float speed, float pitch, float rate, float volume, boolean emulateChordPitch, int quality, int sampleRate, int numChannels) argument
/external/webrtc/webrtc/common_audio/vad/
H A Dvad_unittest.cc29 // Returns true if the rate and frame length combination is valid.
30 bool VadTest::ValidRatesAndFrameLengths(int rate, size_t frame_length) { argument
31 if (rate == 8000) {
36 } else if (rate == 16000) {
41 } else if (rate == 32000) {
46 } else if (rate == 48000) {
101 // Invalid sampling rate
108 // Loop through sampling rate and frame length combinations
130 // This test verifies valid and invalid rate/frame_length combinations. We
/external/autotest/client/cros/chameleon/
H A Daudio_widget_arc.py25 rate=8000) variable in class:CrosInputWidgetARCHandler
43 rate: sampling rate.
69 rate: sampling rate.
/external/python/cpython3/Modules/_sha3/kcp/
H A DKeccakHash.c21 HashReturn Keccak_HashInitialize(Keccak_HashInstance *instance, unsigned int rate, unsigned int capacity, unsigned int hashbitlen, unsigned char delimitedSuffix) argument
27 result = (HashReturn)KeccakWidth1600_SpongeInitialize(&instance->sponge, rate, capacity);
/external/speex/include/speex/
H A Dspeex_header.h64 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/speex/libspeex/
H A Dspeex_header.c72 int rate;
86 EXPORT void speex_init_header(SpeexHeader *header, int rate, int nb_channels, const SpeexMode *m) argument
105 header->rate = rate;
131 ENDIAN_SWITCH(le_header->rate);
171 ENDIAN_SWITCH(le_header->rate);
/external/tensorflow/tensorflow/python/ops/distributions/
H A Dexponential.py43 The Exponential distribution is parameterized by an event `rate` parameter.
54 where `rate = lambda` and `Z` is the normalizaing constant.
60 Exponential(rate) = Gamma(concentration=1., rate)
63 The Exponential distribution uses a `rate` parameter, or "inverse scale",
67 X ~ Exponential(rate=1)
68 Y = X / rate
74 rate,
78 """Construct Exponential distribution with parameter `rate`.
81 rate
117 def rate(self): member in class:Exponential
[all...]
/external/adhd/cras/src/server/
H A Drate_estimator.c10 /* The max rate skew that considered reasonable */
41 struct rate_estimator *rate_estimator_create(unsigned int rate, argument
52 re->estimated_rate = rate;
68 void rate_estimator_reset_rate(struct rate_estimator *re, unsigned int rate) argument
70 re->estimated_rate = rate;
103 double rate = least_square_best_fit_slope(&re->lsq); local
104 if (fabs(re->estimated_rate - rate) < MAX_RATE_SKEW)
105 re->estimated_rate = rate * (1 - re->smooth_factor) +
/external/iw/
H A Dibss.c30 float rate; local
139 rate = strtod(value, &end);
140 rates[n_rates] = rate * 2;
144 rate*2 != rates[n_rates])
157 /* multicast rate */
158 if (argc > 1 && strcmp(argv[0], "mcast-rate") == 0) {
162 rate = strtod(argv[0], &end);
166 NLA_PUT_U32(msg, NL80211_ATTR_MCAST_RATE, (int)(rate * 10));
198 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rat
[all...]
/external/libnl/lib/cli/qdisc/
H A Dhtb.c75 " --rate=RATE Rate limit.\n"
76 " --ceil=RATE Rate limit while borrowing (default: equal to --rate).\n"
78 " --quantum=SIZE Amount of bytes to serve at once (default: rate/r2q).\n"
79 " --burst=SIZE Max charge size of rate burst buffer (default: auto).\n"
80 " --cburst=SIZE Max charge size of ceil rate burst buffer (default: auto)\n"
83 " # Attach class 1:1 to htb qdisc 1: and rate limit it to 20mbit\n"
84 " nl-class-add --dev=eth1 --parent=1: --classid=1:1 htb --rate=20mbit\n");
90 long rate; local
104 { "rate", 1, 0, ARG_RATE },
123 rate
[all...]
/external/libnl/python/netlink/route/qdisc/
H A Dhtb.py55 def rate(self): member in class:HTBClass
56 rate = capi.rtnl_htb_get_rate(self._class._rtnl_class)
57 return util.Rate(rate)
59 @rate.setter
60 def rate(self, value): member in class:HTBClass
123 ret = ' {t|prio} {t|rate}'
125 if self.rate != self.ceil:
/external/libopus/celt/
H A Dopus_custom_demo.c51 opus_int32 frame_size, channels, rate; local
64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> "
65 " <bytes per packet> [<complexity> [packet loss rate]] "
70 rate = (opus_int32)atol(argv[1]);
73 mode = opus_custom_mode_create(rate, frame_size, NULL);
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
H A DProgressiveDownloadInformationBox.java55 long rate; field in class:ProgressiveDownloadInformationBox.Entry
58 public Entry(long rate, long initialDelay) { argument
59 this.rate = rate;
64 return rate;
67 public void setRate(long rate) { argument
68 this.rate = rate;
82 "rate=" + rate
[all...]
/external/opencv/cv/src/
H A D_cv.h103 double *rate; member in struct:CvPyramid

Completed in 734 milliseconds

123456789