/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | ArrayTest.java | 225 try { Array.setShort(booleans, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} 226 try { Array.setShort(bytes, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} 227 try { Array.setShort(chars, 0, shorts[0]); fail(); } catch (IllegalArgumentException expected) {} 228 Array.setShort(doubles, 0, shorts[0]); 229 Array.setShort(floats, 0, shorts[0]); 230 Array.setShort(ints, 0, shorts[0]); 231 Array.setShort(longs, 0, shorts[0]); 232 Array.setShort(shorts, 0, shorts[0]); 233 try { Array.setShort(null, 0, shorts[0]); fail(); } catch (NullPointerException expected) {}
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
H A D | ArrayTest.java | 943 * java.lang.reflect.Array#setShort(java.lang.Object, int, short) 947 // java.lang.reflect.Array.setShort(java.lang.Object, int, short) 951 Array.setShort(x, 0, (short) 1); 957 Array.setShort(new Object(), 0, (short) 9); 967 Array.setShort(x, 4, (short) 9); 978 Array.setShort(null, 0, (short)0);
|
H A D | FieldTest.java | 304 f.setShort(o, ((Short) value).shortValue()); 352 * java.lang.reflect.Field#setShort(java.lang.Object, short) 1463 * java.lang.reflect.Field#setShort(java.lang.Object, short) 1467 // java.lang.reflect.Field.setShort(java.lang.Object, short) 1473 f.setShort(x, Short.MIN_VALUE); 1476 fail("Exception during setShort test : " + e.getMessage()); 1485 f.setShort(x, Short.MIN_VALUE); 1496 f.setShort(null, Short.MIN_VALUE); 1507 f.setShort(null, Short.MIN_VALUE);
|
/libcore/ojluni/src/main/java/java/sql/ |
H A D | PreparedStatement.java | 40 * <P><B>Note:</B> The setter methods (<code>setShort</code>, <code>setString</code>, 156 void setShort(int parameterIndex, short x) throws SQLException; method in interface:PreparedStatement
|
H A D | CallableStatement.java | 218 * @see #setShort 846 void setShort(String parameterName, short x) throws SQLException; method in interface:CallableStatement 1400 * @see #setShort
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
H A D | Array.java | 462 setShort(array, index, ((Short) value).shortValue()); 589 public static void setShort(Object array, int index, short value) throws IllegalArgumentException, ArrayIndexOutOfBoundsException { method in class:Array
|
H A D | Field.java | 706 public native void setShort(Object object, short value) method in class:Field
|
/libcore/ojluni/src/main/java/javax/sql/ |
H A D | RowSet.java | 602 void setShort(int parameterIndex, short x) throws SQLException; method in interface:RowSet 618 void setShort(String parameterName, short x) throws SQLException; method in interface:RowSet
|
/libcore/luni/src/test/java/tests/java/sql/ |
H A D | StressTest.java | 326 ps.setShort(6, (short) 3);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldPreparedStatementTest.java | 1073 ps.setShort(1, Short.MAX_VALUE); 1087 ps.setShort(1, Short.MIN_VALUE); 1103 ps.setShort(1, Short.MIN_VALUE); 1111 ps1.setShort(1, Short.MAX_VALUE); 1115 ps2.setShort(1, Short.MAX_VALUE);
|