/external/iptables/extensions/ |
H A D | 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);
|
H A D | 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/ |
H A D | 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/iproute2/misc/ |
H A D | 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) argument 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/ |
H A D | 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 [all...] |
H A D | ieee802_11.h | 240 struct rates_t rates; member in struct:mgmt_body_t
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_test.c | 2445 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); 2446 if (modes[0].channels == NULL || modes[0].rates == NULL) 2453 modes[0].rates[0] = 10; 2454 modes[0].rates[1] = 20; 2455 modes[0].rates[2] = 55; 2456 modes[0].rates[3] = 110; 2457 modes[0].rates[4] = 60; 2458 modes[0].rates[5] = 90; 2459 modes[0].rates[6] = 120; 2460 modes[0].rates[ [all...] |
H A D | 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;
|
H A D | driver_nl80211.c | 5196 struct nlattr *rates; local 5200 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 5201 if (rates == NULL) 5205 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 5206 * by masking out everything else apart from the OFDM rates 6, 5207 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 5208 * rates are left enabled. 5212 nla_nest_end(msg, rates); 6599 mode->rates 7308 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
H A D | driver.h | 132 * num_rates - Number of entries in the rates array 137 * rates - Array of supported rates in 100 kbps units 139 int *rates; member in struct:hostapd_hw_modes 348 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes 350 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11 351 * Mbps from the support rates element(s) in the Probe Request frames 352 * and not to transmit the frames at any of those rates. 752 * basic_rates: -1 terminated array of basic rates in 100 kbps 1662 * get_hw_feature_data - Get hardware support data (channels and rates) [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_test.c | 2445 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); 2446 if (modes[0].channels == NULL || modes[0].rates == NULL) 2453 modes[0].rates[0] = 10; 2454 modes[0].rates[1] = 20; 2455 modes[0].rates[2] = 55; 2456 modes[0].rates[3] = 110; 2457 modes[0].rates[4] = 60; 2458 modes[0].rates[5] = 90; 2459 modes[0].rates[6] = 120; 2460 modes[0].rates[ [all...] |
H A D | 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;
|
H A D | driver_nl80211.c | 5196 struct nlattr *rates; local 5200 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 5201 if (rates == NULL) 5205 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 5206 * by masking out everything else apart from the OFDM rates 6, 5207 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 5208 * rates are left enabled. 5212 nla_nest_end(msg, rates); 6599 mode->rates 7308 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_test.c | 2445 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); 2446 if (modes[0].channels == NULL || modes[0].rates == NULL) 2453 modes[0].rates[0] = 10; 2454 modes[0].rates[1] = 20; 2455 modes[0].rates[2] = 55; 2456 modes[0].rates[3] = 110; 2457 modes[0].rates[4] = 60; 2458 modes[0].rates[5] = 90; 2459 modes[0].rates[6] = 120; 2460 modes[0].rates[ [all...] |
H A D | 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;
|
H A D | driver_nl80211.c | 5196 struct nlattr *rates; local 5200 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 5201 if (rates == NULL) 5205 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 5206 * by masking out everything else apart from the OFDM rates 6, 5207 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 5208 * rates are left enabled. 5212 nla_nest_end(msg, rates); 6599 mode->rates 7308 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
/external/chromium_org/third_party/opus/src/tests/ |
H A D | 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/ |
H A D | 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/ |
H A D | bss.h | 129 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
H A D | 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) argument 1228 *rates = r;
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
H A D | j2k.h | 251 /** rates of layers */ 252 OPJ_FLOAT32 rates[100]; member in struct:opj_tcp
|
H A D | 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))) {
|
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | 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
|
/external/wpa_supplicant_8/src/ap/ |
H A D | 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
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | 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
|