/external/chromium_org/media/audio/cras/ |
cras_input_unittest.cc | 191 const unsigned int rates[] = local 194 for (unsigned int i = 0; i < ARRAY_SIZE(rates); i++) { 195 SCOPED_TRACE(testing::Message() << "Mono " << rates[i] << "Hz"); 198 rates[i], 204 for (unsigned int i = 0; i < ARRAY_SIZE(rates); i++) { 205 SCOPED_TRACE(testing::Message() << "Stereo " << rates[i] << "Hz"); 208 rates[i],
|
/external/iptables/extensions/ |
libxt_limit.c | 112 static const struct rates struct 116 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 130 for (i = 1; i < ARRAY_SIZE(rates); ++i) 131 if (period > rates[i].mult 132 || rates[i].mult/period < rates[i].mult%period) 135 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
libxt_hashlimit.c | 428 static const struct rates struct 432 } rates[] = { { "day", XT_HASHLIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 446 for (i = 1; i < ARRAY_SIZE(rates); ++i) 447 if (period > rates[i].mult 448 || rates[i].mult/period < rates[i].mult%period) 451 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name); 453 return rates[i-1].mult / XT_HASHLIMIT_SCALE * 1000;
|
/external/chromium_org/third_party/opus/src/tests/ |
test_opus_encode.c | 243 int rates[13]={6000,12000,48000,16000,32000,48000,64000,512000,13000,24000,48000,64000,96000}; local 245 rate=rates[j]+fast_rand()%rates[j]; 272 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed(); 329 int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,48000,88000}; local 333 rate=rates[j]+fast_rand()%rates[j];
|
/external/iproute2/misc/ |
ifstat.c | 221 double *rates = n->rate; local 229 rates = h1->rate; 237 fprintf(fp, "%llu %u ", vals[i], (unsigned)rates[i]); 247 void format_rate(FILE *fp, unsigned long long *vals, double *rates, int i) 257 if (rates[i] > mega) { 258 sprintf(temp, "%uM", (unsigned)(rates[i]/mega)); 260 } else if (rates[i] > kilo) { 261 sprintf(temp, "%uK", (unsigned)(rates[i]/kilo)); 264 fprintf(fp, "%-6u ", (unsigned)rates[i]);
|
/external/libopus/tests/ |
test_opus_encode.c | 243 int rates[13]={6000,12000,48000,16000,32000,48000,64000,512000,13000,24000,48000,64000,96000}; local 245 rate=rates[j]+fast_rand()%rates[j]; 272 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed(); 329 int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,48000,88000}; local 333 rate=rates[j]+fast_rand()%rates[j];
|