/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 225 …try { Array.setShort(booleans, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) … in testSetShort() 226 … try { Array.setShort(bytes, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetShort() 227 … try { Array.setShort(chars, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetShort() 228 Array.setShort(doubles, 0, shorts[0]); in testSetShort() 229 Array.setShort(floats, 0, shorts[0]); in testSetShort() 230 Array.setShort(ints, 0, shorts[0]); in testSetShort() 231 Array.setShort(longs, 0, shorts[0]); in testSetShort() 232 Array.setShort(shorts, 0, shorts[0]); in testSetShort() 233 try { Array.setShort(null, 0, shorts[0]); fail(); } catch (NullPointerException expected) {} in testSetShort()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ArrayTest.java | 951 Array.setShort(x, 0, (short) 1); in test_setShortLjava_lang_ObjectIS() 957 Array.setShort(new Object(), 0, (short) 9); in test_setShortLjava_lang_ObjectIS() 967 Array.setShort(x, 4, (short) 9); in test_setShortLjava_lang_ObjectIS() 978 Array.setShort(null, 0, (short)0); in test_setShortLjava_lang_ObjectIS()
|
D | FieldTest.java | 304 f.setShort(o, ((Short) value).shortValue()); in setField() 1473 f.setShort(x, Short.MIN_VALUE); in test_setShortLjava_lang_ObjectS() 1485 f.setShort(x, Short.MIN_VALUE); in test_setShortLjava_lang_ObjectS() 1496 f.setShort(null, Short.MIN_VALUE); in test_setShortLjava_lang_ObjectS() 1507 f.setShort(null, Short.MIN_VALUE); in test_setShortLjava_lang_ObjectS()
|
/libcore/ojluni/src/main/java/javax/sql/ |
D | RowSet.java | 602 void setShort(int parameterIndex, short x) throws SQLException; in setShort() method 618 void setShort(String parameterName, short x) throws SQLException; in setShort() method
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Array.java | 491 setShort(array, index, ((Short) value).shortValue()); in set() 622 public static void setShort(Object array, int index, short s) in setShort() method in Array
|
D | Field.java | 768 public native void setShort(Object obj, short s) in setShort() method in Field
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandleAccessorsTest.java | 160 static void setShort(MethodHandle m, ValueHolder v, short value, boolean expectFailure) in setShort() method in MethodHandleAccessorsTest 177 static void setShort(MethodHandle m, short value, boolean expectFailure) throws Throwable { in setShort() method in MethodHandleAccessorsTest 178 setShort(m, null, value, expectFailure); in setShort() 476 setShort(methodHandle, valueHolder, shortValue, in tryAccessor() 478 setShort(methodHandle, shortValue, in tryAccessor()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | PreparedStatement.java | 156 void setShort(int parameterIndex, short x) throws SQLException; in setShort() method
|
D | CallableStatement.java | 848 void setShort(String parameterName, short x) throws SQLException; in setShort() method
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Field.java | 130 public native void setShort(java.lang.Object obj, short s) in setShort() method in Field
|
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/ |
D | Array.annotated.java | 68 public static void setShort(@libcore.util.NonNull java.lang.Object array, int index, short s) throw… in setShort() method in Array
|
D | Field.annotated.java | 84 public native void setShort(@libcore.util.Nullable java.lang.Object obj, short s) throws java.lang.… in setShort() method in Field
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | StressTest.java | 326 ps.setShort(6, (short) 3);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldPreparedStatementTest.java | 1073 ps.setShort(1, Short.MAX_VALUE); in testSetShort() 1087 ps.setShort(1, Short.MIN_VALUE); in testSetShort() 1103 ps.setShort(1, Short.MIN_VALUE); in testSetShort() 1111 ps1.setShort(1, Short.MAX_VALUE); in testSetShort() 1115 ps2.setShort(1, Short.MAX_VALUE); in testSetShort()
|