/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()
|
/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()
|
D | ByteTest.java | 48 assertEquals(b, Integer.valueOf(b).byteValue()); 57 assertEquals(b, Long.valueOf(b).byteValue()); in testToUnsignedLong()
|
/libcore/luni/src/test/java/libcore/sun/misc/ |
D | UnsafeTest.java | 135 byte byteValue = unsafe.getByte(tf, byteFieldOffset); in test_getByte_Relative() 136 assertEquals(tf.byteVar, byteValue); in test_getByte_Relative() 199 byte byteValue = 83; in test_putByte_Relative() 200 unsafe.putByte(tf, byteFieldOffset, byteValue); in test_putByte_Relative() 201 assertEquals(byteValue, tf.byteVar); in test_putByte_Relative()
|
/libcore/luni/src/test/java/libcore/libcore/util/ |
D | HexEncodingTest.java | 47 String actualUpper = encodeToString(toEncode.byteValue(), true /* upperCase */); in testEncodeByte() 50 String actualLower = encodeToString(toEncode.byteValue(), false /* upperCase */); in testEncodeByte()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Number.java | 104 public byte byteValue() { in byteValue() method in Number
|
D | Byte.java | 389 public byte byteValue() { in byteValue() method in Byte 487 return value == ((Byte)obj).byteValue(); in equals()
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
D | CharsetDecoderTest.java | 57 arr = prependByteToByteArray(arr, Integer.valueOf(1).byteValue()); in test_ByteArray_decode_with_offset() 73 arr = prependByteToByteArray(arr, Integer.valueOf(1).byteValue()); in test_ByteArray_decode_with_offset_using_facade_method()
|
/libcore/ojluni/annotations/flagged_api/java/lang/ |
D | Double.annotated.java | 60 public byte byteValue() { throw new RuntimeException("Stub!"); } in byteValue() method in Double
|
D | Float.annotated.java | 63 public byte byteValue() { throw new RuntimeException("Stub!"); } in byteValue() method in Float
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Double.annotated.java | 59 public byte byteValue() { throw new RuntimeException("Stub!"); } in byteValue() method in Double
|
D | Float.annotated.java | 61 public byte byteValue() { throw new RuntimeException("Stub!"); } in byteValue() method in Float
|
D | Byte.annotated.java | 51 public byte byteValue() { throw new RuntimeException("Stub!"); } in byteValue() method in Byte
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Float.java | 91 public byte byteValue() { in byteValue() method in Float
|
D | Double.java | 88 public byte byteValue() { in byteValue() method in Double
|
D | Short.java | 74 public byte byteValue() { in byteValue() method in Short
|
D | Byte.java | 74 public byte byteValue() { in byteValue() method in Byte
|