/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ByteTest.java | 86 assertEquals(1, new Byte((byte) 1).byteValue()); in test_ConstructorB() 87 assertEquals(2, new Byte((byte) 2).byteValue()); in test_ConstructorB() 88 assertEquals(0, new Byte((byte) 0).byteValue()); in test_ConstructorB() 89 assertEquals(-1, new Byte((byte) -1).byteValue()); in test_ConstructorB() 96 assertEquals(1, new Byte((byte) 1).byteValue()); in test_booleanValue() 97 assertEquals(2, new Byte((byte) 2).byteValue()); in test_booleanValue() 98 assertEquals(0, new Byte((byte) 0).byteValue()); in test_booleanValue() 99 assertEquals(-1, new Byte((byte) -1).byteValue()); in test_booleanValue() 178 assertEquals(Character.digit('1', 2), Byte.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringI() 179 assertEquals(Character.digit('F', 16), Byte.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringI() [all …]
|
D | NumberTest.java | 29 .byteValue()); in test_byteValue() 33 .byteValue()); in test_byteValue() 37 .byteValue()); in test_byteValue() 41 .byteValue()); in test_byteValue()
|
D | ShortTest.java | 31 .byteValue()); in test_byteValue() 33 .byteValue()); in test_byteValue() 417 assertEquals(1, new Short((short) 1).byteValue()); in test_booleanValue() 418 assertEquals(2, new Short((short) 2).byteValue()); in test_booleanValue() 419 assertEquals(0, new Short((short) 0).byteValue()); in test_booleanValue() 420 assertEquals(-1, new Short((short) -1).byteValue()); in test_booleanValue() 499 assertEquals(Character.digit('1', 2), Short.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringI() 500 assertEquals(Character.digit('F', 16), Short.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringI()
|
D | LongTest.java | 42 assertEquals("Returned incorrect byte value", 127, l.byteValue()); in test_byteValue() 44 .byteValue()); in test_byteValue() 582 assertEquals(1, new Long(1).byteValue()); in test_booleanValue() 583 assertEquals(2, new Long(2).byteValue()); in test_booleanValue() 584 assertEquals(0, new Long(0).byteValue()); in test_booleanValue() 585 assertEquals(-1, new Long(-1).byteValue()); in test_booleanValue() 664 assertEquals(Character.digit('1', 2), Long.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringJ() 665 assertEquals(Character.digit('F', 16), Long.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringJ()
|
D | IntegerTest.java | 42 .byteValue()); in test_byteValue() 44 .byteValue()); in test_byteValue() 747 assertEquals(1, new Integer(1).byteValue()); in test_booleanValue() 748 assertEquals(2, new Integer(2).byteValue()); in test_booleanValue() 749 assertEquals(0, new Integer(0).byteValue()); in test_booleanValue() 750 assertEquals(-1, new Integer(-1).byteValue()); in test_booleanValue() 829 assertEquals(Character.digit('1', 2), Integer.valueOf("1", 2).byteValue()); in test_valueOfLjava_lang_StringI() 830 assertEquals(Character.digit('F', 16), Integer.valueOf("F", 16).byteValue()); in test_valueOfLjava_lang_StringI()
|
D | FloatTest.java | 124 assertTrue("Returned incorrect byte value", f.byteValue() == 0 && f2.byteValue() == 90); in test_byteValue()
|
D | DoubleTest.java | 240 assertEquals("Returned incorrect byte value", (byte) -17, d.byteValue()); in test_byteValue()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetPutFields.java | 38 public byte byteValue = 0; field in Support_GetPutFields 78 byteValue = (byte) 0xbe; in initTestValues() 95 byteValue == other.byteValue && in equals() 109 byteValue = getField.get("byteValue", (byte) 0); in readObject() 123 putField.put("byteValue", byteValue); in writeObject()
|
D | Support_GetPutFieldsDeprecated.java | 40 public byte byteValue = 0; field in Support_GetPutFieldsDeprecated 80 byteValue = (byte) 0xbe; in initTestValues() 97 byteValue == other.byteValue && in equals() 110 byteValue = getField.get("byteValue", (byte) 0); in readObject() 124 putField.put("byteValue", byteValue); in writeObject()
|
D | Support_GetPutFieldsDefaulted.java | 49 public byte byteValue = 0; field in Support_GetPutFieldsDefaulted 89 byteValue = (byte) 0x0b; in initTestValues() 106 byteValue == other.byteValue && in equals() 120 byteValue = getField.get("byteValue", (byte) 0x0b); in readObject()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalConvertTest.java | 250 byte bNumber = bdNumber.byteValue(); in test_ByteValuePos() 260 byte bNumber = bdNumber.byteValue(); in test_ByteValueNeg() 272 byte bNumber = bdNumber.byteValue(); in test_ByteValueCharZero() 282 byte bNumber = bdNumber.byteValue(); in test_ByteValueStringZero() 290 byte bNumber = bdNumber.byteValue(); in test_ByteValueDoubleMax() 298 byte bNumber = bdNumber.byteValue(); in test_ByteValueDoubleMin() 306 byte bNumber = bdNumber.byteValue(); in test_ByteValueFloatNeg() 313 byte bNumber = bdNumber.byteValue(); in test_ByteValueDouble() 321 byte bNumber = bdNumber.byteValue(); in test_ByteValueLongMin() 329 byte bNumber = bdNumber.byteValue(); in test_ByteValueIntMin() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldDoubleTest.java | 25 assertEquals("Returned incorrect byte value", Byte.MAX_VALUE, d.byteValue()); in test_byteValue() 27 assertEquals("Returned incorrect byte value", Byte.MIN_VALUE, d.byteValue()); in test_byteValue() 29 assertEquals("Returned incorrect byte value", -1, d.byteValue()); in test_byteValue()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Number.java | 94 public byte byteValue() { in byteValue() method in Number
|
D | Byte.java | 323 public byte byteValue() { in byteValue() method in Byte 415 return value == ((Byte)obj).byteValue(); in equals()
|
D | Short.java | 328 public byte byteValue() { in byteValue() method in Short
|
D | Float.java | 586 public byte byteValue() { in byteValue() method in Float
|
D | Double.java | 665 public byte byteValue() { in byteValue() method in Double
|
D | Long.java | 711 public byte byteValue() { in byteValue() method in Long
|
D | Integer.java | 713 public byte byteValue() {
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetDecoderTest.java | 57 arr = prependByteToByteArray(arr, new Integer(1).byteValue()); in test_ByteArray_decode_with_offset() 73 arr = prependByteToByteArray(arr, new Integer(1).byteValue()); in test_ByteArray_decode_with_offset_using_facade_method()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldObjectInputStreamGetFieldTest.java | 65 public byte byteValue; field in OldObjectInputStreamGetFieldTest
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | EPollArrayWrapper.java | 193 return result.byteValue(); in getUpdateEvents()
|
D | DevPollArrayWrapper.java | 176 return result.byteValue(); in getUpdateEvents()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | NumberFormatTest.java | 34 public byte byteValue() { throw new UnsupportedOperationException(); } in test_custom_Number_gets_longValue() method in NumberFormatTest.MyNumber
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Array.java | 458 setByte(array, index, ((Byte) value).byteValue()); in set()
|