Home
last modified time | relevance | path

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

12

/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/ojluni/annotations/mmodule/java/io/
DFileDescriptor.annotated.java43 public void setInt$(int fd) { throw new RuntimeException("Stub!"); } in setInt$()
/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()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileDescriptor.java53 public void setInt$(int fd) { in setInt$()
/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/ojluni/src/main/java/java/io/
DFileDescriptor.java165 public final void setInt$(int fd) { in setInt$()
/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()
297 ps.setInt(1, 1); in testExecuteQuery()
312 ps.setInt(1, 5); in testExecuteQuery()
348 ps.setInt(1, 2); in testExecuteUpdate()
351 ps.setInt(1, 1); in testExecuteUpdate()
448 ps.setInt(1, 2); in testClearParameters()
457 ps.setInt(1, 2); in testClearParameters()
[all …]
/libcore/luni/src/test/java/libcore/java/io/
DFileDescriptorTest.java61 target.setInt$(source.getInt$()); in testFileDescriptorCloneForFork()
/libcore/ojluni/src/main/java/java/net/
DPlainSocketImpl.java128 fd.setInt$(IoBridge.socket(AF_INET6, isStream ? SOCK_STREAM : SOCK_DGRAM, 0).getInt$()); in socketCreate()
203 s.fd.setInt$(newfd.getInt$()); in socketAccept()
/libcore/luni/src/test/java/libcore/java/util/zip/
DZipFileTest.java49 fd.setInt$(zipFile.getFileDescriptor()); in testZipFileOffsetNeverChangesAfterInit()
/libcore/ojluni/src/main/java/javax/sql/
DRowSet.java629 void setInt(int parameterIndex, int x) throws SQLException; in setInt() method
645 void setInt(String parameterName, int x) throws SQLException; in setInt() method
/libcore/ojluni/src/main/java/java/lang/reflect/
DArray.java493 setInt(array, index, ((Integer) value).intValue()); in set()
657 public static void setInt(Object array, int index, int i) in setInt() method in Array
DField.java798 public native void setInt(Object obj, int i) in setInt() method in Field
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandleAccessorsTest.java198 static void setInt(MethodHandle m, ValueHolder v, int value, boolean expectFailure) in setInt() method in MethodHandleAccessorsTest
215 static void setInt(MethodHandle m, int value, boolean expectFailure) throws Throwable { in setInt() method in MethodHandleAccessorsTest
216 setInt(m, null, value, expectFailure); in setInt()
486 setInt(methodHandle, valueHolder, intValue, in tryAccessor()
488 setInt(methodHandle, intValue, in tryAccessor()
/libcore/ojluni/src/main/java/java/sql/
DPreparedStatement.java169 void setInt(int parameterIndex, int x) throws SQLException; in setInt() method
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/
DField.java133 public native void setInt(java.lang.Object obj, int i) in setInt() method in Field
/libcore/ojluni/annotations/sdk/nullability/java/lang/reflect/
DArray.annotated.java70 public static void setInt(@libcore.util.NonNull java.lang.Object array, int index, int i) throws ja… in setInt() method in Array
DField.annotated.java86 public native void setInt(@libcore.util.Nullable java.lang.Object obj, int i) throws java.lang.Ille… in setInt() method in Field
/libcore/ojluni/src/main/java/java/lang/
DUNIXProcess.java153 fileDescriptor.setInt$(fd);
/libcore/benchmarks/src/benchmarks/regression/
DReflectionBenchmark.java79 f.setInt(instance, 1); in timeField_setInt()

12