/libcore/luni/src/test/java/libcore/java/math/ |
D | MathContextTest.java | 26 MathContext mc = new MathContext("precision=1 roundingMode=" + rm); in testConstructor() local 33 MathContext mc = new MathContext("precision=" + p + " roundingMode=" + RoundingMode.UP); in testConstructor() local
|
D | OldBigDecimalConstructorsTest.java | 39 MathContext mc = new MathContext(precision, rm); in testConstrBigIntegerMathContext() local 120 MathContext mc = new MathContext(precision, rm); in testConstrBigIntegerScaleMathContext() local 265 MathContext mc; in testConstrBigIntegerScaleMathContext_AndroidFailure() local 283 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContext() local 376 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContextException1() local 394 MathContext mc; in testConstrCharMathContext() local 436 MathContext mc = new MathContext(precision, rm); in testConstrDoubleMathContext() local 529 MathContext mc; in testConstrDoubleMathContext_AndroidFailure() local 574 MathContext mc = new MathContext(precision, rm); in testConstrLongMathContext() local 663 MathContext mc = new MathContext(precision, rm); in testConstrStringMathContext() local
|
D | OldBigDecimalCompareTest.java | 35 MathContext mc = new MathContext(34, RoundingMode.UP); in testAbsMathContextNeg() local 57 MathContext mc = new MathContext(37, RoundingMode.FLOOR); in testNegateMathContextPositive() local
|
D | OldBigDecimalArithmeticTest.java | 29 MathContext mc; in testAddMathContextNonTrivial() local 54 MathContext mc; in testSubtractMathContextNonTrivial() local 77 MathContext mc; in testMultiplyMathContextNonTrivial() local 118 MathContext mc = new MathContext(5, RoundingMode.HALF_UP); in testPowMathContext() local 125 MathContext mc; in testPowMathContextNonTrivial() local 190 MathContext mc; in testDivideINonTrivial() local 217 MathContext mc; in testDivideIINonTrivial() local 245 MathContext mc; in testDivideScaleRoundingModeNonTrivial() local 275 MathContext mc; in testDivideMathContextNonTrivial() local 341 MathContext mc; in testDivideToIntegralValueMathContextNonTrivial() local [all …]
|
D | OldBigDecimalConvertTest.java | 146 MathContext mc = new MathContext(iPresition, RoundingMode.UP); in test_ByteValueExactNeg() local 158 MathContext mc = new MathContext(iPresition, RoundingMode.HALF_DOWN); in test_ByteValueExactCharZero() local 168 MathContext mc = new MathContext(iPresition, RoundingMode.HALF_UP); in test_ByteValueExactStringZero() local 258 MathContext mc = new MathContext(iPresition, RoundingMode.UP); in test_ByteValueNeg() local 270 MathContext mc = new MathContext(iPresition, RoundingMode.HALF_UP); in test_ByteValueCharZero() local 280 MathContext mc = new MathContext(iPresition, RoundingMode.HALF_UP); in test_ByteValueStringZero() local
|
/libcore/ojluni/src/main/java/java/math/ |
D | BigDecimal.java | 409 public BigDecimal(char[] in, int offset, int len, MathContext mc) { in BigDecimal() 703 public BigDecimal(char[] in, MathContext mc) { in BigDecimal() 826 public BigDecimal(String val, MathContext mc) { in BigDecimal() 896 public BigDecimal(double val, MathContext mc) { in BigDecimal() 1003 public BigDecimal(BigInteger val, MathContext mc) { in BigDecimal() 1038 public BigDecimal(BigInteger unscaledVal, int scale, MathContext mc) { in BigDecimal() 1101 public BigDecimal(int val, MathContext mc) { in BigDecimal() 1146 public BigDecimal(long val, MathContext mc) { in BigDecimal() 1319 public BigDecimal add(BigDecimal augend, MathContext mc) { in add() 1386 private BigDecimal[] preAlign(BigDecimal lhs, BigDecimal augend, long padding, MathContext mc) { in preAlign() [all …]
|
D | MathContext.java | 250 MathContext mc; in equals() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalConstructorsTest.java | 103 MathContext mc = new MathContext(precision, rm); in testConstrBigIntegerMathContext() local 120 MathContext mc = new MathContext(precision, rm); in testConstrBigIntegerScaleMathContext() local 177 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContext() local 201 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContextException1() local 218 MathContext mc = new MathContext(precision, rm); in testConstrCharIntIntMathContextException2() local 293 MathContext mc = new MathContext(precision, rm); in testConstrDoubleMathContext() local 356 MathContext mc = new MathContext(precision, rm); in testConstrIntMathContext() local 383 MathContext mc = new MathContext(precision, rm); in testConstrLongMathContext() local 677 MathContext mc = new MathContext(precision, rm); in testConstrStringMathContext() local
|
D | BigDecimalCompareTest.java | 64 MathContext mc = new MathContext(precision, rm); in testAbsMathContextNeg() local 80 MathContext mc = new MathContext(precision, rm); in testAbsMathContextPos() local 375 MathContext mc = new MathContext(precision, rm); in testPlusMathContextPositive() local 405 MathContext mc = new MathContext(precision, rm); in testPlusMathContextNegative() local 435 MathContext mc = new MathContext(precision, rm); in testNegateMathContextPositive() local 465 MathContext mc = new MathContext(precision, rm); in testNegateMathContextNegative() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | LinkedHashMap.java | 593 int mc = modCount; in forEach() local 643 int mc = modCount; in forEach() local 707 int mc = modCount; in forEach() local 721 int mc = modCount; in forEach() local 732 int mc = modCount; in replaceAll() local
|
D | TreeSet.java | 306 Comparator<? super E> mc = map.comparator(); in addAll() local
|
D | PriorityQueue.java | 856 int i, hi, mc; // hoist accesses and checks from loop in forEachRemaining() local
|
D | ArrayList.java | 1376 int i, hi, mc; // hoist accesses and checks from loop in forEachRemaining() local
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory1Test.java | 428 MyCertificate mc = createMC(); in testCertificateFactory11() local 538 MyCertPath mc = new MyCertPath(enc); in testCertificateFactory13() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ScannerTest.java | 517 MockCloseable mc = new MockCloseable(); in test_ioException() local
|
D | FormatterTest.java | 4202 MathContext mc = new MathContext(30); in test_ScientificNotation() local
|