/art/test/661-checker-simd-reduc/src/ |
D | Main.java | 32 byte sum = 0; in reductionByte() 34 sum += x[i]; in reductionByte() 36 return sum; in reductionByte() 40 short sum = 0; in reductionShort() local 42 sum += x[i]; in reductionShort() 44 return sum; in reductionShort() 48 char sum = 0; in reductionChar() local 50 sum += x[i]; in reductionChar() 52 return sum; in reductionChar() 81 int sum = 0; in reductionInt() local [all …]
|
/art/benchmark/stringbuilder-append/src/ |
D | StringBuilderAppendBenchmark.java | 27 int sum = 0; in timeAppendStrings() local 30 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStrings() 32 if (sum != count * (s1.length() + s2.length())) { in timeAppendStrings() 40 int sum = 0; in timeAppendLongStrings() local 43 sum += result.length(); // Make sure the append is not optimized away. in timeAppendLongStrings() 45 if (sum != count * (s1.length() + s2.length())) { in timeAppendLongStrings() 53 int sum = 0; in timeAppendStringAndInt() local 56 sum += result.length(); // Make sure the append is not optimized away. in timeAppendStringAndInt() 58 if (sum != count * (s1.length() + Integer.toString(i1).length())) { in timeAppendStringAndInt()
|
/art/benchmark/type-check/src/ |
D | TypeCheckBenchmark.java | 54 int sum = 0; in timeInstanceOfLevel1ToLevel1() local 58 ++sum; in timeInstanceOfLevel1ToLevel1() 61 result = sum; in timeInstanceOfLevel1ToLevel1() 65 int sum = 0; in timeInstanceOfLevel2ToLevel1() local 69 ++sum; in timeInstanceOfLevel2ToLevel1() 72 result = sum; in timeInstanceOfLevel2ToLevel1() 76 int sum = 0; in timeInstanceOfLevel3ToLevel1() local 80 ++sum; in timeInstanceOfLevel3ToLevel1() 83 result = sum; in timeInstanceOfLevel3ToLevel1() 87 int sum = 0; in timeInstanceOfLevel9ToLevel1() local [all …]
|
/art/test/StaticLeafMethods/ |
D | StaticLeafMethods.java | 26 static int sum(int a, int b) { in sum() method in StaticLeafMethods 29 static int sum(int a, int b, int c) { in sum() method in StaticLeafMethods 32 static int sum(int a, int b, int c, int d) { in sum() method in StaticLeafMethods 35 static int sum(int a, int b, int c, int d, int e) { in sum() method in StaticLeafMethods 41 static double sum(double a, double b) { in sum() method in StaticLeafMethods 44 static double sum(double a, double b, double c) { in sum() method in StaticLeafMethods 47 static double sum(double a, double b, double c, double d) { in sum() method in StaticLeafMethods 50 static double sum(double a, double b, double c, double d, double e) { in sum() method in StaticLeafMethods
|
/art/test/NonStaticLeafMethods/ |
D | NonStaticLeafMethods.java | 28 int sum(int a, int b) { in sum() method in NonStaticLeafMethods 31 int sum(int a, int b, int c) { in sum() method in NonStaticLeafMethods 34 int sum(int a, int b, int c, int d) { in sum() method in NonStaticLeafMethods 37 int sum(int a, int b, int c, int d, int e) { in sum() method in NonStaticLeafMethods 43 double sum(double a, double b) { in sum() method in NonStaticLeafMethods 46 double sum(double a, double b, double c) { in sum() method in NonStaticLeafMethods 49 double sum(double a, double b, double c, double d) { in sum() method in NonStaticLeafMethods 52 double sum(double a, double b, double c, double d, double e) { in sum() method in NonStaticLeafMethods
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestFloatDouble.java | 30 float sum = 0; in testDotProdSimpleFloat() local 32 sum += a[i] * b[i]; in testDotProdSimpleFloat() 34 return sum; in testDotProdSimpleFloat() 42 double sum = 0; in testDotProdSimpleDouble() local 44 sum += a[i] * b[i]; in testDotProdSimpleDouble() 46 return sum; in testDotProdSimpleDouble()
|
/art/test/083-compiler-regressions/src/ |
D | Main.java | 176 long sum = foo.wideGetBar0(); in wideGetterSetterTest() local 177 sum += foo.wideGetBar1(1); in wideGetterSetterTest() 178 foo.wideSetBar1(sum); in wideGetterSetterTest() 179 sum += foo.wideGetBar2(1,2); in wideGetterSetterTest() 180 foo.wideSetBar2(0,sum); in wideGetterSetterTest() 181 sum += foo.wideGetBar3(1,2,3); in wideGetterSetterTest() 182 foo.wideSetBar3(0,0,sum); in wideGetterSetterTest() 183 sum += foo.wideGetBar4(1,2,3,4); in wideGetterSetterTest() 184 foo.wideSetBar4(0,0,0,sum); in wideGetterSetterTest() 185 sum += foo.wideGetBar5(1,2,3,4,5); in wideGetterSetterTest() [all …]
|
/art/test/2030-long-running-child/src/ |
D | Main.java | 37 int sum = 0; in run() local 40 sum += a[j][16] /* = 0 */ + a[j][17] /* = 1 */; in run() 42 if (sum != 10) { in run() 43 System.out.println("Bad result! Was " + sum); in run()
|
/art/test/616-cha/src/ |
D | Main.java | 145 long sum = 0; in testNoOverrideLoop() local 147 sum += calcValue(sArray[0]); in testNoOverrideLoop() 148 sum += calcValue(sArray[1]); in testNoOverrideLoop() 149 sum += calcValue(sArray[2]); in testNoOverrideLoop() 151 return sum; in testNoOverrideLoop() 159 long sum = 0; in testNoOverride() local 168 sum = testNoOverrideLoop(100000); in testNoOverride() 170 if (sum != 27300000L) { in testNoOverride()
|
/art/test/081-hot-exceptions/src/ |
D | Main.java | 28 int sum = 0; in main() local 34 sum += arrayObj2.getArrayElement(i); in main() 39 System.out.println("sum = " + sum); in main()
|
/art/test/090-loop-formation/src/ |
D | Main.java | 62 int sum = 0; in deeplyNested() local 71 sum++; in deeplyNested() 80 System.out.println(sum); in deeplyNested()
|
/art/libartbase/base/ |
D | stats.h | 40 double sum = 0.0; in SumChildrenValues() local 42 sum += it.second.Value(); in SumChildrenValues() 44 return sum; in SumChildrenValues()
|
D | scoped_arena_allocator.cc | 111 size_t sum = 0; in ApproximatePeakBytes() local 113 sum += arena->bytes_allocated_; in ApproximatePeakBytes() 115 return sum; in ApproximatePeakBytes() 183 size_t sum = 0; in ApproximatePeakBytes() local 186 sum += static_cast<size_t>(arena_stack_->top_ptr_ - arena->Begin()); in ApproximatePeakBytes() 189 sum += arena->bytes_allocated_; in ApproximatePeakBytes() 192 return sum - subtract; in ApproximatePeakBytes()
|
/art/test/527-checker-array-access-simd/src/ |
D | Main.java | 204 int sum = 0; in calcArraySum() local 206 sum += a[i] + b[i] + (int) c[i]; in calcArraySum() 208 return sum; in calcArraySum()
|
/art/test/550-checker-multiply-accumulate/src/ |
D | Main.java | 505 int sum = 0; in calcArraySum() local 507 sum += array[i]; in calcArraySum() 509 return sum; in calcArraySum() 513 long sum = 0; in calcArraySumLong() local 515 sum += array[i]; in calcArraySumLong() 517 return sum; in calcArraySumLong()
|
/art/test/455-checker-gvn/src/ |
D | Main.java | 121 int sum = 0; in $noinline$deoptimizeArray() local 123 sum += arr[i]; in $noinline$deoptimizeArray() 125 return sum; in $noinline$deoptimizeArray()
|
/art/test/449-checker-bce/src/ |
D | Main.java | 1209 int sum; field in Main 1247 sum += array[i]; in foo1() 1287 sum += array[i]; in foo2() 1327 sum += array[i]; in foo3() 1368 sum += array[i - 1]; in foo4() 1419 sum += array[i - 1]; in foo5() 1420 sum += array[i]; in foo5() 1421 sum += array[i + 1]; in foo5() 1511 sum += array[i + 1000]; in foo7() 1513 sum += array[i]; in foo7() [all …]
|
/art/test/536-checker-intrinsic-optimization/src/ |
D | Main.java | 259 int sum = 0; in $opt$noinline$stringSumChars() local 262 sum += s.charAt(i); in $opt$noinline$stringSumChars() 264 return sum; in $opt$noinline$stringSumChars() 282 int sum = 0; in $opt$noinline$stringSumLeadingChars() local 284 sum += s.charAt(i); in $opt$noinline$stringSumLeadingChars() 286 return sum; in $opt$noinline$stringSumLeadingChars() 313 int sum = s.charAt(0) + s.charAt(1) + s.charAt(2) + s.charAt(3); in $opt$noinline$stringSum4LeadingChars() local 314 return sum; in $opt$noinline$stringSum4LeadingChars()
|
/art/test/530-checker-lse/src/ |
D | Main.java | 342 int sum = 0; in test11() local 344 sum += obj.i; in test11() 346 return sum; in test11() 362 int sum = 0; in test12() local 364 sum += obj1.i; in test12() 365 obj2.i = sum; in test12() 367 return sum; in test12() 559 int sum = 0; in test22() local 565 sum += obj2.i; in test22() 569 sum += obj1.i + obj3.i; in test22() [all …]
|
/art/test/655-checker-simd-arm-opt/src/ |
D | Main.java | 84 int sum = 0; in sumArray() local 86 sum += b[i] + s[i] + c[i] + a[i] + l[i] + f[i] + d[i]; in sumArray() 88 return sum; in sumArray()
|
/art/test/445-checker-licm/src/ |
D | Main.java | 129 int sum = 0; in clinitCheck() local 131 sum += ValueHolder.getValue(); in clinitCheck() 134 return sum; in clinitCheck()
|
/art/test/708-jit-cache-churn/src/ |
D | JitCacheChurnTest.java | 124 int sum = 0; in $noinline$Call() local 126 sum = i * (i + 1); in $noinline$Call() 128 return sum; in $noinline$Call() 135 int sum = 0; in $noinline$Call() local 143 sum += bits; in $noinline$Call() 145 return sum; in $noinline$Call()
|
/art/test/618-checker-induction/src/ |
D | Main.java | 463 int sum = 0; in getSum21() local 466 sum += k; in getSum21() 468 return sum; in getSum21() 477 int sum = 0; in getIncr2() local 479 sum += arr[i]; in getIncr2() 481 return sum; in getIncr2() 523 int sum = 0; in getSumN() local 526 sum += k; in getSumN() 528 return sum; in getSumN()
|
/art/test/706-checker-scheduler/src/ |
D | Main.java | 621 int sum = data[0]; in testCrossItersDependencies() local 623 sub -= sum; in testCrossItersDependencies() 624 sum += data[i]; in testCrossItersDependencies() 627 expectEquals(sum, 6); in testCrossItersDependencies()
|
/art/test/081-hot-exceptions/ |
D | expected.txt | 1 sum = 0
|