/system/core/libcutils/ |
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/webkit/Source/WebCore/xml/ |
XMLHttpRequestProgressEvent.h | 40 static PassRefPtr<XMLHttpRequestProgressEvent> create(const AtomicString& type, bool lengthComputable = false, unsigned long long loaded = 0, unsigned long long total = 0) 42 return adoptRef(new XMLHttpRequestProgressEvent(type, lengthComputable, loaded, total)); 47 unsigned long long totalSize() const { return total(); } 53 XMLHttpRequestProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) 54 : ProgressEvent(type, lengthComputable, loaded, total)
|
/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);
|
/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/webkit/Source/WebCore/dom/ |
ProgressEvent.h | 39 static PassRefPtr<ProgressEvent> create(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) 41 return adoptRef(new ProgressEvent(type, lengthComputable, loaded, total)); 49 unsigned long long total() const { return m_total; } function in class:WebCore::ProgressEvent 53 ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total);
|
ProgressEvent.cpp | 38 ProgressEvent::ProgressEvent(const AtomicString& type, bool lengthComputable, unsigned long long loaded, unsigned long long total) 42 , m_total(total)
|
/external/stlport/test/unit/ |
times_test.cpp | 32 int total = accumulate(input, input + 4, 1, multiplies<int>()); local 33 CPPUNIT_ASSERT(total==70);
|
plusminus_test.cpp | 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local 38 CPPUNIT_ASSERT(total==77);
|
/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);
|
plusminus_test.cpp | 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local 38 CPPUNIT_ASSERT(total==77);
|
/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);
|
plusminus_test.cpp | 36 int total = inner_product(input1, input1 + 4, input2, 0, plus<int>(), multiplies <int>()); local 38 CPPUNIT_ASSERT(total==77);
|
/sdk/emulator/qtools/ |
hist_trace.cpp | 23 int total = 0; local 44 total += 1; 53 per = 100.0 * hist[ii] / total; 55 sum_per = 100.0 * sum / total; 58 per = 100.0 * underflow / total; 60 per = 100.0 * overflow / total; 62 printf("total: %6d\n", total);
|
/external/skia/legacy/src/views/ |
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/valgrind/main/exp-bbv/tests/amd64-linux/ |
million.S | 3 # total is 2 + 1 + 499997*2 + 3 7 xor %rcx,%rcx # not needed, pads total to 1M 8 xor %rax,%rax # not needed, pads total to 1M
|
/external/chromium/chrome/browser/ui/cocoa/find_bar/ |
find_bar_text_field_cell.h | 20 - (void)setActiveMatch:(NSInteger)current of:(NSInteger)total;
|
/external/linux-tools-perf/util/ui/ |
progress.h | 6 struct ui_progress *ui_progress__new(const char *title, u64 total);
|
/ndk/tests/device/issue35933-lambda/jni/ |
issue35933-lambda.cpp | 5 static int total = 0; variable 9 total += n; 14 std::cout << message << ": " << total << std::endl; 31 display("total"); 45 return total != -231;
|
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthOutputStream.java | 61 /** Total bytes written */ 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/e2fsprogs/contrib/ |
make-sparse.c | 25 int got, total = 0; local 33 return total ? total : -1; 37 return total; 42 total += got; 45 return total;
|
/external/valgrind/main/drd/tests/ |
omp_prime.c | 38 int total = 0; local 89 DRD_TRACE_VAR(total); 96 primes[total] = i; 97 total++; 103 n, total); 104 for (i = 0; i < total; i++)
|
/external/sqlite/android/ |
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/doclava/src/com/google/doclava/ |
TodoFile.java | 58 public int total; field in class:TodoFile.PackageStats 85 int total = 1; local 95 total++; 109 total++; 124 total++; 138 total++; 153 data.setValue(classBase + ".totalCount", "" + total); 154 data.setValue(classBase + ".percentGood", percent(errors, total)); 165 ps.total += total; [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/mp4/ |
MP4Source.cpp | 71 size_t total = 0; local 72 while (total < size) { 74 (uint8_t *)data + total, size - total, &extra); 82 mPosition += total; 86 total += n; 91 mPosition += total; 93 return total;
|
/frameworks/base/core/java/android/net/ |
TrafficStats.java | 282 long total = 0; local 284 total += getTxPackets(iface); 286 return total; 299 long total = 0; local 301 total += getRxPackets(iface); 303 return total; 316 long total = 0; local 318 total += getTxBytes(iface); 320 return total; 333 long total = 0 local 342 long total = 0; local 354 long total = 0; local [all...] |