/external/okhttp/src/main/java/com/squareup/okhttp/ |
ConnectionPool.java | 139 /** Returns total number of connections in the pool. */ 144 /** Returns total number of spdy connections in the pool. */ 146 int total = 0; local 148 if (connection.isSpdy()) total++; 150 return total; 153 /** Returns total number of http connections in the pool. */ 155 int total = 0; local 157 if (!connection.isSpdy()) total++; 159 return total;
|
/external/v8/src/ |
v8utils.cc | 192 int total = 0; local 193 while (total < size) { 194 int write = static_cast<int>(fwrite(str, 1, size - total, f)); 196 return total; 198 total += write; 201 return total;
|
/external/valgrind/main/massif/tests/ |
custom_alloc.post.exp | 36 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 46 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 58 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
realloc.post.exp | 36 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 48 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 63 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
zero1.post.exp | 36 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 52 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 68 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
zero2.post.exp | 36 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 52 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 68 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B)
|
ignoring.post.exp | 36 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 44 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 54 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 67 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 95 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 110 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 125 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 140 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 155 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B) 171 n time(B) total(B) useful-heap(B) extra-heap(B) stacks(B [all...] |
/packages/apps/Gallery2/jni/filters/ |
geometry.c | 25 int total = length * width; local 28 int temp = total - width; 29 for (i = 0; i < total; i += width) { 39 int total = length * width; local 43 for (i = 0; i < total; i+= width) { 77 int total = length * width; local
|
/external/elfutils/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 454 GElf_Off total = 0; local 468 total += shdr->sh_size; 473 printf ("%-*s %*" PRIx64 "\n\n\n", maxlen, sgettext ("sysv|Total"), 474 digits - 2, total); 476 printf ("%-*s %*" PRId64 "\n\n\n", maxlen, sgettext ("sysv|Total"), 503 GElf_Off total = 0; local 620 GElf_Off total = 0; local [all...] |
/external/libvpx/libwebm/ |
mkvparser.cpp | 35 // long long total, available;
36 // status = pReader->Length(&total, &available);
38 // assert((total < 0) || (available <= total));
106 long long total, available;
local 108 int status = pReader->Length(&total, &available);
110 assert((total < 0) || (available <= total));
372 long long total, available;
local 374 const long status = pReader->Length(&total, &available); 418 long long total, available; local 497 long long total, available; local 737 long long total, available; local 862 long long total, available; local 1063 long long total, avail; local 2062 long long total, avail; local 3214 long long total, avail; local 3496 long long total, avail; local 3611 long long total, avail; 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:__anon2360 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...] |
/frameworks/base/libs/hwui/ |
Caches.cpp | 217 log.appendFormat("Current memory usage / total memory usage (bytes):\n"); 240 uint32_t total = 0; local 241 total += textureCache.getSize(); 242 total += layerCache.getSize(); 243 total += renderBufferCache.getSize(); 244 total += gradientCache.getSize(); 245 total += pathCache.getSize(); 246 total += dropShadowCache.getSize(); 248 total += fontRenderer->getFontRendererSize(i); 251 log.appendFormat("Total memory usage:\n") [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
Config.cpp | 193 // Sorting rule #3: by larger total number of color bits, not considering 213 EGLint total = 0; local 215 if (mWantRed) total += config.mRedSize; 216 if (mWantGreen) total += config.mGreenSize; 217 if (mWantBlue) total += config.mBlueSize; 218 if (mWantAlpha) total += config.mAlphaSize; 219 if (mWantLuminance) total += config.mLuminanceSize; 221 return total; 243 // By larger total number of color bits, only considering those that are requested to be > 0. 267 // but the same total [all...] |
/external/icu4c/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); 882 uint32_t inbytes=0, total=0 local 988 uint32_t inchars=0, total=0; local [all...] |
/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/srec/tools/cmd/ |
srecres2utd.pl | 127 $results{total} ||= 1; 128 $rr = $results{correct}/$results{total} * 100; 130 print sprintf("%-45s RR %4.1f %d/%d (%d oovs)\n", $base, $rr, $results{correct}, $results{total}, $results{numoovs}); 156 $results->{total}++; 160 $results->{total}++;
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ResourceTimingView.js | 117 var total = (resource.endTime - resource.timing.requestTime) * 1000; 118 var scale = chartWidth / total; 138 bar.style.right = scale * (total - rows[i].end) + "px"; 145 if (total - rows[i].end < rows[i].start) 146 title.style.right = (scale * (total - rows[i].end) + 3) + "px";
|
/external/webkit/Source/WebKit/chromium/src/ |
ApplicationCacheHost.cpp | 209 void ApplicationCacheHost::notifyDOMApplicationCache(EventID id, int total, int done) 218 m_deferredEvents.append(DeferredEvent(id, total, done)); 221 dispatchDOMEvent(id, total, done); 266 void ApplicationCacheHost::dispatchDOMEvent(EventID id, int total, int done) 273 event = ProgressEvent::create(eventType, true, done, total);
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
LocalPhotoSource.java | 107 private int[] getExponentialIndice(int total, int count) { 109 if (count > total) count = total; 112 int row = (int)(-Math.log(random.nextDouble()) * total / 2); 113 if (row < total) selected.add(row);
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
ProviderPerfActivity.java | 345 int total = 0; local 351 total++; 356 (float) (total != 0 ? total : 1) / 358 Log.v(TAG, "dummy loop: fails=" + failures + "; total=" + total + "; goodavg ms=" + averageMillis); 367 int total = 0; local 374 total++; 381 (float) (total != 0 ? total : 1) 390 int total = 0; local 593 int total = 0; local [all...] |
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/ |
TestCase.java | 156 int total = 0; local 159 total++; 162 return total;
|
/external/eigen/bench/ |
bench_gemm.cpp | 202 std::cout << "blas cpu " << tblas.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/tblas.best(CPU_TIMER))*1e-9 << " GFLOPS \t(" << tblas.total(CPU_TIMER) << "s)\n"; 203 std::cout << "blas real " << tblas.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/tblas.best(REAL_TIMER))*1e-9 << " GFLOPS \t(" << tblas.total(REAL_TIMER) << "s)\n"; 209 std::cout << "eigen cpu " << tmt.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/tmt.best(CPU_TIMER))*1e-9 << " GFLOPS \t(" << tmt.total(CPU_TIMER) << "s)\n"; 210 std::cout << "eigen real " << tmt.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/tmt.best(REAL_TIMER))*1e-9 << " GFLOPS \t(" << tmt.total(REAL_TIMER) << "s)\n"; 220 std::cout << "eigen mono cpu " << tmono.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/tmono.best(CPU_TIMER))*1e-9 << " GFLOPS \t(" << tmono.total(CPU_TIMER) << "s)\n"; 221 std::cout << "eigen mono real " << tmono.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/tmono.best(REAL_TIMER))*1e-9 << " GFLOPS \t(" << tmono.total(REAL_TIMER) << "s)\n"; 238 std::cout << "\"matlab\" cpu " << t.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t.best(CPU_TIMER))*1e-9 << " GFLOPS \t(" << t.total(CPU_TIMER) << "s)\n"; 239 std::cout << "\"matlab\" real " << t.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t.best(REAL_TIMER))*1e-9 << " GFLOPS \t(" << t.total(REAL_TIMER) << "s)\n"; 251 std::cout << "\"matlab\" cpu " << t.best(CPU_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t.best(CPU_TIMER))*1e-9 << " GFLOPS \t(" << t.total(CPU_TIMER) << "s)\n"; 252 std::cout << "\"matlab\" real " << t.best(REAL_TIMER)/rep << "s \t" << (double(m)*n*p*rep*2/t.best(REAL_TIMER))*1e-9 << " GFLOPS \t(" << t.total(REAL_TIMER) << "s)\n" [all...] |
/external/guava/guava/src/com/google/common/io/ |
ByteStreams.java | 191 long total = 0; 198 total += r; 200 return total; 215 long total = 0; 219 total += to.write(buf); 223 return total; 804 int total = 0; 805 while (total < len) { 806 int result = in.read(b, off + total, len - total); [all...] |
/external/libselinux/src/ |
context.c | 125 size_t total = 0; local 129 total += strlen(n->component[i]) + 1; 132 n->current_str = malloc(total);
|