Home
last modified time | relevance | path

Searched defs:mc (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/test/java/libcore/java/math/
DMathContextTest.java26 MathContext mc = new MathContext("precision=1 roundingMode=" + rm); in testConstructor() local
33 MathContext mc = new MathContext("precision=" + p + " roundingMode=" + RoundingMode.UP); in testConstructor() local
DOldBigDecimalConstructorsTest.java39 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
DOldBigDecimalCompareTest.java35 MathContext mc = new MathContext(34, RoundingMode.UP); in testAbsMathContextNeg() local
57 MathContext mc = new MathContext(37, RoundingMode.FLOOR); in testNegateMathContextPositive() local
DOldBigDecimalArithmeticTest.java29 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 …]
DOldBigDecimalConvertTest.java146 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/
DBigDecimal.java373 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/
DBigDecimalConstructorsTest.java103 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
DBigDecimalArithmeticTest.java61 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 …]
DBigDecimalCompareTest.java64 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/
DLinkedHashMap.java590 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
DHashMap.java929 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
DTreeSet.java306 Comparator<? super E> mc = map.comparator(); in addAll() local
DWeakHashMap.java1113 int i, hi, mc; in forEachRemaining() local
1193 int i, hi, mc; in forEachRemaining() local
1271 int i, hi, mc; in forEachRemaining() local
DIdentityHashMap.java1434 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
DPriorityQueue.java856 int i, hi, mc; // hoist accesses and checks from loop in forEachRemaining() local
DArrayList.java1376 int i, hi, mc; // hoist accesses and checks from loop in forEachRemaining() local
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory1Test.java428 MyCertificate mc = createMC(); in testCertificateFactory11() local
538 MyCertPath mc = new MyCertPath(enc); in testCertificateFactory13() local
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java229 int mc = conn.getMetaData().getMaxConnections(); in getConnectionNum() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DScannerTest.java517 MockCloseable mc = new MockCloseable(); in test_ioException() local
DFormatterTest.java4202 MathContext mc = new MathContext(30); in test_ScientificNotation() local