/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() 75 int sum = 0; in reductionInt() local [all …]
|
/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/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/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/536-checker-intrinsic-optimization/src/ |
D | Main.java | 225 int sum = 0; in $opt$noinline$stringSumChars() local 228 sum += s.charAt(i); in $opt$noinline$stringSumChars() 230 return sum; in $opt$noinline$stringSumChars() 252 int sum = 0; in $opt$noinline$stringSumLeadingChars() local 254 sum += s.charAt(i); in $opt$noinline$stringSumLeadingChars() 256 return sum; in $opt$noinline$stringSumLeadingChars() 290 int sum = s.charAt(0) + s.charAt(1) + s.charAt(2) + s.charAt(3); in $opt$noinline$stringSum4LeadingChars() local 291 return sum; in $opt$noinline$stringSum4LeadingChars()
|
/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 | bit_string.h | 154 size_t sum = 0; in GetBitLengthTotalAtPosition() local 156 sum += kBitSizeAtPosition[idx]; in GetBitLengthTotalAtPosition() 161 return sum; in GetBitLengthTotalAtPosition()
|
/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/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/550-checker-multiply-accumulate/src/ |
D | Main.java | 547 int sum = 0; in calcArraySum() local 549 sum += array[i]; in calcArraySum() 551 return sum; in calcArraySum() 555 long sum = 0; in calcArraySumLong() local 557 sum += array[i]; in calcArraySumLong() 559 return sum; in calcArraySumLong()
|
/art/test/530-checker-lse/src/ |
D | Main.java | 267 int sum = 0; in test11() local 269 sum += obj.i; in test11() 271 return sum; in test11() 287 int sum = 0; in test12() local 289 sum += obj1.i; in test12() 290 obj2.i = sum; in test12() 292 return sum; in test12() 484 int sum = 0; in test22() local 490 sum += obj2.i; in test22() 494 sum += obj1.i + obj3.i; in test22() [all …]
|
/art/test/655-checker-simd-arm-opt/src/ |
D | Main.java | 76 int sum = 0; in sumArray() local 78 sum += b[i] + s[i] + c[i] + a[i] + l[i] + f[i] + d[i]; in sumArray() 80 return sum; in sumArray()
|
/art/test/445-checker-licm/src/ |
D | Main.java | 129 int sum = 0; in clinitCheck() local 131 sum += Dummy.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/081-hot-exceptions/ |
D | expected.txt | 1 sum = 0
|
/art/runtime/ |
D | class_table.cc | 98 size_t sum = 0; in NumZygoteClasses() local 100 sum += CountDefiningLoaderClasses(defining_loader, classes_[i]); in NumZygoteClasses() 102 return sum; in NumZygoteClasses() 112 size_t sum = 0; in NumReferencedZygoteClasses() local 114 sum += classes_[i].size(); in NumReferencedZygoteClasses() 116 return sum; in NumReferencedZygoteClasses()
|
/art/test/623-checker-loop-regressions/src/ |
D | Main.java | 481 static int sum(int[][] a) { in sum() method in Main 482 int sum = 0; in sum() local 486 sum += aa[x]; in sum() 489 return sum; in sum() 513 int sum = 0; in doNotMoveSIMD() local 521 sum += a[i]; // expect a[i] = 1; in doNotMoveSIMD() 524 return sum; in doNotMoveSIMD() 766 expectEquals(-2080768, sum(x)); in main()
|
/art/test/109-suspend-check/src/ |
D | Main.java | 157 private int sum = 0; field in InfiniteWhileLoopWithIntrinsic 162 sum += strings[i & 3].length(); in run()
|
/art/tools/amm/models/ |
D | JavaHeap.md | 3 The value of the Java heap model is the sum of bytes of Java objects allocated
|
D | Bitmap.md | 3 The value of the Bitmap model is the sum of bytes used for native pixel data
|