/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 | 32 #define EXPECT(function, input1, input2, expected, total, error) \ 36 (total)++; \ 51 (total), (error)) 56 (total), (error)) 59 int total = 0; local 155 printf("total: %d, error: %d\n\n", total, error);
|
/external/webkit/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/junit/src/junit/swingui/ |
H A D | ProgressBar.java | 30 public void start(int total) { argument 31 setMaximum(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/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/webkit/WebCore/dom/ |
H A D | ProgressEvent.cpp | 38 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total) argument 42 , m_total(total)
|
H A D | ProgressEvent.h | 39 static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total) argument 41 return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total)); 53 unsigned total() const { return m_total; } function in class:WebCore::ProgressEvent 59 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total);
|
/external/webkit/WebCore/xml/ |
H A D | XMLHttpRequestProgressEvent.h | 40 static PassRefPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned loaded = 0, unsigned total = 0) 42 return adoptRef(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total)); 49 unsigned totalSize() const { return total(); } 53 XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned loaded, unsigned total) argument 54 : ProgressEvent(type, lengthComputable, loaded, total)
|
/external/icu4c/test/perf/usetperf/ |
H A D | usetperf.cpp | 47 int32_t total; member in class:CmdOp 51 total = 0; 56 ++total; 61 return total;
|
/external/junit/src/junit/awtui/ |
H A D | ProgressBar.java | 71 public void start(int total) { argument 72 fTotal= total;
|
/external/skia/src/views/ |
H A D | SkScrollBarView.cpp | 46 void SkScrollBarView::setTotal(unsigned total) argument 48 if ((int)total < 0) 49 total = 0; 51 if (fTotalLength != total) 53 fTotalLength = total; 63 if (dom.findS32(node, "total", &value)) 115 int total = fTotalLength; local 120 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show 122 total [all...] |
/external/webkit/WebKitTools/QtLauncher/ |
H A D | webview.cpp | 75 int total = m_startTime.msecsTo(now); local 77 int average = total ? m_numPaintsTotal * 1000 / total : 0;
|
/external/bluetooth/glib/gio/tests/ |
H A D | unix-streams.c | 80 gssize nread, total; local 88 total = 0; 89 while (total < sizeof (DATA)) 91 nread = g_input_stream_read (in, buf + total, sizeof (buf) - total, 95 total += nread;
|
/external/bluetooth/glib/glib/ |
H A D | gtimer.c | 142 gdouble total; local 152 total = elapsed / 1e9; 157 return total;
|
/external/e2fsprogs/util/ |
H A D | copy_sparse.c | 67 int got, total = 0; local 75 return total ? total : -1; 79 return total; 84 total += got; 87 return total;
|
/external/openssl/crypto/pkcs7/ |
H A D | example.c | 83 int i,total; local 95 total=ASN1_object_size(1,i,V_ASN1_SEQUENCE); 97 data=malloc(total); 104 ASN1_STRING_set(seq,data,total); 247 int i,total; local 259 total=ASN1_object_size(1,i,V_ASN1_SEQUENCE); 261 data=malloc(total); 268 ASN1_STRING_set(seq,data,total);
|
/external/qemu/audio/ |
H A D | noaudio.c | 125 int total = sw->hw->total_samples_captured - sw->total_hw_samples_acquired; local 126 int to_clear = audio_MIN (samples, total);
|
/external/quake/quake/src/QW/client/ |
H A D | pmovetst.c | 352 pmtrace_t trace, total;
local 361 memset (&total, 0, sizeof(pmtrace_t));
362 total.fraction = 1;
363 total.ent = -1;
364 VectorCopy (end, total.endpos);
401 if (trace.fraction < total.fraction)
405 total = trace;
406 total.ent = i;
411 return total;
|
/external/skia/tests/ |
H A D | skia_test.cpp | 54 void setIndexOfTotal(int index, int total) { argument 56 fTotal = total;
|
/external/webkit/WebCore/inspector/front-end/ |
H A D | ProfileView.js | 39 "total": { title: WebInspector.UIString("Total"), width: "72px", sortable: true }, 452 this.percentButton.title = WebInspector.UIString("Show absolute total and self times."); 455 this.percentButton.title = WebInspector.UIString("Show total and self times as percentages."); 518 "total": "totalTime", 534 if (!cell || (!cell.hasStyleClass("total-column") && !cell.hasStyleClass("self-column") && !cell.hasStyleClass("average-column"))) 537 if (cell.hasStyleClass("total-column"))
|