/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerHashCodeTest.java | 37 String value2 = "-5634562095872038262928728727834290276457386374882976782849"; in testSameObject() local 39 BigInteger aNumber2 = new BigInteger(value2); in testSameObject() 55 String value2 = "12378246728727834290276457386374882976782849"; in testEqualObjects() local 57 BigInteger aNumber2 = new BigInteger(value2); in testEqualObjects() 71 String value2 = "-5634562095872038262928728727834290276457386374882976782849"; in testUnequalObjectsUnequal() local 73 BigInteger aNumber2 = new BigInteger(value2); in testUnequalObjectsUnequal()
|
D | BigDecimalTest.java | 33 BigInteger value2 = new BigInteger("12334560000"); field in BigDecimalTest 49 BigDecimal big = new BigDecimal(value2, 5); in test_ConstructorLjava_math_BigIntegerI() 51 .unscaledValue().equals(value2) in test_ConstructorLjava_math_BigIntegerI() 245 BigDecimal divd1 = new BigDecimal(value2, 4); in test_divideLjava_math_BigDecimalII() 400 BigDecimal long1 = new BigDecimal(value2.negate(), 0); in test_longValue() 418 BigDecimal max1 = new BigDecimal(value2, 1); in test_maxLjava_math_BigDecimal() 419 BigDecimal max2 = new BigDecimal(value2, 4); in test_maxLjava_math_BigDecimal() 439 min1 = new BigDecimal(value2, 5); in test_minLjava_math_BigDecimal() 440 min2 = new BigDecimal(value2, 0); in test_minLjava_math_BigDecimal() 453 movePtLeft = new BigDecimal(value2.negate(), 0); in test_movePointLeftI() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
D | TestDateTimeBuilderCombinations.java | 106 final TemporalField field2, final Number value2, in test_derive() argument 122 return value2.longValue(); in test_derive() 139 str += value2 + "-"; in test_derive()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 189 …oid test_resolveTwoNoChange(TemporalField field1, long value1, TemporalField field2, long value2) { in test_resolveTwoNoChange() argument 190 String str = value1 + " " + value2; in test_resolveTwoNoChange() 201 assertEquals(accessor.getLong(field2), value2); in test_resolveTwoNoChange() local 220 …eeNoChange(TemporalField field1, long value1, TemporalField field2, long value2, TemporalField fie… in test_resolveThreeNoChange() argument 221 String str = value1 + " " + value2 + " " + value3; in test_resolveThreeNoChange() 234 assertEquals(accessor.getLong(field2), value2); in test_resolveThreeNoChange() local 335 TemporalField field2, long value2, in test_resolveTwoToField() argument 338 String str = value1 + " " + value2; in test_resolveTwoToField() 384 TemporalField field2, long value2, in test_resolveTwoToDate() argument 386 String str = value1 + " " + value2; in test_resolveTwoToDate() [all …]
|
D | TCKDateTimeFormatters.java | 1496 Expected(TemporalField field1, long value1, TemporalField field2, long value2) { in Expected() argument 1498 fieldValues.put(field2, value2); in Expected()
|
/libcore/ojluni/src/main/java/java/text/ |
D | AttributedString.java | 677 private final static boolean valuesMatch(Object value1, Object value2) { in valuesMatch() argument 679 return value2 == null; in valuesMatch() 681 return value1.equals(value2); in valuesMatch()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalConstructorsTest.java | 725 BigInteger value2 = new BigInteger("12334560000"); in test_Constructor_java_math_BigInteger_int() local 726 BigDecimal big2 = new BigDecimal(value2, 5); in test_Constructor_java_math_BigInteger_int() 728 big2.unscaledValue().equals(value2) in test_Constructor_java_math_BigInteger_int()
|
/libcore/luni/src/main/java/java/math/ |
D | BigDecimal.java | 2719 private static int compareAbsoluteValues(long value1, long value2) { in compareAbsoluteValues() argument 2728 value2 = Math.abs(value2) - 1; in compareAbsoluteValues() 2730 return value1 > value2 ? 1 : (value1 < value2 ? -1 : 0); in compareAbsoluteValues()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TreeMapExtendTest.java | 3440 Integer value1, value2; in test_DescendingSubMapEntrySet_comparator() local 3453 value2 = (Integer) entryArray[i].getValue(); in test_DescendingSubMapEntrySet_comparator() 3454 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3455 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() 3470 value2 = (Integer) entryArray[i].getValue(); in test_DescendingSubMapEntrySet_comparator() 3471 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3472 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() 3487 value2 = (Integer) entryArray[i].getValue(); in test_DescendingSubMapEntrySet_comparator() 3488 assertTrue(value1 > value2); in test_DescendingSubMapEntrySet_comparator() 3489 assertTrue(comparator.compare(value1, value2) < 0); in test_DescendingSubMapEntrySet_comparator() [all …]
|
D | ArraysTest.java | 1992 private void orderFail(int index, String value1, String value2) { in orderFail() argument 1993 fail("Array is not sorted at " + index + "-th position: " + value1 + " and " + value2); in orderFail()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldPreparedStatementTest.java | 592 float value2 = -12345678.12345689f; in testSetFloat() local 616 ps.setFloat(1, value2); in testSetFloat() 619 st.execute("select * from type where FloatVal=" + value2); in testSetFloat()
|