Home
last modified time | relevance | path

Searched refs:setShort (Results 1 – 15 of 15) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DArrayTest.java225 …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/
DArrayTest.java951 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()
DFieldTest.java304 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/
DRowSet.java602 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/
DArray.java491 setShort(array, index, ((Short) value).shortValue()); in set()
622 public static void setShort(Object array, int index, short s) in setShort() method in Array
DField.java768 public native void setShort(Object obj, short s) in setShort() method in Field
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java160 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/
DPreparedStatement.java156 void setShort(int parameterIndex, short x) throws SQLException; in setShort() method
DCallableStatement.java848 void setShort(String parameterName, short x) throws SQLException; in setShort() method
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DArray.annotated.java68 public static void setShort(@libcore.util.NonNull java.lang.Object array, int index, short s) throw… in setShort() method in Array
DField.annotated.java84 public native void setShort(@libcore.util.Nullable java.lang.Object obj, short s) throws java.lang.… in setShort() method in Field
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DField.java130 public native void setShort(java.lang.Object obj, short s) in setShort() method in Field
/libcore/luni/src/test/java/tests/java/sql/
DStressTest.java343 ps.setShort(6, (short) 3);
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java1073 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()
/libcore/api/
Dcurrent.txt4468 …method public static void setShort(@NonNull Object, int, short) throws java.lang.ArrayIndexOutOfBo…
4522 …method public void setShort(@Nullable Object, short) throws java.lang.IllegalAccessException, java…
8962 method public void setShort(String, short) throws java.sql.SQLException;
9407 method public void setShort(int, short) throws java.sql.SQLException;
18466 method public void setShort(int, short) throws java.sql.SQLException;
18467 method public void setShort(String, short) throws java.sql.SQLException;