/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/chromium_org/third_party/lcov/example/methods/ |
H A D | iterate.c | 8 * get the total sum. As a positive side effect, we're able to easily detect 21 int i, total; local 23 total = 0; 33 if (total + i < total) 41 total += i; 44 return total;
|
/external/chromium_org/third_party/WebKit/Source/web/ |
H A D | WebDOMProgressEvent.cpp | 39 WebDOMProgressEvent::WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total) argument 40 : WebDOMEvent(ProgressEvent::create(type, lengthIsComputable, loaded, total))
|
H A D | WebDOMResourceProgressEvent.cpp | 39 WebDOMResourceProgressEvent::WebDOMResourceProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total, const WebString& url) argument 42 assign(ResourceProgressEvent::create(type, lengthIsComputable, loaded, total, url));
|
/external/chromium_org/net/url_request/ |
H A D | url_fetcher_delegate.cc | 10 const URLFetcher* source, int64 current, int64 total) {} 13 const URLFetcher* source, int64 current, int64 total) {} 9 OnURLFetchDownloadProgress( const URLFetcher* source, int64 current, int64 total) argument 12 OnURLFetchUploadProgress( const URLFetcher* source, int64 current, int64 total) argument
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
H A D | math-cordic.js | 86 var total = 0; variable 92 total += cordicsincos(Target);
|
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/ |
H A D | HTMLVideoElementMediaSource.cpp | 45 unsigned total = 0; local 50 total = webMediaPlayer->decodedFrameCount(); 55 return VideoPlaybackQuality::create(videoElement.document(), total, dropped, corrupted);
|
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/ |
H A D | md5_unittest.cc | 128 int total = 0; local 129 while (total < length) { 131 if (len > length - total) 132 len = length - total; 135 std::string(reinterpret_cast<char*>(data.get() + total), len)); 136 total += len; 139 EXPECT_EQ(length, total);
|
/external/chromium_org/third_party/skia/bench/ |
H A D | MemoryBench.cpp | 36 size_t total = fMinSize * 64; variable 43 while (size < total) {
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/ |
H A D | progress.c | 5 u64 total __maybe_unused, 17 void ui_progress__update(u64 curr, u64 total, const char *title) argument 19 return progress_fns->update(curr, total, title);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/tui/ |
H A D | progress.c | 7 static void tui_progress__update(u64 curr, u64 total, const char *title) argument 17 if (total == 0) 28 bar = ((SLtt_Screen_Cols - 2) * curr) / total;
|
/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/chromium_org/third_party/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"]);
|
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | ContentLengthOutputStream.java | 67 private long total = 0; field in class:ContentLengthOutputStream 113 if (this.total < this.contentLength) { 114 long max = this.contentLength - this.total; 119 this.total += len; 131 if (this.total < this.contentLength) { 133 this.total++;
|
/external/chromium_org/components/gcm_driver/android/java/src/org/chromium/components/gcm_driver/ |
H A D | GCMListener.java | 69 protected void onDeletedMessages(int total) { argument
|
/external/chromium_org/net/quic/test_tools/ |
H A D | reliable_quic_stream_peer.cc | 44 uint32 total = 0; local 48 total += it->data.size(); 51 return total;
|
/external/chromium_org/ppapi/thunk/ |
H A D | ppb_find_private_thunk.cc | 27 int32_t total, 33 enter.functions()->NumberOfFindResultsChanged(instance, total, final_result); 26 NumberOfFindResultsChanged(PP_Instance instance, int32_t total, PP_Bool final_result) argument
|
/external/chromium_org/third_party/WebKit/Source/core/events/ |
H A D | ProgressEvent.cpp | 34 , total(0) 49 , m_total(initializer.total) 53 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument 57 , m_total(total)
|
H A D | ProgressEvent.h | 38 unsigned long long total; member in struct:blink::ProgressEventInit 48 static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument 50 return adoptRefWillBeNoop(new ProgressEvent(type, lengthComputable, loaded, total)); 59 unsigned long long total() const { return m_total; } function in class:blink::ProgressEvent 67 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total);
|
H A D | ResourceProgressEvent.cpp | 36 ResourceProgressEvent::ResourceProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url) argument 37 : ProgressEvent(type, lengthComputable, loaded, total)
|
H A D | ResourceProgressEvent.h | 52 static PassRefPtrWillBeRawPtr<ResourceProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url) argument 54 return adoptRefWillBeNoop(new ResourceProgressEvent(type, lengthComputable, loaded, total, url)); 65 ResourceProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
H A D | XMLHttpRequestProgressEvent.h | 41 static PassRefPtrWillBeRawPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0) 43 return adoptRefWillBeNoop(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total)); 48 unsigned long long totalSize() const { return total(); } 57 XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument 58 : ProgressEvent(type, lengthComputable, loaded, total) { }
|
H A D | XMLHttpRequestUpload.cpp | 60 void XMLHttpRequestUpload::dispatchEventAndLoadEnd(const AtomicString& type, bool lengthComputable, unsigned long long bytesSent, unsigned long long total) argument 63 dispatchEvent(XMLHttpRequestProgressEvent::create(type, lengthComputable, bytesSent, total)); 64 dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::loadend, lengthComputable, bytesSent, total));
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | SpinLockTest.cpp | 58 int total = 0; local 60 total += buffer[i]; 62 EXPECT_EQ(0, total);
|