/external/iw/ |
ibss.c | 27 unsigned char rates[NL80211_MAX_SUPP_RATES]; local 131 /* basic rates */ 132 if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) { 140 rates[n_rates] = rate * 2; 143 if (*end != '\0' || !rates[n_rates] || 144 rate*2 != rates[n_rates]) 151 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); 198 " [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] " 206 "it with the specified basic-rates, multicast-rate and beacon-interval.");
|
mesh.c | 441 unsigned char rates[NL80211_MAX_SUPP_RATES]; local 514 /* basic rates */ 515 if (argc > 1 && strcmp(argv[0], "basic-rates") == 0) { 523 rates[n_rates] = rate * 2; 526 if (*end != '\0' || !rates[n_rates] || 527 rate*2 != rates[n_rates]) 534 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); 606 " [basic-rates <rate in Mbps,rate2,...>]], [mcast-rate <rate in Mbps>]" 610 "Join a mesh with the given mesh ID with frequency, basic-rates,\n" 611 "mcast-rate and mesh parameters. Basic-rates are applied only if\n [all...] |
/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;
|
/cts/tools/cts-media/ |
get_achievable_rates.py | 62 rates: The measured achievable frame rates 82 return len(self.rates) 85 def rates(self): member in class:_VideoResultBase 186 Result objects containing at least codec, size, mime and rates attributes.""" 358 values = list(itertools.chain(*(e.rates for e in by_size[size])))
|
/device/google/contexthub/util/nanotool/ |
nanotool.cpp | 203 static const std::vector<std::tuple<std::string, SensorSpecialRate>> rates = { local 209 for (size_t i = 0; i < rates.size(); i++) { 213 std::tie(name, rate) = rates[i];
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_scan.c | 245 struct nlattr *rates; local 249 rates = nla_nest_start(msg, NL80211_ATTR_SCAN_SUPP_RATES); 250 if (rates == NULL) 254 * Remove 2.4 GHz rates 1, 2, 5.5, 11 Mbps from supported rates 255 * by masking out everything else apart from the OFDM rates 6, 256 * 9, 12, 18, 24, 36, 48, 54 Mbps from non-MCS rates. All 5 GHz 257 * rates are left enabled. 262 nla_nest_end(msg, rates); 1022 struct nlattr *rates; local [all...] |
driver_nl80211.c | 3315 u8 rates[NL80211_MAX_SUPP_RATES]; local [all...] |
driver.h | 152 * num_rates - Number of entries in the rates array 157 * rates - Array of supported rates in 100 kbps units 159 int *rates; member in struct:hostapd_hw_modes 374 * p2p_probe - Used to disable CCK (802.11b) rates for P2P probes 376 * When set, the driver is expected to remove rates 1, 2, 5.5, and 11 377 * Mbps from the support rates element(s) in the Probe Request frames 378 * and not to transmit the frames at any of those rates. 928 * 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...] |
/system/connectivity/shill/wifi/ |
wifi_endpoint_unittest.cc | 310 vector<uint32_t> rates(1, 22000000); 311 properties.SetUint32s(WPASupplicant::kBSSPropertyRates, rates); 317 vector<uint32_t> rates(1, 54000000); 318 properties.SetUint32s(WPASupplicant::kBSSPropertyRates, rates); 324 vector<uint32_t> rates; local 325 properties.SetUint32s(WPASupplicant::kBSSPropertyRates, rates); [all...] |
wifi_endpoint.cc | 388 vector<uint32_t> rates = local 390 if (rates.size() > 0) { 391 max_rate = rates[0]; // Rates are sorted in descending order
|
/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 | 478 * Returns the list of supported refresh rates in the default mode. 482 ArraySet<Float> rates = new ArraySet<>(); local 488 rates.add(mode.getRefreshRate()); 491 float[] result = new float[rates.size()]; 493 for (Float rate : rates) {
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
RateLimiterTest.java | 373 int[] rates = { 1000, 1, 10, 1000000, 10, 1}; local 374 for (int rate : rates) {
|
/external/iproute2/misc/ |
ifstat.c | 257 double *rates = n->rate; local 265 rates = h1->rate; 283 (unsigned)rates[i]); 299 const double *rates, int i) 310 if (rates[i] > mega) { 311 sprintf(temp, "%uM", (unsigned)(rates[i]/mega)); 313 } else if (rates[i] > kilo) { 314 sprintf(temp, "%uK", (unsigned)(rates[i]/kilo)); 317 fprintf(fp, "%-6u ", (unsigned)rates[i]);
|
/bionic/libc/kernel/uapi/sound/ |
asoc.h | 160 __le32 rates; member in struct:snd_soc_tplg_stream_caps
|
/external/kernel-headers/original/uapi/sound/ |
asoc.h | 203 __le32 rates; /* supported rates SNDRV_PCM_RATE_* */ member in struct:snd_soc_tplg_stream_caps
|
/external/pdfium/third_party/libopenjpeg20/ |
j2k.h | 257 /** rates of layers */ 258 OPJ_FLOAT32 rates[100]; member in struct:opj_tcp
|
/external/wpa_supplicant_8/wpa_supplicant/ |
config.c | 1781 int *rates = wpa_config_parse_int_array(value); local [all...] |
/frameworks/base/media/java/android/media/ |
AudioRecord.java | 256 * rate that is guaranteed to work on all devices, but other rates such as 22050, 422 int[] rates = { 0 }; local 429 rates /*mSampleRates*/, [all...] |
AudioTrack.java | 575 int[] rates = { 0 }; local 578 rates /*sampleRate - NA*/, [all...] |
/external/tcpdump/ |
print-802_11.c | 284 struct rates_t rates; member in struct:mgmt_body_t 710 for (z = 0; z < p.rates.length ; z++) { \ 711 PRINT_RATE(sep, p.rates.rate[z], \ 712 (p.rates.rate[z] & 0x80 ? "*" : "")); \ 715 if (p.rates.length != 0) \ 1300 struct rates_t rates; local [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::__anon29640 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::__anon29641 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::__anon29642 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:__anon29714 [all...] |