Searched defs:total (Results 1 - 25 of 470) sorted by relevance

1234567891011>>

/external/stlport/test/unit/
H A Dtimes_test.cpp32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local
33 CPPUNIT_ASSERT(total==70);
H A Dplusminus_test.cpp36 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 Diterate.c8 * 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 DWebDOMProgressEvent.cpp39 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 DWebDOMResourceProgressEvent.cpp39 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 Durl_fetcher_delegate.cc10 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 Dmath-cordic.js86 var total = 0; variable
92 total += cordicsincos(Target);
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
H A DHTMLVideoElementMediaSource.cpp45 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 Dmd5_unittest.cc128 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 DMemoryBench.cpp36 size_t total = fMinSize * 64; variable
43 while (size < total) {
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
H A Dprogress.c5 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 Dprogress.c7 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 DPhoneNumberUtilsTest.cpp34 #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 Dsunspider-analyze-results.js31 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 DContentLengthOutputStream.java67 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 DGCMListener.java69 protected void onDeletedMessages(int total) { argument
/external/chromium_org/net/quic/test_tools/
H A Dreliable_quic_stream_peer.cc44 uint32 total = 0; local
48 total += it->data.size();
51 return total;
/external/chromium_org/ppapi/thunk/
H A Dppb_find_private_thunk.cc27 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 DProgressEvent.cpp34 , 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 DProgressEvent.h38 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 DResourceProgressEvent.cpp36 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 DResourceProgressEvent.h52 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 DXMLHttpRequestProgressEvent.h41 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 DXMLHttpRequestUpload.cpp60 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 DSpinLockTest.cpp58 int total = 0; local
60 total += buffer[i];
62 EXPECT_EQ(0, total);

Completed in 577 milliseconds

1234567891011>>