/external/chromium_org/third_party/lcov/example/methods/ |
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/mesa/src/src/glsl/tests/ |
optimization-test | 3 total=0 10 total=$((total+1)) 21 echo "$pass/$total tests returned correct results" 24 if [[ $pass == $total ]]; then
|
/external/mesa3d/src/glsl/tests/ |
optimization-test | 3 total=0 10 total=$((total+1)) 21 echo "$pass/$total tests returned correct results" 24 if [[ $pass == $total ]]; then
|
/system/core/liblog/ |
uio.c | 24 int total = 0; local 33 if (total == 0) 34 total = -1; 40 total += ret; 46 return total; 51 int total = 0; local 60 if (total == 0) 61 total = -1; 67 total += ret; 73 return total; [all...] |
/external/chromium_org/net/url_request/ |
url_fetcher_delegate.cc | 10 const URLFetcher* source, int64 current, int64 total) {} 13 const URLFetcher* source, int64 current, int64 total) {}
|
url_fetcher_delegate.h | 26 // denotes the number of bytes received up to the call, and |total| is the 27 // expected total size of the response (or -1 if not determined). 29 int64 current, int64 total); 32 // |current| denotes the number of bytes sent so far, and |total| is the 33 // total size of uploading data (or -1 if chunked upload is enabled). 35 int64 current, int64 total);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebDOMProgressEvent.cpp | 39 WebDOMProgressEvent::WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total) 40 : WebDOMEvent(ProgressEvent::create(type, lengthIsComputable, loaded, total))
|
WebDOMResourceProgressEvent.cpp | 39 WebDOMResourceProgressEvent::WebDOMResourceProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total, const WebString& url) 42 assign(ResourceProgressEvent::create(type, lengthIsComputable, loaded, total, url));
|
/external/oauth/core/src/main/java/net/oauth/client/ |
ExcerptInputStream.java | 22 int total = 0; local 24 while ((read = read(excerpt, total, LIMIT - total)) != -1 && ((total += read) < LIMIT)); 25 if (total == LIMIT) { 27 System.arraycopy(ELLIPSIS, 0, excerpt, total, ELLIPSIS.length); 29 byte[] tmp = new byte[total]; 30 System.arraycopy(excerpt, 0, tmp, 0, total);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/ |
progress.c | 5 u64 total __maybe_unused, 17 void ui_progress__update(u64 curr, u64 total, const char *title) 19 return progress_fns->update(curr, total, title);
|
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
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) 58 : ProgressEvent(type, lengthComputable, loaded, total) { }
|
/external/chromium_org/tools/memory_inspector/memory_inspector/classification/ |
results_unittest.py | 33 self.assertEqual(result.total.name, 'Total') 34 self.assertEqual(len(result.total.children), 3) 35 self.assertEqual(result.total.children[0].name, 'a*') 36 self.assertEqual(result.total.children[1].name, 'b*') 37 self.assertEqual(result.total.children[2].name, 'Total-other') 38 self.assertEqual(result.total.children[0].children[0].name, 'az*') 39 self.assertEqual(result.total.children[0].children[1].name, 'a*-other') 49 self.assertEqual(result.total.values, [49, 56] [all...] |
/libcore/support/src/test/java/tests/support/ |
ThrowingReader.java | 30 private int total = 0; field in class:ThrowingReader 41 total++; 49 if (total < throwAt) { 50 count = Math.min(count, (throwAt - total)); 54 total += returned; 59 if (total == throwAt) {
|
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/ |
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/WebKit/Source/core/events/ |
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) 57 , m_total(total)
|
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) 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);
|
ResourceProgressEvent.h | 52 static PassRefPtrWillBeRawPtr<ResourceProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total, const String& url) 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/public/web/ |
WebDOMProgressEvent.h | 43 BLINK_EXPORT WebDOMProgressEvent(const WebString& type, bool lengthIsComputable, unsigned long long loaded, unsigned long long total);
|
/external/stlport/test/unit/ |
times_test.cpp | 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local 33 CPPUNIT_ASSERT(total==70);
|
/ndk/tests/device/test-gnustl-full/unit/ |
times_test.cpp | 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local 33 CPPUNIT_ASSERT(total==70);
|
/ndk/tests/device/test-stlport/unit/ |
times_test.cpp | 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local 33 CPPUNIT_ASSERT(total==70);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
SeparatedFolderListAdapter.java | 58 // total together all sections, plus one for each section header 59 int total = 0; local 61 total += adapter.getCount(); 63 return total; 68 // assume that headers count as one, then total all sections 69 int total = 0; local 71 total += adapter.getViewTypeCount(); 72 return total == 0 ? 1 : total;
|
/external/chromium_org/third_party/skia/src/views/animated/ |
SkScrollBarView.cpp | 53 void SkScrollBarView::setTotal(unsigned total) 55 if ((int)total < 0) 56 total = 0; 58 if (fTotalLength != total) 60 fTotalLength = total; 70 if (dom.findS32(node, "total", &value)) 122 int total = fTotalLength; local 127 if (total <= 0 || shown <= 0 || shown >= total) // no bar to show 129 total = 1; // avoid divide-by-zero. should be done by skin/scrip [all...] |
/external/compiler-rt/test/asan/TestCases/ |
mmap_limit_mb.cc | 26 for (long total = total_mb << 20; total > 0; total -= allocation_size)
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/tui/ |
progress.c | 7 static void tui_progress__update(u64 curr, u64 total, const char *title) 17 if (total == 0) 28 bar = ((SLtt_Screen_Cols - 2) * curr) / total;
|