Searched defs:total (Results 1 - 25 of 467) 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.cpp41 WebDOMProgressEvent::WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total) argument
42 : WebDOMEvent(ProgressEvent::create(type, lengthIsComputable, loaded, total))
H A DWebDOMResourceProgressEvent.cpp41 WebDOMResourceProgressEvent::WebDOMResourceProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total, const WebString& url) argument
44 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/chromium/cpp/test/util/
H A Dmd5_unittest.cc127 int total = 0; local
128 while (total < length) {
130 if (len > length - total)
131 len = length - total;
134 std::string(reinterpret_cast<char*>(data.get() + total), len));
135 total += len;
138 EXPECT_EQ(length, total);
/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/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.java62 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_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)
50 , m_total(initializer.total)
55 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument
59 , m_total(total)
H A DProgressEvent.h38 unsigned long long total; member in struct:WebCore::ProgressEventInit
47 static PassRefPtrWillBeRawPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument
49 return adoptRefWillBeNoop(new ProgressEvent(type, lengthComputable, loaded, total));
58 unsigned long long total() const { return m_total; } function in class:WebCore::ProgressEvent
66 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total);
H A DResourceProgressEvent.cpp37 ResourceProgressEvent::ResourceProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url) argument
38 : ProgressEvent(type, lengthComputable, loaded, total)
H A DResourceProgressEvent.h51 static PassRefPtrWillBeRawPtr<ResourceProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url) argument
53 return adoptRefWillBeNoop(new ResourceProgressEvent(type, lengthComputable, loaded, total, url));
64 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.h40 static PassRefPtrWillBeRawPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0)
42 return adoptRefWillBeNoop(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total));
47 unsigned long long totalSize() const { return total(); }
59 XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) argument
60 : ProgressEvent(type, lengthComputable, loaded, total)
H A DXMLHttpRequestUpload.cpp61 void XMLHttpRequestUpload::dispatchEventAndLoadEnd(const AtomicString& type, bool lengthComputable, unsigned long long bytesSent, unsigned long long total) argument
64 dispatchEvent(XMLHttpRequestProgressEvent::create(type, lengthComputable, bytesSent, total));
65 dispatchEvent(XMLHttpRequestProgressEvent::create(EventTypeNames::loadend, lengthComputable, bytesSent, total));
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DSpinLockTest.cpp59 int total = 0; local
61 total += buffer[i];
63 EXPECT_EQ(0, total);

Completed in 652 milliseconds

1234567891011>>