/libcore/luni/src/test/java/libcore/java/nio/ |
D | OldAndroidNIOTest.java | 226 assertEquals((short) 0xA1A0, b.getShort()); in byteBufferTest() 227 assertEquals((short) 0xA3A2, b.getShort()); in byteBufferTest() 228 assertEquals((short) 0xA5A4, b.getShort()); in byteBufferTest() 229 assertEquals((short) 0xA7A6, b.getShort()); in byteBufferTest() 230 assertEquals((short) 0xA9A8, b.getShort()); in byteBufferTest() 231 assertEquals((short) 0xABAA, b.getShort()); in byteBufferTest() 233 bb.getShort(); in byteBufferTest() 241 assertEquals((short) 0xA0A1, b.getShort()); in byteBufferTest() 242 assertEquals((short) 0xA2A3, b.getShort()); in byteBufferTest() 243 assertEquals((short) 0xA4A5, b.getShort()); in byteBufferTest() [all …]
|
D | BufferTest.java | 509 b.getShort(); in testRelativePositions() 1140 b.getShort(); in testGetMethods() 1141 b.getShort(0); in testGetMethods() 1216 b.getShort(); in testFailForGetMethods() 1221 b.getShort(0); in testFailForGetMethods()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AbstractPollArrayWrapper.java | 58 return pollArray.getShort(offset); in getEventOps() 63 return pollArray.getShort(offset); in getReventOps()
|
D | NativeObject.java | 202 final short getShort(int offset) { in getShort() method in NativeObject 203 return unsafe.getShort(offset + address); in getShort()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 129 try { Array.getShort(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetShort() 130 assertEquals((int) bytes[0], Array.getShort(bytes, 0)); in testGetShort() 131 try { Array.getShort(chars, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetShort() 132 try { Array.getShort(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetShort() 133 try { Array.getShort(floats, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetShort() 134 try { Array.getShort(ints, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetShort() 135 try { Array.getShort(longs, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetShort() 136 assertEquals(shorts[0], Array.getShort(shorts, 0)); in testGetShort() 137 try { Array.getShort(null, 0); fail(); } catch (NullPointerException expected) {} in testGetShort()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 257 public short getShort() { in getShort() method in HeapByteBuffer 258 return Bits.getShort(this, ix(nextGetIndex(2)), bigEndian); in getShort() 262 public short getShort(int i) { in getShort() method in HeapByteBuffer 263 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian); in getShort() 268 return Bits.getShort(this, ix(i), bigEndian); in getShortUnchecked()
|
D | DirectByteBuffer.java | 451 private short getShort(long a) { in getShort() method in DirectByteBuffer 456 public final short getShort() { in getShort() method in DirectByteBuffer 460 return getShort(ix(nextGetIndex(Short.BYTES))); in getShort() 464 public final short getShort(int i) { in getShort() method in DirectByteBuffer 468 return getShort(ix(checkIndex(i, Short.BYTES))); in getShort() 476 return getShort(ix(i)); in getShortUnchecked()
|
D | ByteBuffer.java | 1200 public abstract short getShort(); in getShort() method in ByteBuffer 1240 public abstract short getShort(int index); in getShort() method in ByteBuffer
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ArrayTest.java | 446 ret = Array.getShort(x, 0); in test_getShortLjava_lang_ObjectI() 452 ret = Array.getShort(new Object(), 0); in test_getShortLjava_lang_ObjectI() 462 ret = Array.getShort(x, 4); in test_getShortLjava_lang_ObjectI() 472 ret = Array.getShort(null, 0); in test_getShortLjava_lang_ObjectI() 955 assertEquals("Get returned incorrect value", 1, Array.getShort(x, 0)); in test_setShortLjava_lang_ObjectIS()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 102 public abstract short getShort(); in getShort() method in ByteBuffer 106 public abstract short getShort(int index); in getShort() method in ByteBuffer
|
D | DirectByteBuffer.annotated.java | 108 public final short getShort() { throw new RuntimeException("Stub!"); } in getShort() method in DirectByteBuffer 111 public final short getShort(int i) { throw new RuntimeException("Stub!"); } in getShort() method in DirectByteBuffer
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 203 private short getShort(long a) { in getShort() method in DirectByteBuffer 207 public final short getShort() { in getShort() method in DirectByteBuffer 211 public final short getShort(int i) { in getShort() method in DirectByteBuffer
|
D | ByteBuffer.java | 167 public abstract short getShort(); in getShort() method in ByteBuffer 171 public abstract short getShort(int index); in getShort() method in ByteBuffer
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | DatabaseMetaDataTest.java | 202 .getShort("SCOPE")); in test_getBestRowIdentifierLjava_lang_StringLjava_lang_StringLjava_lang_StringIZ() 480 .getShort("KEY_SEQ")); in test_getCrossReferenceLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 483 .getShort("UPDATE_RULE")); in test_getCrossReferenceLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 486 .getShort("DELETE_RULE")); in test_getCrossReferenceLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 491 .getShort("DEFERRABILITY")); in test_getCrossReferenceLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() 718 .getShort("KEY_SEQ")); in test_getImportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 721 .getShort("UPDATE_RULE")); in test_getImportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 724 .getShort("DELETE_RULE")); in test_getImportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 730 .getShort("DEFERRABILITY")); in test_getImportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 851 assertEquals("Incorrect sequence number", 1, rs.getShort("KEY_SEQ")); in test_getPrimaryKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() [all …]
|
D | DatabaseMetaDataNotSupportedTest.java | 283 rs.getShort("TYPE")); in test_getIndexInfoLjava_lang_StringLjava_lang_StringLjava_lang_StringZZ() 285 .getShort("ORDINAL_POSITION")); in test_getIndexInfoLjava_lang_StringLjava_lang_StringLjava_lang_StringZZ() 380 .getShort("KEY_SEQ")); in test_getExportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 383 .getShort("UPDATE_RULE")); in test_getExportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 386 .getShort("DELETE_RULE")); in test_getExportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String() 392 .getShort("DEFERRABILITY")); in test_getExportedKeysLjava_lang_StringLjava_lang_StringLjava_lang_String()
|
/libcore/ojluni/src/main/java/java/io/ |
D | Bits.java | 48 static short getShort(byte[] b, int off) { in getShort() method in Bits
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 395 public native short getShort(Object obj, long offset); in getShort() method in Unsafe 549 public native short getShort(long address); in getShort() method in Unsafe
|
/libcore/ojluni/annotations/hiddenapi/sun/misc/ |
D | Unsafe.java | 146 public native short getShort(java.lang.Object obj, long offset); in getShort() method in Unsafe 198 public native short getShort(long address); in getShort() method in Unsafe
|
/libcore/ojluni/src/main/java/java/sql/ |
D | CallableStatement.java | 220 short getShort(int parameterIndex) throws SQLException; in getShort() method 1405 short getShort(String parameterName) throws SQLException; in getShort() method
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 181 static void getShort(MethodHandle m, ValueHolder v, short value, boolean expectFailure) in getShort() method in MethodHandleAccessorsTest 194 static void getShort(MethodHandle m, short value, boolean expectFailure) throws Throwable { in getShort() method in MethodHandleAccessorsTest 195 getShort(m, null, value, expectFailure); in getShort() 480 getShort(methodHandle, valueHolder, shortValue, in tryAccessor() 482 getShort(methodHandle, shortValue, in tryAccessor()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldResultSetGetterTests.java | 806 short shorty = res.getShort(6); in testGetShortInt() 810 shorty = res.getShort(6); in testGetShortInt() 814 res.getShort(500); in testGetShortInt() 822 short shorty = res.getShort("Sint"); in testGetShortString() 826 shorty = res.getShort("Sint"); in testGetShortString() 830 res.getShort("bla"); in testGetShortString()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 103 public native short getShort(java.lang.Object obj) in getShort() method in Field
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Array.annotated.java | 50 public static short getShort(@libcore.util.NonNull java.lang.Object array, int index) throws java.l… in getShort() method in Array
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Field.java | 456 public native short getShort(Object obj) in getShort() method in Field
|
D | Array.java | 305 public static short getShort(Object array, int index) in getShort() method in Array
|