/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 …]
|
/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/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/ojluni/src/main/java/jdk/internal/misc/ |
D | Unsafe.java | 227 public native short getShort(Object o, long offset); in getShort() method in Unsafe 389 public native short getShort(long address); in getShort() method in Unsafe 3855 return makeLong(getShort(o, offset), in getLongUnaligned() 3856 getShort(o, offset + 2), in getLongUnaligned() 3857 getShort(o, offset + 4), in getLongUnaligned() 3858 getShort(o, offset + 6)); in getLongUnaligned() 3877 return makeInt(getShort(o, offset), in getIntUnaligned() 3878 getShort(o, offset + 2)); in getIntUnaligned()
|
/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()
|
D | FieldTest.java | 257 res = Short.valueOf(f.getShort(o)); in getField() 1001 val = f.getShort(x); in test_getShortLjava_lang_Object() 1011 f.getShort(x); in test_getShortLjava_lang_Object() 1025 f.getShort(null); in test_getShortLjava_lang_Object() 1038 short staticValue = f.getShort(null); in test_getShortLjava_lang_Object() 1474 val = f.getShort(x); in test_setShortLjava_lang_ObjectS() 1508 val = f.getShort(x); in test_setShortLjava_lang_ObjectS()
|
/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/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 549 public short getShort() { in getShort() method in HeapByteBuffer 552 return Bits.getShort(this, ix(nextGetIndex(2)), bigEndian); in getShort() 556 public short getShort(int i) { in getShort() method in HeapByteBuffer 559 return Bits.getShort(this, ix(checkIndex(i, 2)), bigEndian); in getShort() 567 return Bits.getShort(this, ix(i), bigEndian); in getShortUnchecked()
|
D | DirectByteBuffer.java | 482 private short getShort(long a) { in getShort() method in DirectByteBuffer 487 public final short getShort() { in getShort() method in DirectByteBuffer 491 return getShort(ix(nextGetIndex(Short.BYTES))); in getShort() 495 public final short getShort(int i) { in getShort() method in DirectByteBuffer 499 return getShort(ix(checkIndex(i, Short.BYTES))); in getShort() 507 return getShort(ix(i)); in getShortUnchecked()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 210 private short getShort(long a) { in getShort() method in DirectByteBuffer 214 public final short getShort() { in getShort() method in DirectByteBuffer 218 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/annotations/flagged_api/java/nio/ |
D | ByteBuffer.annotated.java | 139 public abstract short getShort(); in getShort() method in ByteBuffer 143 public abstract short getShort(int index); in getShort() method in ByteBuffer
|
/libcore/ojluni/src/test/java/nio/Buffer/ |
D | ByteBufferViews.java | 202 short fromMethodView = bb.getShort(o + i * 2); in testShortGet() 211 short a = bb.getShort(); in testShortGet() 229 short fromFilled = bbfilled.getShort(o + i * 2); in testShortPut() 232 short fromMethodView = bb.getShort(o + i * 2); in testShortPut() 237 short fromFilled = bbfilled.getShort(o + i * 2); in testShortPut() 240 short fromMethodView = bb.getShort(); in testShortPut() 250 short fromFilled = bbfilled.getShort(o + i * 2); in testShortPut() 258 short fromFilled = bbfilled.getShort(o + i * 2); in testShortPut()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Unsafe.java | 396 public native short getShort(Object obj, long offset); in getShort() method in Unsafe 550 public native short getShort(long address); in getShort() method in Unsafe
|
/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/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/annotations/sdk/nullability/java/nio/ |
D | ByteBuffer.annotated.java | 129 public abstract short getShort(); in getShort() method in ByteBuffer 133 public abstract short getShort(int index); in getShort() method in ByteBuffer
|
/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
|