Home
last modified time | relevance | path

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

/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/449-checker-bce/src/
DMain.java1025 int sum; field in Main
1063 sum += array[i]; in foo1()
1103 sum += array[i]; in foo2()
1143 sum += array[i]; in foo3()
1184 sum += array[i - 1]; in foo4()
1235 sum += array[i - 1]; in foo5()
1236 sum += array[i]; in foo5()
1237 sum += array[i + 1]; in foo5()
1327 sum += array[i + 1000]; in foo7()
1329 sum += array[i]; in foo7()
[all …]
/art/test/536-checker-intrinsic-optimization/src/
DMain.java216 int sum = 0; in $opt$noinline$stringSumChars() local
219 sum += s.charAt(i); in $opt$noinline$stringSumChars()
221 return sum; in $opt$noinline$stringSumChars()
243 int sum = 0; in $opt$noinline$stringSumLeadingChars() local
245 sum += s.charAt(i); in $opt$noinline$stringSumLeadingChars()
247 return sum; in $opt$noinline$stringSumLeadingChars()
281 int sum = s.charAt(0) + s.charAt(1) + s.charAt(2) + s.charAt(3); in $opt$noinline$stringSum4LeadingChars() local
282 return sum; in $opt$noinline$stringSum4LeadingChars()
/art/test/530-checker-lse/src/
DMain.java328 int sum = 0; in test11() local
330 sum += obj.i; in test11()
332 return sum; in test11()
348 int sum = 0; in test12() local
350 sum += obj1.i; in test12()
351 obj2.i = sum; in test12()
353 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/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/550-checker-multiply-accumulate/src/
DMain.java487 int sum = 0; in calcArraySum() local
489 sum += array[i]; in calcArraySum()
491 return sum; in calcArraySum()
/art/test/081-hot-exceptions/
Dexpected.txt1 sum = 0
/art/runtime/
Dclass_table.cc105 size_t sum = 0; in NumZygoteClasses() local
107 sum += CountDefiningLoaderClasses(defining_loader, classes_[i]); in NumZygoteClasses()
109 return sum; in NumZygoteClasses()
119 size_t sum = 0; in NumReferencedZygoteClasses() local
121 sum += classes_[i].Size(); in NumReferencedZygoteClasses()
123 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()
Dintern_table.cc480 [](size_t sum, const UnorderedSet& set) { in Size() argument
481 return sum + set.Size(); in Size()
/art/test/618-checker-induction/src/
DMain.java463 int sum = 0; in getSum21() local
466 sum += k; in getSum21()
468 return sum; in getSum21()
510 int sum = 0; in getSumN() local
513 sum += k; in getSumN()
515 return sum; in getSumN()
/art/test/109-suspend-check/src/
DMain.java157 private int sum = 0; field in InfiniteWhileLoopWithIntrinsic
162 sum += strings[i & 3].length(); in run()
/art/test/458-checker-instruct-simplification/src/
DMain.java2013 int sum = x + y; in $noinline$intAddSubSimplifyArg1() local
2014 return sum - x; in $noinline$intAddSubSimplifyArg1()
2032 int sum = x + y; in $noinline$intAddSubSimplifyArg2() local
2033 return sum - y; in $noinline$intAddSubSimplifyArg2()
2090 float sum = x + y; in $noinline$floatAddSubSimplifyArg1() local
2091 return sum - x; in $noinline$floatAddSubSimplifyArg1()
2110 float sum = x + y; in $noinline$floatAddSubSimplifyArg2() local
2111 return sum - y; in $noinline$floatAddSubSimplifyArg2()
/art/test/004-ThreadStress/src/
DMain.java320 double sum = 0; in normalize() local
322 sum += d; in normalize()
324 if (sum == 0) { in normalize()
327 if (sum != 1.0) { in normalize()
331 map.put(op, map.get(op) / sum); in normalize()
/art/build/
DAndroid.common_test.mk29 ART_HOST_TEST_DIR := /tmp/test-art-$(shell echo ${ANDROID_BUILD_TOP}-${USER} | sum | cut -d ' ' -f1)
/art/tools/dmtracedump/
Dtracedump.cc1384 double sum = 0; in printExclusiveProfile() local
1393 sum += method->elapsedExclusive; in printExclusiveProfile()
1395 double sum_per = 100.0 * sum / total; in printExclusiveProfile()
1727 double sum = 0; in printClassProfiles() local
1734 sum += pClass->elapsedExclusive; in printClassProfiles()
1736 double sum_per = 100.0 * sum / total; in printClassProfiles()
1937 double sum = 0; in printMethodProfiles() local
1944 sum += pUnique->elapsedExclusive; in printMethodProfiles()
1946 double sum_per = 100.0 * sum / total; in printMethodProfiles()
/art/oatdump/
Doatdump.cc631 const int64_t sum = std::accumulate(bits, bits + kByteKindCount, 0u); in Dump() local
632 os.Stream() << "Dumping cumulative use of " << sum / kBitsPerByte << " accounted bytes\n"; in Dump()
633 if (sum > 0) { in Dump()
634 Dump(os, "Code ", bits[kByteKindCode], sum); in Dump()
635 Dump(os, "QuickMethodHeader ", bits[kByteKindQuickMethodHeader], sum); in Dump()
636 Dump(os, "CodeInfoEncoding ", bits[kByteKindCodeInfoEncoding], sum); in Dump()
637 Dump(os, "CodeInfoLocationCatalog ", bits[kByteKindCodeInfoLocationCatalog], sum); in Dump()
638 Dump(os, "CodeInfoDexRegisterMap ", bits[kByteKindCodeInfoDexRegisterMap], sum); in Dump()
639 Dump(os, "CodeInfoStackMasks ", bits[kByteKindCodeInfoStackMasks], sum); in Dump()
640 Dump(os, "CodeInfoRegisterMasks ", bits[kByteKindCodeInfoRegisterMasks], sum); in Dump()
[all …]
/art/compiler/optimizing/
Dinduction_var_range.cc1042 int64_t sum = a * ((m * (m - 1)) / 2) + b * m; in GenerateLastValuePolynomial() local
1044 sum = static_cast<int32_t>(sum); // okay to truncate in GenerateLastValuePolynomial()
1047 Insert(block, new (graph->GetArena()) HAdd(type, graph->GetConstant(type, sum), c)); in GenerateLastValuePolynomial()
/art/test/510-checker-try-catch/smali/
DRuntime.smali60 # The sum of the low and high 32 bits treated as integers is returned to prove
253 # to the location of the catch phi. The sum of the low and high 32 bits treated
/art/test/912-classes/
Dexpected.txt26 …int java.lang.Integer.stringSize(int), public static int java.lang.Integer.sum(int,int), public st…