Home
last modified time | relevance | path

Searched refs:setInt (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/reflect/
DArrayTest.java201 try { Array.setInt(booleans, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetInt()
202 try { Array.setInt(bytes, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetInt()
203 try { Array.setInt(chars, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetInt()
204 Array.setInt(doubles, 0, ints[0]); in testSetInt()
205 Array.setInt(floats, 0, ints[0]); in testSetInt()
206 Array.setInt(ints, 0, ints[0]); in testSetInt()
207 Array.setInt(longs, 0, ints[0]); in testSetInt()
208 try { Array.setInt(shorts, 0, ints[0]); fail(); } catch (IllegalArgumentException expected) {} in testSetInt()
209 try { Array.setInt(null, 0, ints[0]); fail(); } catch (NullPointerException expected) {} in testSetInt()
DOldAndroidArrayTest.java32 Array.setInt(intArray, 1, 6); in testSingleInt()
/libcore/luni/src/main/java/java/io/
DFileDescriptor.java104 public final void setInt$(int fd) { in setInt$()
DObjectInputStream.java1095 field.setInt(obj, i); in readFieldValues()
/libcore/luni/src/test/java/tests/java/sql/
DDeleteFunctionalityTest.java190 stat.setInt(1, 1); in testDelete7()
192 stat.setInt(1, 2); in testDelete7()
DInsertFunctionalityTest.java210 stat.setInt(1, 1); in testInsertPrepared()
213 stat.setInt(1, 2); in testInsertPrepared()
DUpdateFunctionalityTest2.java270 stat.setInt(2, 1); in testUpdate9()
273 stat.setInt(2, 2); in testUpdate9()
DSelectFunctionalityTest.java184 prepStatement.setInt(1, 1); in test_SelectPrepared()
190 prepStatement.setInt(6, 1); in test_SelectPrepared()
DStressTest.java321 ps.setInt(1, pk);
/libcore/libart/src/main/java/java/lang/reflect/
DField.java766 public void setInt(Object object, int value) throws IllegalAccessException, in setInt() method in Field
768 setInt(object, value, isAccessible()); in setInt()
771 private native void setInt(Object object, int value, boolean accessible) in setInt() method in Field
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DArrayTest.java859 Array.setInt(x, 0, (int) 1); in test_setIntLjava_lang_ObjectII()
865 Array.setInt(new Object(), 0, (int) 9); in test_setIntLjava_lang_ObjectII()
875 Array.setInt(x, 4, (int) 9); in test_setIntLjava_lang_ObjectII()
886 Array.setInt(null, 0, 0); in test_setIntLjava_lang_ObjectII()
DFieldTest.java295 f.setInt(o, ((Integer) value).intValue()); in setField()
1372 f.setInt(x, Integer.MIN_VALUE); in test_setIntLjava_lang_ObjectI()
1384 f.setInt(x, Integer.MIN_VALUE); in test_setIntLjava_lang_ObjectI()
1395 f.setInt(null, Integer.MIN_VALUE); in test_setIntLjava_lang_ObjectI()
1406 f.setInt(null, Integer.MIN_VALUE); in test_setIntLjava_lang_ObjectI()
/libcore/luni/src/test/java/libcore/java/sql/
DOldPreparedStatementTest.java183 ps.setInt(1, 3); in testExecute()
203 ps.setInt(2, 2); in testExecute()
235 ps.setInt(1, 1); in testExecute()
259 ps.setInt(2, 2); in testExecute()
298 ps.setInt(1, 1); in testExecuteQuery()
313 ps.setInt(1, 5); in testExecuteQuery()
350 ps.setInt(1, 2); in testExecuteUpdate()
353 ps.setInt(1, 1); in testExecuteUpdate()
450 ps.setInt(1, 2); in testClearParameters()
459 ps.setInt(1, 2); in testClearParameters()
[all …]
DOldConnectionTest.java1192 prst.setInt(1, 8); in testPrepareStatement_String_int()
1208 prst1.setInt(1, 5); in testPrepareStatement_String_int()
2031 st.setInt(1, 3); in testPrepareStatement_String_int_int_int()
/libcore/luni/src/test/java/libcore/java/util/zip/
DDeflaterOutputStreamTest.java114 f.setInt(def, Deflater.SYNC_FLUSH); in testSyncFlushDeflater()
/libcore/luni/src/main/java/java/lang/reflect/
DArray.java417 setInt(array, index, ((Integer) value).intValue()); in set()
548 …public static void setInt(Object array, int index, int value) throws IllegalArgumentException, Arr… in setInt() method in Array
/libcore/luni/src/main/java/javax/sql/
DRowSet.java979 public void setInt(int parameterIndex, int theInteger) throws SQLException; in setInt() method
992 public void setInt(String parameterName, int theInteger) in setInt() method
/libcore/luni/src/main/java/java/sql/
DPreparedStatement.java388 public void setInt(int parameterIndex, int theInt) throws SQLException; in setInt() method
DCallableStatement.java1112 public void setInt(String parameterName, int theInt) throws SQLException; in setInt() method
/libcore/benchmarks/src/benchmarks/regression/
DReflectionBenchmark.java80 f.setInt(instance, 1); in timeField_setInt()
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java198 fd.setInt$(-1); in closeAndSignalBlockedThreads()
200 oldFd.setInt$(intFd); in closeAndSignalBlockedThreads()
/libcore/luni/src/main/java/java/net/
DPlainSocketImpl.java93 newImpl.fd.setInt$(clientFd.getInt$()); in accept()