Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 25 of 38) sorted by relevance

12

/art/test/661-checker-simd-reduc/src/
DMain.java32 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/
DTypeCheckBenchmark.java54 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/
DStaticLeafMethods.java26 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/
DNonStaticLeafMethods.java28 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/
DMain.java176 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/
DMain.java145 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/
DMain.java28 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/
DMain.java225 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/
DMain.java62 int sum = 0; in deeplyNested() local
71 sum++; in deeplyNested()
80 System.out.println(sum); in deeplyNested()
/art/test/527-checker-array-access-simd/src/
DMain.java204 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/
DMain.java547 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/449-checker-bce/src/
DMain.java1211 int sum; field in Main
1249 sum += array[i]; in foo1()
1289 sum += array[i]; in foo2()
1329 sum += array[i]; in foo3()
1370 sum += array[i - 1]; in foo4()
1421 sum += array[i - 1]; in foo5()
1422 sum += array[i]; in foo5()
1423 sum += array[i + 1]; in foo5()
1513 sum += array[i + 1000]; in foo7()
1515 sum += array[i]; in foo7()
[all …]
/art/test/530-checker-lse/src/
DMain.java329 int sum = 0; in test11() local
331 sum += obj.i; in test11()
333 return sum; in test11()
349 int sum = 0; in test12() local
351 sum += obj1.i; in test12()
352 obj2.i = sum; in test12()
354 return sum; in test12()
546 int sum = 0; in test22() local
552 sum += obj2.i; in test22()
556 sum += obj1.i + obj3.i; in test22()
[all …]
/art/test/655-checker-simd-arm-opt/src/
DMain.java76 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/
DMain.java129 int sum = 0; in clinitCheck() local
131 sum += Dummy.getValue(); in clinitCheck()
134 return sum; in clinitCheck()
/art/test/708-jit-cache-churn/src/
DJitCacheChurnTest.java124 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/
DMain.java463 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/
Dexpected.txt1 sum = 0
/art/runtime/
Dclass_table.cc106 size_t sum = 0; in NumZygoteClasses() local
108 sum += CountDefiningLoaderClasses(defining_loader, classes_[i]); in NumZygoteClasses()
110 return sum; in NumZygoteClasses()
120 size_t sum = 0; in NumReferencedZygoteClasses() local
122 sum += classes_[i].Size(); in NumReferencedZygoteClasses()
124 return sum; in NumReferencedZygoteClasses()
Dhandle_scope-inl.h217 uint32_t sum = 0; in NumberOfReferences() local
220 sum += cur->NumberOfReferences(); in NumberOfReferences()
223 return sum; in NumberOfReferences()
/art/test/623-checker-loop-regressions/src/
DMain.java468 static int sum(int[][] a) { in sum() method in Main
469 int sum = 0; in sum() local
473 sum += aa[x]; in sum()
476 return sum; in sum()
500 int sum = 0; in doNotMoveSIMD() local
508 sum += a[i]; // expect a[i] = 1; in doNotMoveSIMD()
511 return sum; in doNotMoveSIMD()
747 expectEquals(-2080768, sum(x)); in main()
/art/libartbase/base/
Dbit_string.h154 size_t sum = 0; in GetBitLengthTotalAtPosition() local
156 sum += kBitSizeAtPosition[idx]; in GetBitLengthTotalAtPosition()
161 return sum; in GetBitLengthTotalAtPosition()
/art/tools/amm/models/
DJavaHeap.md3 The value of the Java heap model is the sum of bytes of Java objects allocated
DBitmap.md3 The value of the Bitmap model is the sum of bytes used for native pixel data
/art/test/109-suspend-check/src/
DMain.java157 private int sum = 0; field in InfiniteWhileLoopWithIntrinsic
162 sum += strings[i & 3].length(); in run()

12