/external/stlport/test/unit/ |
H A D | times_test.cpp | 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local 33 CPPUNIT_ASSERT(total==70);
|
H A D | plusminus_test.cpp | 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local 38 CPPUNIT_ASSERT(total==77);
|
/external/sqlite/android/ |
H A D | PhoneNumberUtilsTest.cpp | 34 #define EXPECT(function, input1, input2, expected, total, error) \ 38 (total)++; \ 53 (total), (error)) 58 (total), (error)) 64 (total)++; \ 77 int total = 0; local 189 printf("total: %d, error: %d\n\n", total, error);
|
/external/webkit/PerformanceTests/SunSpider/resources/ |
H A D | sunspider-analyze-results.js | 31 var total = 0; variable 49 itemTotals = {total: []}; 75 itemTotals["total"][i] = 0; 92 itemTotals["total"][i] += time; 106 total += time; 115 mean = total / count; 137 stdDev = standardDeviation(mean, itemTotals["total"]);
|
H A D | sunspider-compare-results.js | 71 itemTotals1 = {total: []}; 97 itemTotals1["total"][i] = 0; 106 itemTotals2 = {total: []}; 132 itemTotals2["total"][i] = 0; 150 itemTotals["total"][i] += time; 159 var total = 0; 166 total += time; 172 return total; 175 function computeMeans(count, total, categoryTotals, categoryMeans, testTotalsByCategory, testMeansByCategory) 177 var mean = total / coun [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | ContentLengthOutputStream.java | 62 private long total = 0; field in class:ContentLengthOutputStream 108 if (this.total < this.contentLength) { 109 long max = this.contentLength - this.total; 114 this.total += len; 126 if (this.total < this.contentLength) { 128 this.total++;
|
/external/chromium/chrome/browser/download/ |
H A D | download_item_model.cc | 32 int64 total = download_->total_bytes(); local 34 DataUnits amount_units = GetByteDisplayUnits(total); 37 // In RTL locales, we render the text "size/total" in an RTL context. This 40 // we mark the total string as an LTR string if the UI layout is 43 FormatBytes(total, amount_units, true));
|
/external/e2fsprogs/contrib/ |
H A D | make-sparse.c | 25 int got, total = 0; local 33 return total ? total : -1; 37 return total; 42 total += got; 45 return total;
|
/external/elfutils/lib/ |
H A D | md5.h | 49 md5_uint32 total[2]; member in struct:md5_ctx
|
H A D | sha1.h | 50 sha1_uint32 total[2]; member in struct:sha1_ctx
|
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
H A D | TestThroughput.java | 43 private static long total = 0; field in class:TestThroughput 66 total++; 68 //System.out.println( "total:" + total + " counter:" + counter + " lastTime:" + lastTime + " time:" + time ); 75 System.out.println("messages per second:" + pps + " total messages:" + total);
|
/external/linux-tools-perf/util/ui/ |
H A D | progress.c | 10 struct ui_progress *ui_progress__new(const char *title, u64 total) argument 25 self->scale = newtScale(0, 0, cols, total);
|
/external/netperf/ |
H A D | hist.h | 56 int total; member in struct:histogram_struct
|
/external/openssl/crypto/lhash/ |
H A D | lh_stats.c | 117 unsigned long total=0,n_used=0; local 126 total+=num; 130 fprintf(out,"%lu items\n",total); 133 (int)(total/lh->num_nodes), 134 (int)((total%lh->num_nodes)*100/lh->num_nodes), 135 (int)(total/n_used), 136 (int)((total%n_used)*100/n_used)); 226 unsigned long total=0,n_used=0; local 235 total+=num; 239 BIO_printf(out,"%lu items\n",total); [all...] |
/external/skia/bench/ |
H A D | MemoryBench.cpp | 37 size_t total = fMinSize * 64; variable 44 while (size < total) {
|
/external/skia/include/core/ |
H A D | SkChecksum.h | 25 static inline uintptr_t Mash(uintptr_t total, uintptr_t value) { argument 26 return ((total >> ROTR) | (total << ROTL)) ^ value;
|
/external/skia/tests/ |
H A D | AtomicTest.cpp | 35 int32_t total = base; local 38 total += gAdds[i].valueToAdd * gAdds[i].timesToAdd; 52 REPORTER_ASSERT(reporter, total == base);
|
/external/stlport/test/eh/ |
H A D | test_map.cpp | 93 size_t total = 0; local 94 EH_DISTANCE( m.begin(), m.end(), total ); 95 assert( m.size() == total );
|
/external/valgrind/main/drd/tests/ |
H A D | omp_prime.c | 38 int total = 0; local 89 DRD_TRACE_VAR(total); 96 primes[total] = i; 97 total++; 103 n, total); 104 for (i = 0; i < total; i++)
|
/external/webkit/Source/WebCore/dom/ |
H A D | ProgressEvent.cpp | 38 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument 42 , m_total(total)
|
H A D | ProgressEvent.h | 39 static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument 41 return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total)); 49 unsigned long long total() const { return m_total; } function in class:WebCore::ProgressEvent 53 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total);
|
/external/webkit/Source/WebCore/xml/ |
H A D | XMLHttpRequestProgressEvent.h | 40 static PassRefPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0) 42 return adoptRef(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total)); 47 unsigned long long totalSize() const { return total(); } 53 XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument 54 : ProgressEvent(type, lengthComputable, loaded, total)
|
H A D | XMLHttpRequestProgressEventThrottle.cpp | 50 void XMLHttpRequestProgressEventThrottle::dispatchProgressEvent(bool lengthComputable, unsigned long long loaded, unsigned long long total) argument 57 // We should not have any pending loaded & total information from a previous run. 61 dispatchEvent(XMLHttpRequestProgressEvent::create(eventNames().progressEvent, lengthComputable, loaded, total)); 69 m_total = total;
|
/external/skia/gm/ |
H A D | verttext.cpp | 48 SkScalar total = paint.measureText(gText, gLen); local 54 paint.isVerticalText() ? x : x + total, 55 paint.isVerticalText() ? y + total : y,
|
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
H A D | 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...] |