/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/luni/src/main/java/java/math/ |
D | BigDecimal.java | 373 public BigDecimal(char[] in, int offset, int len, MathContext mc) { in BigDecimal() 411 public BigDecimal(char[] in, MathContext mc) { in BigDecimal() 443 public BigDecimal(String val, MathContext mc) { in BigDecimal() 537 public BigDecimal(double val, MathContext mc) { in BigDecimal() 561 public BigDecimal(BigInteger val, MathContext mc) { in BigDecimal() 597 public BigDecimal(BigInteger unscaledVal, int scale, MathContext mc) { in BigDecimal() 627 public BigDecimal(int val, MathContext mc) { in BigDecimal() 657 public BigDecimal(long val, MathContext mc) { in BigDecimal() 785 public BigDecimal add(BigDecimal augend, MathContext mc) { in add() 889 public BigDecimal subtract(BigDecimal subtrahend, MathContext mc) { in subtract() [all …]
|
/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 | BigDecimalArithmeticTest.java | 61 MathContext mc = new MathContext(5, RoundingMode.UP); in testAddMathContextEqualScalePosPos() local 96 MathContext mc = new MathContext(5, RoundingMode.FLOOR); in testAddMathContextEqualScaleNegNeg() local 131 MathContext mc = new MathContext(15, RoundingMode.CEILING); in testAddMathContextDiffScalePosNeg() local 200 MathContext mc = new MathContext(15, RoundingMode.CEILING); in testSubtractMathContextEqualScalePosPos() local 253 MathContext mc = new MathContext(17, RoundingMode.DOWN); in testSubtractMathContextDiffScalePosNeg() local 289 MathContext mc = new MathContext(70, RoundingMode.HALF_DOWN); in testSubtractMathContextDiffScaleNegPos() local 324 MathContext mc = new MathContext(40, RoundingMode.HALF_DOWN); in testMultiplyMathContextScalePosPos() local 376 MathContext mc = new MathContext(53, RoundingMode.HALF_UP); in testMultiplyMathContextDiffScalePosNeg() local 411 MathContext mc = new MathContext(47, RoundingMode.HALF_UP); in testMultiplyMathContextDiffScaleNegPos() local 471 MathContext mc = new MathContext(5, RoundingMode.HALF_UP); in testPowMathContext() local [all …]
|
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 | 590 int mc = modCount; in forEach() local 640 int mc = modCount; in forEach() local 704 int mc = modCount; in forEach() local 718 int mc = modCount; in forEach() local 729 int mc = modCount; in replaceAll() local
|
D | HashMap.java | 929 int mc = modCount; in forEach() local 978 int mc = modCount; in forEach() local 1042 int mc = modCount; in forEach() local 1288 int mc = modCount; in forEach() local 1305 int mc = modCount; in replaceAll() local 1533 int i, hi, mc; in forEachRemaining() local 1605 int i, hi, mc; in forEachRemaining() local 1676 int i, hi, mc; in forEachRemaining() local
|
D | TreeSet.java | 306 Comparator<? super E> mc = map.comparator(); in addAll() local
|
D | WeakHashMap.java | 1113 int i, hi, mc; in forEachRemaining() local 1193 int i, hi, mc; in forEachRemaining() local 1271 int i, hi, mc; in forEachRemaining() local
|
D | IdentityHashMap.java | 1434 int i, hi, mc; Object key; in forEachRemaining() local 1490 int i, hi, mc; in forEachRemaining() local 1549 int i, hi, mc; in forEachRemaining() 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/luni/src/test/java/tests/java/sql/ |
D | StressTest.java | 229 int mc = conn.getMetaData().getMaxConnections(); in getConnectionNum() 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
|