/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/wpa_supplicant_8/src/drivers/ |
driver_nl80211_scan.c | 229 struct nlattr *rates; local 233 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 234 if (rates == NULL) 238 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 239 * by masking out everything else apart from the OFDM rates 6, 240 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 241 * rates are left enabled. 246 nla_nest_end(msg, rates);
|
driver_nl80211.c | 3209 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
driver.h | 143 * num_rates - Number of entries in the rates array 148 * rates - Array of supported rates in 100 kbps units 150 int *rates; member in struct:hostapd_hw_modes 364 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes 366 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11 367 * Mbps from the support rates element(s) in the Probe Request frames 368 * and not to transmit the frames at any of those rates. 881 * basic_rates: -1 terminated array of basic rates in 100 kbps [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
aac_rom.c | 1425 const int rates[8] = { variable [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 278 int[] rates = { 1000, 1, 10, 1000000, 10, 1}; local 279 for (int rate : rates) {
|
/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];
|
/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 443 * Returns the list of supported refresh rates in the default mode. 447 ArraySet<Float> rates = new ArraySet<>(); local 453 rates.add(mode.getRefreshRate()); 456 float[] result = new float[rates.size()]; 458 for (Float rate : rates) {
|
/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
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
j2k.h | 251 /** rates of layers */ 252 OPJ_FLOAT32 rates[100]; member in struct:opj_tcp
|
/external/wpa_supplicant_8/wpa_supplicant/ |
config.c | 1704 int *rates = wpa_config_parse_int_array(value); local [all...] |
/packages/apps/Settings/src/com/android/settings/ |
RadioInfo.java | 953 int rates[] = {Integer.MAX_VALUE, 0, 1000}; field in class:RadioInfo.CellInfoListRateHandler [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::__anon23470 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::__anon23471 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::__anon23472 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:__anon23544 [all...] |