Searched refs:round (Results 1 – 13 of 13) sorted by relevance
/art/test/082-inline-execute/src/ |
D | Main.java | 810 Math.round(2.1d); 811 Assert.assertEquals(Math.round(+0.0d), (long)+0.0); 812 Assert.assertEquals(Math.round(-0.0d), (long)+0.0); 813 Assert.assertEquals(Math.round(2.0d), 2l); 814 Assert.assertEquals(Math.round(2.1d), 2l); 815 Assert.assertEquals(Math.round(2.5d), 3l); 816 Assert.assertEquals(Math.round(2.9d), 3l); 817 Assert.assertEquals(Math.round(3.0d), 3l); 818 Assert.assertEquals(Math.round(-2.0d), -2l); 819 Assert.assertEquals(Math.round(-2.1d), -2l); [all …]
|
/art/runtime/arch/ |
D | memcmp16_test.cc | 53 for (size_t round = 0; round < kMemCmp16Rounds; ++round) { in CheckSeparate() local 145 ASSERT_EQ(expected, computed) << "Run " << round << ", c1=" << count1 << " c2=" << count2; in CheckSeparate()
|
/art/test/580-checker-round/ |
D | Android.bp | 3 name: "art-run-test-580-checker-round",
|
/art/test/580-checker-round/src/ |
D | Main.java | 23 return Math.round(f); in round32() 30 return Math.round(d); in round64()
|
/art/runtime/gc/space/ |
D | space_test.h | 132 int round, size_t growth_limit); 144 int round, in SizeFootPrintGrowthLimitAndTrimBody() argument 195 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody() 293 if (round <= 1) { in SizeFootPrintGrowthLimitAndTrimBody()
|
/art/test/988-method-trace/src/art/ |
D | Test988Intrinsics.java | 114 java.lang.Math.round(0.0); in test() 115 java.lang.Math.round(0.0f); in test()
|
/art/test/064-field-access/src/ |
D | Main.java | 539 for (int round = 0; round < 3; round++) { in doReflectionTests() 545 switch (round) { in doReflectionTests()
|
/art/test/530-checker-lse2/src/ |
D | Main.java | 150 mJ <<= (Math.round(1237681786.0)); in testMethod()
|
/art/tools/checker/ |
D | README | 42 enclosed in round brackets. For example, the pattern '{{foo{2}}}' will parse
|
/art/test/988-method-trace/ |
D | expected.txt | 485 ..=> public static long java.lang.Math.round(double) 486 ..<= public static long java.lang.Math.round(double) -> <class java.lang.Long: 0> 487 ..=> public static int java.lang.Math.round(float) 488 ..<= public static int java.lang.Math.round(float) -> <class java.lang.Integer: 0>
|
/art/test/626-checker-arm64-scratch-register/smali/ |
D | Main2.smali | 341 # s = ((float) Math.round(100.0f * s)) / 100.0f; 1429 invoke-static/range {v42 .. v42}, Ljava/lang/Math;->round(F)I
|
/art/ |
D | TEST_MAPPING | 912 "name": "art-run-test-580-checker-round"
|
/art/test/083-compiler-regressions/src/ |
D | Main.java | 108 double d2 = Math.round(d1); in b17411468()
|