/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/ |
Util.py | 19 def avg(total, n): 20 return total / n
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
OkHttp.java | 67 long total = readAllAndClose(urlConnection.getInputStream()); local 72 total, TimeUnit.NANOSECONDS.toMillis(finish - start)));
|
UrlConnection.java | 69 long total = readAllAndClose(in); local 74 total, TimeUnit.NANOSECONDS.toMillis(finish - start)));
|
/external/bluetooth/bluedroid/gki/common/ |
gki_debug.c | 56 GKI_TRACE("POOL SIZE USED MAXU TOTAL"); 64 i, p->size, p->cur_cnt, p->max_cnt, p->total); 69 i, p->size, p->cur_cnt, p->max_cnt, p->total); 93 GKI_TRACE("pool:%4u free %4u cur %3u max %3u total%3u", i, gki_cb.com.freeq[i].size, 94 gki_cb.com.freeq[i].cur_cnt, gki_cb.com.freeq[i].max_cnt, gki_cb.com.freeq[i].total); 182 maxbuffs = gki_cb.com.freeq[pool].total; 184 print("Buffer Pool[%u] size=%u cur_cnt=%u max_cnt=%u total=%u\n", 186 gki_cb.com.freeq[pool].cur_cnt, gki_cb.com.freeq[pool].max_cnt, gki_cb.com.freeq[pool].total); 227 num_bufs = gki_cb.com.freeq[pool_id].total;
|
/external/bluetooth/bluedroid/hci/src/ |
userial.c | 365 uint16_t total = 0; local 367 ssize_t ret = write(userial_cb.fd, p_data + total, len); 371 return total; 373 return total; 375 total += ret; 381 return total;
|
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/ |
main.js | 25 if (event.lengthComputable && event.total > 0) { 26 loadPercent = event.loaded / event.total * 100.0; 28 // The total length is not yet known.
|
/external/chromium_org/v8/test/webkit/ |
dfg-put-scoped-var-backward-flow.js | 29 var total = 0; 31 total += num; 33 return total;
|
/external/elfutils/0.153/libebl/ |
eblstrtab.c | 97 size_t total; member in struct:Ebl_Strtab 290 st->total += newstr->len - (*sep)->len; 306 st->total += newstr->len; 341 data->d_buf = malloc (st->total + nulllen); 351 data->d_size = st->total + nulllen; 362 assert (copylen == st->total + nulllen);
|
/external/libnfc-nci/halimpl/bcm2079x/gki/common/ |
gki_debug.c | 55 GKI_TRACE_0("POOL SIZE USED MAXU TOTAL"); 63 i, p->size, p->cur_cnt, p->max_cnt, p->total); 68 i, p->size, p->cur_cnt, p->max_cnt, p->total); 92 GKI_TRACE_5("pool:%4u free %4u cur %3u max %3u total%3u", i, gki_cb.com.freeq[i].size, 93 gki_cb.com.freeq[i].cur_cnt, gki_cb.com.freeq[i].max_cnt, gki_cb.com.freeq[i].total); 181 maxbuffs = gki_cb.com.freeq[pool].total; 183 print("Buffer Pool[%u] size=%u cur_cnt=%u max_cnt=%u total=%u\n", 185 gki_cb.com.freeq[pool].cur_cnt, gki_cb.com.freeq[pool].max_cnt, gki_cb.com.freeq[pool].total); 226 num_bufs = gki_cb.com.freeq[pool_id].total;
|
/external/libnfc-nci/src/gki/common/ |
gki_debug.c | 55 GKI_TRACE_0("POOL SIZE USED MAXU TOTAL"); 63 i, p->size, p->cur_cnt, p->max_cnt, p->total); 68 i, p->size, p->cur_cnt, p->max_cnt, p->total); 92 GKI_TRACE_5("pool:%4u free %4u cur %3u max %3u total%3u", i, gki_cb.com.freeq[i].size, 93 gki_cb.com.freeq[i].cur_cnt, gki_cb.com.freeq[i].max_cnt, gki_cb.com.freeq[i].total); 181 maxbuffs = gki_cb.com.freeq[pool].total; 183 print("Buffer Pool[%u] size=%u cur_cnt=%u max_cnt=%u total=%u\n", 185 gki_cb.com.freeq[pool].cur_cnt, gki_cb.com.freeq[pool].max_cnt, gki_cb.com.freeq[pool].total); 226 num_bufs = gki_cb.com.freeq[pool_id].total;
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
ConnectionPool.java | 210 /** Returns total number of connections in the pool. */ 215 /** Returns total number of spdy connections in the pool. */ 217 int total = 0; local 219 if (connection.isSpdy()) total++; 221 return total; 224 /** Returns total number of http connections in the pool. */ 226 int total = 0; local 228 if (!connection.isSpdy()) total++; 230 return total;
|
/external/elfutils/0.153/src/ |
size.c | 83 { "totals", 't', NULL, 0, N_("Display the total sizes (bsd only)"), 0 }, 113 /* Show total size. */ 158 /* True if total sizes should be printed. */ 160 /* To print the total sizes in a reasonable format remember the higest 204 /* Print the total sizes but only if the output format is BSD and at 461 GElf_Off total = 0; local 475 total += shdr->sh_size; 480 printf ("%-*s %*" PRIx64 "\n\n\n", maxlen, sgettext ("sysv|Total"), 481 digits - 2, total); 483 printf ("%-*s %*" PRId64 "\n\n\n", maxlen, sgettext ("sysv|Total"), 510 GElf_Off total = 0; local 627 GElf_Off total = 0; local [all...] |
/external/blktrace/btt/ |
output.c | 71 ap->avg = BIT_TIME(ap->total) / (double)ap->n; 103 ap->avg = BIT_TIME(ap->total) / (double)ap->n; 165 unsigned long long nq, nd, blkmin, blkmax, total; member in struct:__anon5020 185 blks_avg = (double)dip->avgs.blks.total / d2c_n; 195 (unsigned long long)dip->avgs.blks.total); 207 (unsigned long long)dip->avgs.blks.total); 217 merge_data.total += dip->avgs.blks.total; 227 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total"); 232 fprintf(ofp, "%10s | %8s %8s %7s | %8s %8s %8s %8s\n", "DEV", "#Q", "#D", "Ratio", "BLKmin", "BLKavg", "BLKmax", "Total"); 245 __u64 total; member in struct:__ohead_data [all...] |
/external/chromium_org/third_party/sqlite/src/tool/ |
spaceanal.tcl | 51 payload int, -- Total amount of data stored in this table or index 52 ovfl_payload int, -- Total amount of data stored on overflow pages 274 statline {Percentage of total database} $total_pages_percent 294 statline {Total pages used} $total_pages 348 # free_pgcnt: Free pages calculated as (<total pages> - <in-use pages>) 358 # user_percent: $user_payload as a percentage of total file size. 464 the total number of pages in the file. 470 divided by the total number of pages in the file. 484 The total number of indices in the database. 497 The total amount of disk space used by the entire database files [all...] |
/external/lzma/CS/7zip/Compress/RangeCoder/ |
RangeCoder.cs | 54 public void Encode(uint start, uint size, uint total)
56 Low += start * (Range /= total);
170 public uint GetThreshold(uint total)
172 return Code / (Range /= total);
175 public void Decode(uint start, uint size, uint total)
|
/external/chromium_org/third_party/angle/src/libEGL/ |
Config.cpp | 154 // Sorting rule #3: by larger total number of color bits, not considering 174 EGLint total = 0; local 176 if (mWantRed) total += config.mRedSize; 177 if (mWantGreen) total += config.mGreenSize; 178 if (mWantBlue) total += config.mBlueSize; 179 if (mWantAlpha) total += config.mAlphaSize; 180 if (mWantLuminance) total += config.mLuminanceSize; 182 return total; 204 // By larger total number of color bits, only considering those that are requested to be > 0. 228 // but the same total [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/ |
webrunner.js | 359 total: totalTestItems } }, "*"); 406 $("#timebar").html("<span><strong>" + (runStyle === "runs/s" ? Math.pow(Math.E, maxTotal / maxTotalNum) : maxTotal).toFixed(2) + "</strong>" + runStyle + " (Total)</span>"); 486 results[curID] = {tests:{}, total:{}, version: result.version}; 489 if ( !results[curID].total[run] ) { 490 results[curID].total[run] = {max:0, mean:0, median:0, min:0, deviation:0, error:0, num:0}; 499 var total = results[curID].total[run]; 500 total.num++; 502 for ( var type in total ) { 504 total.error += error [all...] |
/external/chromium_org/third_party/icu/source/samples/ucnv/ |
convsamp.cpp | 302 uint32_t letters=0, total=0; local 360 total++; 365 printf("%d letters out of %d total UChars.\n", letters, total); 398 uint32_t letters=0, total=0; local 449 fprintf(stderr, "%s @ %d\n", u_errorName(status), total); 454 total++; 481 printf("%d letters out of %d total UChars.\n", letters, total); 881 uint32_t inbytes=0, total=0 local 987 uint32_t inchars=0, total=0; local [all...] |
/external/icu/icu4c/source/samples/ucnv/ |
convsamp.cpp | 302 uint32_t letters=0, total=0; local 360 total++; 365 printf("%d letters out of %d total UChars.\n", letters, total); 398 uint32_t letters=0, total=0; local 449 fprintf(stderr, "%s @ %d\n", u_errorName(status), total); 454 total++; 481 printf("%d letters out of %d total UChars.\n", letters, total); 881 uint32_t inbytes=0, total=0 local 987 uint32_t inchars=0, total=0; local [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/ |
hists.c | 51 u64 total = pair->hists->stats.total_period; local 66 percent = 100.0 * period / total; 136 GtkTreeIter *parent, int col, u64 total) 152 percent = 100.0 * hits / total; 181 child_total = total; 316 u64 total; local 319 total = h->stat.period; 321 total = hists->stats.total_period; 324 sym_col, total);
|
/external/chromium_org/third_party/boringssl/src/crypto/perlasm/ |
cbc.pl | 312 $total=16+4; 313 $total+=4 if ($p1 > 0); 314 $total+=4 if ($p2 > 0); 315 $total+=4 if ($p3 > 0); 316 &add("esp",$total);
|
/external/chromium_org/tools/ |
isolate_driver.py | 88 total = 1 94 total += load_ninja_recursively(build_dir, rel_path, build_steps) 98 return total 104 total = load_ninja_recursively(build_dir, 'build.ninja', build_steps) 105 logging.info('Loaded %d ninja files, %d build steps', total, len(build_steps))
|
/external/iproute2/netem/ |
maketable.c | 123 cumulativedist(int *table, int limit, int *total) 131 *total = accum; 204 int total; local 227 cumulativedist(table, DISTTABLESIZE, &total); 228 inverse = inverttable(table, TABLESIZE, DISTTABLESIZE, total);
|
/external/openssl/crypto/perlasm/ |
cbc.pl | 312 $total=16+4; 313 $total+=4 if ($p1 > 0); 314 $total+=4 if ($p2 > 0); 315 $total+=4 if ($p3 > 0); 316 &add("esp",$total);
|
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/ |
v3_utl.c | 1107 /* Total number of bytes in tmp */ 1108 int total; member in struct:__anon16286 1119 v6stat.total = 0; 1134 if (v6stat.total != 16) 1140 if (v6stat.total == 16) 1148 if (v6stat.total > 0) 1155 && (v6stat.zero_pos != v6stat.total)) 1162 || (v6stat.zero_pos == v6stat.total)) 1174 memset(v6 + v6stat.zero_pos, 0, 16 - v6stat.total); 1176 if (v6stat.total != v6stat.zero_pos [all...] |