/libcore/ojluni/src/test/java/math/BigDecimal/ |
D | Constructor.java | 39 BigDecimal bd = new BigDecimal("1.2e"); in stringConstructor() local 44 BigDecimal bd = new BigDecimal(new char[5], -1, 4, null); in charArrayConstructorNegativeOffset() local 49 BigDecimal bd = new BigDecimal(new char[5], 0, -1, null); in charArrayConstructorNegativeLength() local 55 BigDecimal bd = new BigDecimal(new char[5], Integer.MAX_VALUE - 5, in charArrayConstructorIntegerOverflow() local 69 BigDecimal bd = new BigDecimal(new char[5], 1, 5, null); in charArrayConstructorIndexOutOfBounds() local
|
D | FloatDoubleValueTests.java | 49 static void testDoubleValue0(long i, BigDecimal bd) { in testDoubleValue0() 51 "Unexpected equality failure for " + i + "\t" + bd); in testDoubleValue0() local 54 static void testFloatValue0(long i, BigDecimal bd) { in testFloatValue0() 56 "Unexpected equality failure for " + i + "\t" + bd); in testFloatValue0() local 59 static void checkFloat(BigDecimal bd, float f) { in checkFloat() 66 static void checkDouble(BigDecimal bd, double d) { in checkDouble()
|
D | IntegralValueTests.java | 204 BigDecimal bd = testCase.getKey(); in integralValuesTest() local 227 private static int reportError(BigDecimal bd, Number expected, long longValue, boolean isInt) { in reportError() 245 private static long simpleLongValue(BigDecimal bd) { in simpleLongValue() 249 private static int simpleIntValue(BigDecimal bd) { in simpleIntValue()
|
D | ToPlainStringTests.java | 80 BigDecimal bd = new BigDecimal(testCase[0]); in testToPlainString() local 90 "Unexpected plain result ``" + s + "'' from BigDecimal " + bd); in testToPlainString() local
|
D | NegateTests.java | 40 static BigDecimal negateThenRound(BigDecimal bd, MathContext mc) { in negateThenRound() 45 static BigDecimal absThenRound(BigDecimal bd, MathContext mc) { in absThenRound() 53 BigDecimal bd = testCase[0]; in negateTest() local
|
D | LongValueExactTests.java | 52 BigDecimal bd = new BigDecimal(longValue); in longValueExactTests() local 72 BigDecimal bd = new BigDecimal(bigValue); in longValueExactTests() local
|
D | IntValueExactTests.java | 49 private static int simpleIntValueExact(BigDecimal bd) { in simpleIntValueExact() 77 BigDecimal bd = testCase.getKey(); in intValueExactSuccessful() local
|
D | ScaleByPowerOfTenTests.java | 43 BigDecimal bd = BigDecimal.ONE.scaleByPowerOfTen(i); in testScaleByPowerOfTen() local
|
D | SerializationTests.java | 41 static void checkSerialForm(BigDecimal bd) throws Exception { in checkSerialForm()
|
D | ZeroScalingTests.java | 313 BigDecimal bd = zero.setScale(scale); in setScaleTests() local 337 BigDecimal bd = new BigDecimal(testCase[0]); in toEngineeringStringTests() local
|
D | PrecisionTests.java | 81 private static void testPrecision(BigDecimal bd, int expected) { in testPrecision()
|
D | StringConstructor.java | 88 BigDecimal bd = new BigDecimal(bi, scale); in testRoundtrip() local
|
D | DivideTests.java | 149 BigDecimal bd; in powersOf2and5() local
|
D | SquareRootTests.java | 145 private static void compareSqrtImplementations(BigDecimal bd, MathContext mc) { in compareSqrtImplementations()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalConstructorsTest.java | 48 BigDecimal bd; in testConstrBigIntegerMathContext() local 134 BigDecimal bd; in testConstrBigIntegerScaleMathContext() local 266 BigDecimal bd; in testConstrBigIntegerScaleMathContext_AndroidFailure() local 306 BigDecimal bd; in testConstrCharIntIntMathContext() local 393 BigDecimal bd; in testConstrCharMathContext() local 445 BigDecimal bd; in testConstrDoubleMathContext() local 528 BigDecimal bd; in testConstrDoubleMathContext_AndroidFailure() local 583 BigDecimal bd; in testConstrLongMathContext() local 651 BigDecimal bd = new BigDecimal(a); in testConstrStringException() local 674 BigDecimal bd; in testConstrStringMathContext() local
|
D | OldBigDecimalTest.java | 62 BigDecimal bd; in test_constructor_String_plus_exp() local
|
D | OldBigDecimalConvertTest.java | 441 BigDecimal bd = new BigDecimal("1"); in test_stripTrailingZeros() local
|
D | OldBigDecimalArithmeticTest.java | 477 BigDecimal bd; in testRoundNonTrivial() local
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | BidiBenchmark.java | 37 Bidi bd = new Bidi(new char[]{'s', 's', 's'}, 0, new byte[]{(byte) 1, in time_createBidiFromCharArray() local 57 Bidi bd = new Bidi(new char[]{'\u05D0', '\u05D0', '\u05D0'}, 0, in time_hebrewBidi() local 68 Bidi bd = new Bidi("a\u05D0a\"a\u05D0\"\u05D0a".toCharArray(), 0, in time_complicatedOverrideBidi() local
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | OldBidiTest.java | 28 Bidi bd = new Bidi("bidi", 173); in testToString() local 43 Bidi bd = new Bidi("text", Bidi.DIRECTION_LEFT_TO_RIGHT); in testGetRunLevelLInt() local 67 Bidi bd = new Bidi(new char[] { 's', 's', 's' }, 0, new byte[] { (byte) -7, in testGetRunStart() local
|
D | DecimalFormatTest.java | 75 BigDecimal bd = new BigDecimal(longDec); in testBigDecimalBug1897917() local 267 private void assertBigDecimalWithFraction(BigDecimal bd, String expectedResult, int fraction) { in assertBigDecimalWithFraction()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | BidiTest.java | 28 Bidi bd; field in BidiTest
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | Duration.java | 936 private String toString(BigDecimal bd) { in toString()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigDecimalTest.java | 885 BigDecimal bd = new BigDecimal(in, 0, 9); in test_BigDecimal_serialization() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | FormatterTest.java | 3999 BigDecimal bd = new BigDecimal("1.0"); in test_formatLjava_lang_String$Ljava_lang_Object_BigDecimalExceptionOrder() local
|