/external/compiler-rt/test/asan/TestCases/ |
coverage-caller-callee-total-count.cc | 27 uintptr_t total = __sanitizer_get_total_unique_caller_callee_pairs(); local 29 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); 31 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); 33 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); 37 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total); 39 total = CheckNewTotalUniqueCoverageIsLargerAndReturnIt(total) [all...] |
mmap_limit_mb.cc | 28 for (long total = total_mb << 20; total > 0; total -= allocation_size)
|
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
ttl.py | 35 total = long(text) 39 total = 0L 48 total += current * 604800L 50 total += current * 86400L 52 total += current * 3600L 54 total += current * 60L 56 total += current 62 if total < 0L or total > 2147483647L: 64 return total [all...] |
/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 | 27 int total = 0; local 36 if (total == 0) 37 total = -1; 43 total += ret; 49 return total; 54 int total = 0; local 63 if (total == 0) 64 total = -1; 70 total += ret; 76 return total; [all...] |
/external/guava/guava-tests/benchmark/com/google/common/base/ |
StopwatchBenchmark.java | 33 long total = 0; local 37 total += s.elapsed(TimeUnit.NANOSECONDS); 39 return total; 43 long total = 0; local 47 total += (System.nanoTime() - start); 49 return total;
|
/external/squashfs-tools/squashfs-tools/ |
read_file.c | 59 int total = 0; local 64 if(total + (MAX_LINE + 1) > size) { 70 err = fgets(line + total, MAX_LINE + 1, fd); 74 len = strlen(line + total); 75 total += len; 77 if(len == MAX_LINE && line[total - 1] != '\n') { 89 if(len && line[total - 1] == '\n') { 90 line[-- total] = '\0'; 100 if(len == 0 || line[total - 1] != '\\' || (len >= 2 && 101 strcmp(line + total - 2, "\\\\") == 0) [all...] |
/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);
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
StorageDeviceInfo.java | 36 int total = 0; local 37 total = Math.max(total, getContext().getExternalCacheDirs().length); 38 total = Math.max(total, getContext().getExternalFilesDirs(null).length); 39 total = Math.max( 40 total, getContext().getExternalFilesDirs(Environment.DIRECTORY_PICTURES).length); 41 total = Math.max(total, getContext().getObbDirs().length); 46 if (total == 1) [all...] |
/toolchain/binutils/binutils-2.25/gold/testsuite/ |
incr_comdat_test_2_v1.cc | 34 static int total = 0; local 35 total += k; 36 return total;
|
incr_comdat_test_2_v2.cc | 34 static int total = 0; local 35 total += k; 36 return total;
|
incr_comdat_test_2_v3.cc | 34 static int total = 0; local 35 total += k; 36 return total;
|
/bionic/libc/stdio/ |
fread.c | 57 size_t total = desired_total; local 62 if (total == 0) { 82 while (total > 0) { 86 size_t buffered_bytes = MIN((size_t) fp->_r, total); 91 total -= buffered_bytes; 96 if (total == 0) { 104 if (total > (size_t) fp->_bf._size) { 126 while (total > 0) { 127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); 133 total -= bytes_read [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
NanoTimeGranularityTester.java | 36 long total = 0L; local 47 total += second - first; 48 total += third - second; 49 total += fourth - third; 50 total += fifth - fourth; 51 total += sixth - fifth; 52 total += seventh - sixth; 53 total += eighth - seventh; 54 total += ninth - eighth; 56 return ShortDuration.of(LongMath.divide(total, TRIALS * 8, CEILING), NANOSECONDS) [all...] |
/libcore/ojluni/src/main/java/java/util/zip/ |
CheckedInputStream.java | 97 long total = 0; local 98 while (total < n) { 99 long len = n - total; 102 return total; 104 total += len; 106 return 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) {
|
/bionic/libc/bionic/ |
__fread_chk.cpp | 36 size_t total; local 37 if (__predict_false(__size_mul_overflow(size, count, &total))) { 42 if (__predict_false(total > buf_size)) {
|
__fwrite_chk.cpp | 36 size_t total; local 37 if (__predict_false(__size_mul_overflow(size, count, &total))) { 42 if (__predict_false(total > buf_size)) {
|
/external/iproute2/examples/bpf/ |
bpf_shared.h | 18 long total; member in struct:count_queue
|
/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);
|
/external/tlsdate/ |
run-tests | 26 total=0 44 total=$((total + 1)) 46 echo "Passed: $passed/$total" 47 [ $passed != $total ]
|
/external/opencv3/modules/viz/src/vtk/ |
vtkCloudMatSource.cpp | 76 int total = _cloud.depth() == CV_32F ? filterNanCopy<float>(cloud) : filterNanCopy<double>(cloud); local 79 vertices->Allocate(vertices->EstimateSize(1, total)); 80 vertices->InsertNextCell(total); 81 for(int i = 0; i < total; ++i) 84 return total; 89 int total = SetCloud(_cloud); local 92 return total; 101 filterNanColorsCopy<float>(colors, cloud, total); 103 filterNanColorsCopy<double>(colors, cloud, total); 105 return total; 110 int total = SetColorCloud(_cloud, _colors); local 138 int total = SetColorCloudNormals(_cloud, _colors, _normals); local 192 int total = 0; local [all...] |
/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;
|
/art/test/478-checker-inliner-nested-loop/src/ |
Main.java | 44 int total = 0; local 47 total += Inline(x, y); 50 return total;
|