/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ShortTest.java | 68 .shortValue() == (short) -1); in test_decodeLjava_lang_String2() 70 .shortValue() == (short) -100); in test_decodeLjava_lang_String2() 72 .shortValue() == (short) 23); in test_decodeLjava_lang_String2() 74 .shortValue() == (short) 16); in test_decodeLjava_lang_String2() 76 .shortValue() == (short) 32767); in test_decodeLjava_lang_String2() 78 .shortValue() == (short) -32767); in test_decodeLjava_lang_String2() 80 .shortValue() == (short) -32768); in test_decodeLjava_lang_String2() 292 .shortValue()); in test_valueOfLjava_lang_String2() 294 .shortValue()); in test_valueOfLjava_lang_String2() 305 .shortValue()); in test_valueOfLjava_lang_StringI2() [all …]
|
D | NumberTest.java | 51 .shortValue()); in test_shortValue() 55 .shortValue()); in test_shortValue() 59 .shortValue()); in test_shortValue() 63 .shortValue()); in test_shortValue()
|
D | ByteTest.java | 348 assertEquals(-1, new Byte((byte) -1).shortValue()); in test_shortValue() 349 assertEquals(0, new Byte((byte) 0).shortValue()); in test_shortValue() 350 assertEquals(1, new Byte((byte) 1).shortValue()); in test_shortValue() 617 assertEquals((short) 127, new Byte((byte) 127).shortValue());
|
D | IntegerTest.java | 438 assertEquals("Returned incorrect long value", -32768, i.shortValue()); in test_shortValue2() 999 assertEquals(-1, new Integer(-1).shortValue()); in test_shortValue() 1000 assertEquals(0, new Integer(0).shortValue()); in test_shortValue() 1001 assertEquals(1, new Integer(1).shortValue()); in test_shortValue()
|
D | LongTest.java | 834 assertEquals(-1, new Long(-1).shortValue()); in test_shortValue() 835 assertEquals(0, new Long(0).shortValue()); in test_shortValue() 836 assertEquals(1, new Long(1).shortValue()); in test_shortValue()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_GetPutFieldsDeprecated.java | 46 public short shortValue = 0; field in Support_GetPutFieldsDeprecated 87 shortValue = 3078; in initTestValues() 104 shortValue == other.shortValue in equals() 118 shortValue = getField.get("shortValue", (short) 0); in readObject() 131 putField.put("shortValue", shortValue); in writeObject()
|
D | Support_GetPutFields.java | 44 public short shortValue = 0; field in Support_GetPutFields 85 shortValue = 1234; in initTestValues() 102 shortValue == other.shortValue in equals() 117 shortValue = getField.get("shortValue", (short) 0); in readObject() 130 putField.put("shortValue", shortValue); in writeObject()
|
D | Support_GetPutFieldsDefaulted.java | 55 public short shortValue = 0; field in Support_GetPutFieldsDefaulted 96 shortValue = 4321; in initTestValues() 113 shortValue == other.shortValue in equals() 129 shortValue = getField.get("shortValue", (short) 4321); in readObject()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ShortTest.java | 48 assertEquals(b, Integer.valueOf(b).shortValue()); 57 assertEquals(b, Long.valueOf(b).shortValue()); in testToUnsignedLong()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Short.java | 337 public short shortValue() { in shortValue() method in Short 426 return value == ((Short)obj).shortValue(); in equals()
|
D | Number.java | 118 public short shortValue() { in shortValue() method in Number
|
D | Byte.java | 332 public short shortValue() { in shortValue() method in Byte
|
D | Float.java | 592 public short shortValue() { in shortValue() method in Float
|
D | Double.java | 669 public short shortValue() { in shortValue() method in Double
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Byte.annotated.java | 53 public short shortValue() { throw new RuntimeException("Stub!"); } in shortValue() method in Byte
|
/libcore/ojluni/annotations/hiddenapi/java/lang/ |
D | Double.java | 92 public short shortValue() { in shortValue() method in Double
|
D | Float.java | 95 public short shortValue() { in shortValue() method in Float
|
D | Short.java | 78 public short shortValue() { in shortValue() method in Short
|
D | Byte.java | 78 public short shortValue() { in shortValue() method in Byte
|
D | Long.java | 133 public short shortValue() { in shortValue() method in Long
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/ |
D | Double.annotated.java | 61 public short shortValue() { throw new RuntimeException("Stub!"); } in shortValue() method in Double
|
D | Float.annotated.java | 63 public short shortValue() { throw new RuntimeException("Stub!"); } in shortValue() method in Float
|
D | Byte.annotated.java | 53 public short shortValue() { throw new RuntimeException("Stub!"); } in shortValue() method in Byte
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 475 short shortValue = value instanceof Short ? ((Short)value).shortValue() : (short)0; in tryAccessor() local 476 setShort(methodHandle, valueHolder, shortValue, in tryAccessor() 478 setShort(methodHandle, shortValue, in tryAccessor() 480 getShort(methodHandle, valueHolder, shortValue, in tryAccessor() 482 getShort(methodHandle, shortValue, in tryAccessor()
|
/libcore/luni/src/test/java/libcore/java/math/ |
D | OldBigDecimalConvertTest.java | 345 assertTrue("incorrect value", aNumber.shortValue() == result); in test_ShortValueNeg() 352 assertTrue("incorrect value", aNumber.shortValue() == result); in test_ShortValuePos()
|