/external/iptables/extensions/ |
H A D | libxt_limit.c | 108 static const struct rates struct 112 } rates[] = { { "day", XT_LIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 121 for (i = 1; i < ARRAY_SIZE(rates); ++i) 122 if (period > rates[i].mult 123 || rates[i].mult/period < rates[i].mult%period) 126 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
H A D | libxt_hashlimit.c | 311 static const struct rates struct 315 } rates[] = { { "day", XT_HASHLIMIT_SCALE*24*60*60 }, variable in typeref:struct:rates 324 for (i = 1; i < ARRAY_SIZE(rates); ++i) 325 if (period > rates[i].mult 326 || rates[i].mult/period < rates[i].mult%period) 329 printf(" %u/%s", rates[i-1].mult / period, rates[i-1].name);
|
/external/chromium_org/media/audio/cras/ |
H A D | cras_input_unittest.cc | 190 const unsigned int rates[] = local 193 for (unsigned int i = 0; i < ARRAY_SIZE(rates); i++) { 194 SCOPED_TRACE(testing::Message() << "Mono " << rates[i] << "Hz"); 197 rates[i], 203 for (unsigned int i = 0; i < ARRAY_SIZE(rates); i++) { 204 SCOPED_TRACE(testing::Message() << "Stereo " << rates[i] << "Hz"); 207 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 | 72 for (z = 0; z < p.rates.length ; z++) { \ 73 PRINT_RATE(sep, p.rates.rate[z], \ 74 (p.rates.rate[z] & 0x80 ? "*" : "")); \ 77 if (p.rates.length != 0) \ 122 "data rates in BSSBasicRateSet parameter", /* 18 */ 219 memcpy(&(pbody->rates), p + offset, 2); 221 if (pbody->rates.length != 0) { 222 if (pbody->rates.length > sizeof pbody->rates.rate) 224 if (!TTEST2(*(p + offset), pbody->rates [all...] |
H A D | ieee802_11.h | 242 struct rates_t rates; member in struct:mgmt_body_t
|
/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]; 260 if(opus_encoder_ctl(enc, OPUS_SET_FORCE_CHANNELS((rates[j]>=64000?2:1)))!=OPUS_OK)test_failed(); 302 int rates[16]={4000,12000,32000,8000,16000,32000,48000,88000,4000,12000,32000,8000,16000,32000,48000,88000}; local 306 rate=rates[j]+fast_rand()%rates[j];
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | bss.h | 126 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
H A D | bss.c | 1118 * wpa_bss_get_bit_rates - Get legacy TX rates supported in a BSS 1120 * @rates: Buffer for returning a pointer to the rates list (units of 500 kbps) 1121 * Returns: number of legacy TX rates or -1 on failure 1126 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates) argument 1148 *rates = r;
|
/external/wpa_supplicant_8/hostapd/src/drivers/ |
H A D | driver_test.c | 2568 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); 2569 if (modes[0].channels == NULL || modes[0].rates == NULL) 2576 modes[0].rates[0] = 10; 2577 modes[0].rates[1] = 20; 2578 modes[0].rates[2] = 55; 2579 modes[0].rates[3] = 110; 2580 modes[0].rates[4] = 60; 2581 modes[0].rates[5] = 90; 2582 modes[0].rates[6] = 120; 2583 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 | 4333 struct nlattr *rates; local 4337 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 4338 if (rates == NULL) 4342 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 4343 * by masking out everything else apart from the OFDM rates 6, 4344 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 4345 * rates are left enabled. 4349 nla_nest_end(msg, rates); 5675 mode->rates 6223 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
H A D | driver.h | 108 * num_rates - Number of entries in the rates array 113 * rates - Array of supported rates in 100 kbps units 115 int *rates; member in struct:hostapd_hw_modes 324 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes 326 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11 327 * Mbps from the support rates element(s) in the Probe Request frames 328 * and not to transmit the frames at any of those rates. 653 * basic_rates: -1 terminated array of basic rates in 100 kbps 1491 * get_hw_feature_data - Get hardware support data (channels and rates) [all...] |
/external/wpa_supplicant_8/src/drivers/ |
H A D | driver_test.c | 2568 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); 2569 if (modes[0].channels == NULL || modes[0].rates == NULL) 2576 modes[0].rates[0] = 10; 2577 modes[0].rates[1] = 20; 2578 modes[0].rates[2] = 55; 2579 modes[0].rates[3] = 110; 2580 modes[0].rates[4] = 60; 2581 modes[0].rates[5] = 90; 2582 modes[0].rates[6] = 120; 2583 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 | 4333 struct nlattr *rates; local 4337 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 4338 if (rates == NULL) 4342 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 4343 * by masking out everything else apart from the OFDM rates 6, 4344 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 4345 * rates are left enabled. 4349 nla_nest_end(msg, rates); 5675 mode->rates 6223 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
H A D | driver.h | 108 * num_rates - Number of entries in the rates array 113 * rates - Array of supported rates in 100 kbps units 115 int *rates; member in struct:hostapd_hw_modes 324 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes 326 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11 327 * Mbps from the support rates element(s) in the Probe Request frames 328 * and not to transmit the frames at any of those rates. 653 * basic_rates: -1 terminated array of basic rates in 100 kbps 1491 * get_hw_feature_data - Get hardware support data (channels and rates) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | driver_test.c | 2568 modes[0].rates = os_calloc(modes[0].num_rates, sizeof(int)); 2569 if (modes[0].channels == NULL || modes[0].rates == NULL) 2576 modes[0].rates[0] = 10; 2577 modes[0].rates[1] = 20; 2578 modes[0].rates[2] = 55; 2579 modes[0].rates[3] = 110; 2580 modes[0].rates[4] = 60; 2581 modes[0].rates[5] = 90; 2582 modes[0].rates[6] = 120; 2583 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 | 4333 struct nlattr *rates; local 4337 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 4338 if (rates == NULL) 4342 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 4343 * by masking out everything else apart from the OFDM rates 6, 4344 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 4345 * rates are left enabled. 4349 nla_nest_end(msg, rates); 5675 mode->rates 6223 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
H A D | driver.h | 108 * num_rates - Number of entries in the rates array 113 * rates - Array of supported rates in 100 kbps units 115 int *rates; member in struct:hostapd_hw_modes 324 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes 326 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11 327 * Mbps from the support rates element(s) in the Probe Request frames 328 * and not to transmit the frames at any of those rates. 653 * basic_rates: -1 terminated array of basic rates in 100 kbps 1491 * get_hw_feature_data - Get hardware support data (channels and rates) [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | hw_features.c | 41 os_free(hw_features[i].rates); 127 return 0; /* No basic rates for 11ad */ 158 mode->rates[i])) 162 rate->rate = mode->rates[i]; 174 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic " 756 * Sets up the hardware mode, channel, rates, and passive scanning
|
/external/wpa_supplicant_8/src/ap/ |
H A D | hw_features.c | 41 os_free(hw_features[i].rates); 127 return 0; /* No basic rates for 11ad */ 158 mode->rates[i])) 162 rate->rate = mode->rates[i]; 174 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic " 756 * Sets up the hardware mode, channel, rates, and passive scanning
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | hw_features.c | 41 os_free(hw_features[i].rates); 127 return 0; /* No basic rates for 11ad */ 158 mode->rates[i])) 162 rate->rate = mode->rates[i]; 174 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic " 756 * Sets up the hardware mode, channel, rates, and passive scanning
|
/external/libvorbis/doc/ |
H A D | 01-introduction.tex | 23 lower and higher sample rates (from 8kHz telephony to 192kHz digital
|