/external/chromium-trace/catapult/catapult_build/perfbot_stats/ |
chrome_perf_stats_unittest.py | 60 rates = chrome_perf_stats._SummarizeSuccessRates( 70 self.assertListEqual([['20151010', 0.5], ['20151009', 1.0]], rates)
|
chrome_perf_stats.py | 8 Currently this just pulls success rates from the API, averages daily per 10 detailed success rates. 93 for rates in results.values(): 94 if rates['count'] == 0: 97 float(rates['success_count']) / float(rates['count'])) 119 'benchmark_description': 'Success rates averaged per-builder',
|
/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/autotest/client/site_tests/power_Backlight/ |
power_Backlight.py | 54 rates = [] 67 rates.append(rate) 70 if rates[i] <= rates[i-1]:
|
/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...] |
/frameworks/av/media/libstagefright/codecs/aacenc/inc/ |
aac_rom.h | 97 extern const int rates[8];
|
/device/asus/fugu/libaudio/ |
alsa_utils.h | 106 void getRatesForAF(String8& rates);
|
alsa_utils.cpp | 222 void HDMIAudioCaps::getRatesForAF(String8& rates) { 224 rates.clear(); 242 rates.appendFormat(first ? "%d" : "|%d", srMaskToSR(i)); 390 // This rate was chosen because it is between the region of typical PCM rates 391 // and the extreme rates used for IEC61973.
|
/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/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...] |
/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]);
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
aacenc.c | 384 for (i = 0; rates[i]; i++) 386 if (rates[i] >= bitrate) 451 for (i = 0; rates[i]; i++) 453 if (rates[i] >= bitrate)
|
/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_capa.c | 1161 mode->rates = os_calloc(mode->num_rates, sizeof(int)); 1162 if (!mode->rates) [all...] |
driver_hostap.c | 1117 mode->rates = os_zalloc(rlen); 1118 if (mode->channels == NULL || mode->rates == NULL) { 1120 os_free(mode->rates); 1133 mode->rates[0] = 10; 1134 mode->rates[1] = 20; 1135 mode->rates[2] = 55; 1136 mode->rates[3] = 110;
|
/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 | 213 static const std::vector<std::tuple<std::string, SensorSpecialRate>> rates = { local 219 for (size_t i = 0; i < rates.size(); i++) { 223 std::tie(name, rate) = rates[i];
|
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/ |
VideoChatTestActivity.java | 99 for (int[] rates : frameRates) { 100 logMessage(rates[0] + "-" + rates[1]);
|
/external/wpa_supplicant_8/wpa_supplicant/ |
bss.h | 142 int wpa_bss_get_bit_rates(const struct wpa_bss *bss, u8 **rates);
|
/frameworks/base/core/java/android/view/ |
DisplayInfo.java | 472 * Returns the list of supported refresh rates in the default mode. 476 ArraySet<Float> rates = new ArraySet<>(); local 482 rates.add(mode.getRefreshRate()); 485 float[] result = new float[rates.size()]; 487 for (Float rate : rates) {
|
/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/wpa_supplicant_8/src/ap/ |
hw_features.c | 38 os_free(hw_features[i].rates); 167 return 0; /* No basic rates for 11ad */ 198 mode->rates[i])) 202 rate->rate = mode->rates[i]; 214 wpa_printf(MSG_ERROR, "No rates remaining in supported/basic " 900 * Sets up the hardware mode, channel, rates, and passive scanning
|