/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/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);
|
/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;
|
/bionic/libc/stdio/ |
fread.c | 48 size_t total; local 69 total = resid; 83 return ((total - resid) / size); 96 return ((total - resid) / size);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
contrast.cpp | 34 float total = 0; local 41 total += lumArray[i]; 43 const float avg = total / numPixels;
|
/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/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
math-cordic.js | 86 var total = 0; variable 92 total += cordicsincos(Target);
|
/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/web/tests/ |
SpinLockTest.cpp | 58 int total = 0; local 60 total += buffer[i]; 62 EXPECT_EQ(0, total);
|
/external/chromium_org/third_party/angle/src/libEGL/ |
Config.cpp | 154 // Sorting rule #3: by larger total number of color bits, not considering 174 EGLint total = 0; local 176 if (mWantRed) total += config.mRedSize; 177 if (mWantGreen) total += config.mGreenSize; 178 if (mWantBlue) total += config.mBlueSize; 179 if (mWantAlpha) total += config.mAlphaSize; 180 if (mWantLuminance) total += config.mLuminanceSize; 182 return total; 204 // By larger total number of color bits, only considering those that are requested to be > 0. 228 // but the same total [all...] |
/external/chromium_org/third_party/libaddressinput/src/cpp/test/util/ |
md5_unittest.cc | 128 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/ |
MemoryBench.cpp | 36 size_t total = fMinSize * 64; variable 43 while (size < total) {
|
/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);
|
/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) {
|
/system/core/libdiskconfig/ |
diskutils.c | 42 uint64_t total = 0; local 77 total += nr_bytes; 105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset);
|
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/resources/ |
sunspider-analyze-results.js | 31 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"]); 191 var width = "Total".length; 250 print(resultLine(labelWidth, 0, "Total", meanWidth, mean, stdErr));
|
/bionic/libc/dns/net/ |
getservent.c | 57 int total = 0; local 67 /* first compute the total size */ 69 total += namelen + 1; 74 total += (count+1)*sizeof(char*); 77 total += 1 + len2; 82 p2 = realloc( (char*)rs->servent.s_aliases, total );
|
/device/generic/goldfish/libqemu/ |
test_guest_1.c | 64 size_t total = 0; local 76 total += len; 102 total*1.0 / (1024.*1024.*(time1-time0)), 1.0*total, time1-time0);
|
/external/chromium_org/chrome/common/media_galleries/ |
pmp_test_util.cc | 48 std::vector<char> total; local 50 std::copy(a.begin(), a.end(), std::back_inserter(total)); 51 std::copy(b.begin(), b.end(), std::back_inserter(total)); 53 return total;
|
/external/chromium_org/net/quic/test_tools/ |
reliable_quic_stream_peer.cc | 44 uint32 total = 0; local 48 total += it->data.size(); 51 return total;
|