Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 25 of 36) 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/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/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/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/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/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/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/libartbase/base/
Dstats.h40 double sum = 0.0; in SumChildrenValues() local
42 sum += it.second.Value(); in SumChildrenValues()
44 return sum; in SumChildrenValues()
Dbit_string.h154 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/
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.java1209 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/530-checker-lse/src/
DMain.java267 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/
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/081-hot-exceptions/
Dexpected.txt1 sum = 0
/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/runtime/
Dclass_table.cc98 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()
Dhandle_scope-inl.h227 uint32_t sum = 0; in NumberOfReferences() local
230 sum += cur->NumberOfReferences(); in NumberOfReferences()
233 return sum; in NumberOfReferences()
/art/test/623-checker-loop-regressions/src/
DMain.java481 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/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