/libcore/ojluni/src/test/java/math/RoundingMode/ |
D | RoundingModeTests.java | 48 Assert.assertEquals(RoundingMode.valueOf(rm.toString()), rm, in testRoundingMode() local 49 "Bad roundtrip conversion of " + rm); in testRoundingMode() local
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalConstructorsTest.java | 38 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerMathContext() local 119 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerScaleMathContext() local 282 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContext() local 375 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContextException1() local 435 RoundingMode rm = RoundingMode.CEILING; in testConstrDoubleMathContext() local 573 RoundingMode rm = RoundingMode.CEILING; in testConstrLongMathContext() local 662 RoundingMode rm = RoundingMode.CEILING; in testConstrStringMathContext() local
|
D | OldBigDecimalArithmeticTest.java | 543 RoundingMode rm = RoundingMode.UP; in test_DivideBigDecimalRoundingModeUP() local 558 RoundingMode rm = RoundingMode.DOWN; in test_DivideBigDecimalRoundingModeDOWN() local 573 RoundingMode rm = RoundingMode.CEILING; in test_DivideBigDecimalRoundingModeCEILING() local 588 RoundingMode rm = RoundingMode.FLOOR; in test_DivideBigDecimalRoundingModeFLOOR() local 603 RoundingMode rm = RoundingMode.HALF_UP; in test_DivideBigDecimalRoundingModeHALF_UP() local 621 RoundingMode rm = RoundingMode.HALF_DOWN; in test_DivideBigDecimalRoundingModeHALF_DOWN() local 637 RoundingMode rm = RoundingMode.HALF_EVEN; in test_DivideBigDecimalRoundingModeHALF_EVEN() local 652 RoundingMode rm = RoundingMode.UNNECESSARY; in test_DivideBigDecimalRoundingExc() local
|
D | BigDecimalTest.java | 127 private static void checkDivide(String expected, long n, long d, int scale, RoundingMode rm) { in checkDivide()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalConstructorsTest.java | 102 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerMathContext() local 119 RoundingMode rm = RoundingMode.CEILING; in testConstrBigIntegerScaleMathContext() local 176 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContext() local 200 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContextException1() local 217 RoundingMode rm = RoundingMode.CEILING; in testConstrCharIntIntMathContextException2() local 292 RoundingMode rm = RoundingMode.CEILING; in testConstrDoubleMathContext() local 355 RoundingMode rm = RoundingMode.CEILING; in testConstrIntMathContext() local 382 RoundingMode rm = RoundingMode.CEILING; in testConstrLongMathContext() local 676 RoundingMode rm = RoundingMode.CEILING; in testConstrStringMathContext() local
|
D | BigDecimalArithmeticTest.java | 1031 RoundingMode rm = RoundingMode.UP; in testDivideBigDecimalScaleRoundingModeUP() local 1049 RoundingMode rm = RoundingMode.DOWN; in testDivideBigDecimalScaleRoundingModeDOWN() local 1067 RoundingMode rm = RoundingMode.CEILING; in testDivideBigDecimalScaleRoundingModeCEILING() local 1085 RoundingMode rm = RoundingMode.FLOOR; in testDivideBigDecimalScaleRoundingModeFLOOR() local 1103 RoundingMode rm = RoundingMode.HALF_UP; in testDivideBigDecimalScaleRoundingModeHALF_UP() local 1123 RoundingMode rm = RoundingMode.HALF_DOWN; in testDivideBigDecimalScaleRoundingModeHALF_DOWN() local 1141 RoundingMode rm = RoundingMode.HALF_EVEN; in testDivideBigDecimalScaleRoundingModeHALF_EVEN() local 1159 RoundingMode rm = RoundingMode.UP; in testDivideBigDecimalScaleMathContextUP() local 1179 RoundingMode rm = RoundingMode.DOWN; in testDivideBigDecimalScaleMathContextDOWN() local 1199 RoundingMode rm = RoundingMode.CEILING; in testDivideBigDecimalScaleMathContextCEILING() local [all …]
|
D | BigDecimalCompareTest.java | 63 RoundingMode rm = RoundingMode.HALF_DOWN; in testAbsMathContextNeg() local 79 RoundingMode rm = RoundingMode.HALF_EVEN; in testAbsMathContextPos() local 374 RoundingMode rm = RoundingMode.FLOOR; in testPlusMathContextPositive() local 404 RoundingMode rm = RoundingMode.CEILING; in testPlusMathContextNegative() local 434 RoundingMode rm = RoundingMode.FLOOR; in testNegateMathContextPositive() local 464 RoundingMode rm = RoundingMode.CEILING; in testNegateMathContextNegative() local
|
D | BigDecimalTest.java | 924 RoundingMode rm = RoundingMode.HALF_DOWN; in testMathContextConstruction() local
|
/libcore/ojluni/src/main/java/java/math/ |
D | RoundingMode.java | 379 public static RoundingMode valueOf(int rm) { in valueOf()
|
/libcore/ojluni/src/test/java/math/BigDecimal/ |
D | DivideTests.java | 301 int rm = tc[2].unscaledValue().intValue(); in scaledRoundedDivideTests() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | ArraysParallelSortHelpers.java | 190 int rm = (lo + rh) >>> 1; in compute() local
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormat.java | 4313 private static int convertRoundingMode(RoundingMode rm) { in convertRoundingMode()
|