/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/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],
|
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
aac_rom.h | 97 extern const int rates[8];
|
/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/tcpdump/ |
print-802_11.c | 71 for (z = 0; z < p.rates.length ; z++) { \ 72 PRINT_RATE(sep, p.rates.rate[z], \ 73 (p.rates.rate[z] & 0x80 ? "*" : "")); \ 76 if (p.rates.length != 0) \ 514 "the data rates in BSSBasicRateSet parameter", /* 18 */ 541 "Association denied due to excessive frame loss rates and/or " 661 struct rates_t rates; local 753 memcpy(&rates, p + offset, 2); 756 if (rates.length != 0) { 757 if (rates.length > sizeof rates.rate [all...] |
ieee802_11.h | 240 struct rates_t rates; member in struct:mgmt_body_t
|
/device/asus/fugu/libaudio/ |
alsa_utils.h | 106 void getRatesForAF(String8& rates);
|
alsa_utils.cpp | 221 void HDMIAudioCaps::getRatesForAF(String8& rates) { 223 rates.clear(); 241 rates.appendFormat(first ? "%d" : "|%d", srMaskToSR(i));
|
/external/wpa_supplicant_8/src/drivers/ |
driver_test.c | [all...] |
driver_hostap.c | 1115 mode->rates = os_zalloc(rlen); 1116 if (mode->channels == NULL || mode->rates == NULL) { 1118 os_free(mode->rates); 1131 mode->rates[0] = 10; 1132 mode->rates[1] = 20; 1133 mode->rates[2] = 55; 1134 mode->rates[3] = 110;
|
driver_nl80211.c | 5196 struct nlattr *rates; local 7308 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
/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/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];
|
/external/wpa_supplicant_8/wpa_supplicant/ |
bss.h | 129 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
bss.c | 1198 * wpa_bss_get_bit_rates - Get legacy TX rates supported in a BSS 1200 * @rates: Buffer for returning a pointer to the rates list (units of 500 kbps) 1201 * Returns: number of legacy TX rates or -1 on failure 1206 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates) 1228 *rates = r;
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
aacenc.c | 382 for (i = 0; rates[i]; i++) 384 if (rates[i] >= bitrate) 449 for (i = 0; rates[i]; i++) 451 if (rates[i] >= bitrate)
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 99 for (int[] rates : frameRates) { 100 logMessage(rates[0] + "-" + rates[1]);
|
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 952 int rates[] = {Integer.MAX_VALUE, 0, 1000}; field in class:RadioInfo.CellInfoListRateHandler [all...] |
/frameworks/base/media/java/android/media/ |
MediaCodecInfo.java | 510 * Returns the array of supported sample rates if the codec 563 // channels and sample rates are checked orthogonally 585 /** modifies rates */ 586 private void limitSampleRates(int[] rates) { 587 Arrays.sort(rates); 589 for (int rate: rates) { [all...] |
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
j2k.h | 251 /** rates of layers */ 252 OPJ_FLOAT32 rates[100]; member in struct:opj_tcp
|
tcd.c | 476 OPJ_UINT32 maxlen = tcd_tcp->rates[layno] ? opj_uint_min(((OPJ_UINT32) ceil(tcd_tcp->rates[layno])), len) : len; 486 -r xx,yy,zz,0 (disto_alloc == 1 and rates == 0) 489 if ( ((cp->m_specific_param.m_enc.m_disto_alloc==1) && (tcd_tcp->rates[layno]>0)) || ((cp->m_specific_param.m_enc.m_fixed_quality==1) && (tcd_tcp->distoratio[layno]>0))) { [all...] |
/external/wpa_supplicant_8/src/ap/ |
hw_features.c | 37 os_free(hw_features[i].rates); 166 return 0; /* No basic rates for 11ad */ 197 mode->rates[i])) 201 rate->rate = mode->rates[i]; 213 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic " 1063 * Sets up the hardware mode, channel, rates, and passive scanning
|
/frameworks/opt/net/wifi/service/tools/halutil/ |
halutil.cpp | 1057 char *rates[] = { variable [all...] |
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
wlioctl.h | 125 uint count; /* # rates in this set */ 126 uint8 rates[16]; /* rates in 500kbps units w/hi bit set if basic */ member in struct:wl_bss_info_107::__anon19260 127 } rateset; /* supported rates */ 158 uint count; /* # rates in this set */ 159 uint8 rates[16]; /* rates in 500kbps units w/hi bit set if basic */ member in struct:wl_bss_info_108::__anon19261 160 } rateset; /* supported rates */ 200 uint count; /* # rates in this set */ 201 uint8 rates[16]; /* rates in 500kbps units w/hi bit set if basic * member in struct:wl_bss_info::__anon19262 489 uint8 rates[WL_MAXRATES_IN_SET]; \/* rates in 500kbps units w\/hi bit set if basic *\/ member in struct:wl_rateset 494 uint8 rates[WL_MAXRATES_IN_SET]; \/* rates in 500kbps units w\/hi bit set if basic *\/ member in struct:wl_rateset_args 4704 uint16 rates; \/* Main Rates *\/ member in struct:__anon19334 [all...] |