Home
last modified time | relevance | path

Searched refs:getInt (Results 1 – 25 of 46) sorted by relevance

12

/libcore/luni/src/test/java/tests/java/sql/
DMultiThreadAccessTest.java197 .getInt("field2")); in test_MultipleOperationsInSeveralTables()
199 .getInt("field3")); in test_MultipleOperationsInSeveralTables()
213 .getInt("field2")); in test_MultipleOperationsInSeveralTables()
215 .getInt("field3")); in test_MultipleOperationsInSeveralTables()
279 + result.getInt("id"), result in createTask1()
281 assertEquals("Wrong value of field2 ", result.getInt("id"), result in createTask1()
282 .getInt("field2")); in createTask1()
283 assertEquals("Wrong value of field3 ",result.getInt("id"), result in createTask1()
284 .getInt("field3")); in createTask1()
310 int id = result.getInt("finteger");
[all …]
DSelectFunctionalityTest.java147 int id = result.getInt("finteger"); in test_SelectSimple()
216 int id = result.getInt("finteger"); in test_SelectPrepared()
229 .getInt("fsmallint")); in test_SelectPrepared()
272 int key = result.getInt("finteger"); in test_SubSelect()
315 int key = result.getInt("onum"); in test_SelectThreeTables()
316 int val = result.getInt("cnum"); in test_SelectThreeTables()
350 int key = result.getInt("cnum"); in test_SelectUnionItself()
385 int key = result.getInt("ssnum"); in test_SelectLeftOuterJoin()
425 int key = result.getInt("ssnum"); in test_SelectRightOuterJoin()
458 int rating = result.getInt("rating"); in test_SelectGroupBy()
[all …]
DUpdateFunctionalityTest2.java235 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testUpdate5()
239 assertEquals("Should be 0 rows", 0, r.getInt(1)); in testUpdate5()
299 assertEquals("Should be 1 row", 1, r.getInt(1)); in testUpdate7()
334 assertEquals("Incorrect id updated", 1, r.getInt(1)); in testUpdate8()
364 .getInt(1)).toString(), r.getString(2)); in testUpdate9()
DInsertFunctionalityTest.java198 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testInsert3()
230 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testInsert4()
260 assertEquals("Should be 3 rows", 3, r.getInt(1)); in testInsert5()
288 assertEquals("Incorrect number of records", 2, r.getInt(1)); in testInsertPrepared()
DDeleteFunctionalityTest.java197 assertEquals("Should be no rows", 0, r.getInt(1)); in testDelete5()
220 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testDelete6()
245 assertEquals(0, r.getInt(1)); in testDelete7()
DStressTest.java205 * maxConnections, rs.getInt("counter")); in testInsertOfManyRowsUsingOneThread()
248 * numConnections, rs.getInt("counter")); in testInsertOfManyRowsUsingManyThreads()
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/
DOSMemory.java319 public static native int getInt(int address); in getInt() method in OSMemory
321 public static int getInt(int address, ByteOrder byteOrder) { in getInt() method in OSMemory
323 ? getInt(address) in getInt()
324 : Integer.reverseBytes(getInt(address)); in getInt()
416 int floatBits = Integer.reverseBytes(getInt(address)); in getFloat()
DPlatformAddress.java115 int addr = getInt(offset); in getAddress()
193 public final int getInt(int offset, ByteOrder order) { in getInt() method in PlatformAddress
195 return OSMemory.getInt(osaddr + offset, order); in getInt()
198 public final int getInt(int offset) { in getInt() method in PlatformAddress
200 return OSMemory.getInt(osaddr + offset); in getInt()
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
DZoneInfoDB.java200 if (data.getInt() != 0x545a6966) { // "TZif" in makeTimeZone()
208 int tzh_timecnt = data.getInt(); in makeTimeZone()
209 int tzh_typecnt = data.getInt(); in makeTimeZone()
210 int tzh_charcnt = data.getInt(); in makeTimeZone()
214 transitions[i] = data.getInt(); in makeTimeZone()
224 gmtOffsets[i] = data.getInt(); in makeTimeZone()
/libcore/luni/src/main/java/java/nio/
DDirectByteBuffer.java162 public final int getInt() { in getInt() method in DirectByteBuffer
167 int result = getBaseAddress().getInt(offset + position, order); in getInt()
173 public final int getInt(int index) { in getInt() method in DirectByteBuffer
177 return getBaseAddress().getInt(offset + index, order); in getInt()
DHeapByteBuffer.java105 return Float.intBitsToFloat(getInt()); in getFloat()
110 return Float.intBitsToFloat(getInt(index)); in getFloat()
114 public final int getInt() { in getInt() method in HeapByteBuffer
125 public final int getInt(int index) { in getInt() method in HeapByteBuffer
DIntToByteBufferAdapter.java141 return byteBuffer.getInt(position++ << 2); in get()
149 return byteBuffer.getInt(index << 2); in get()
DMappedByteBufferAdapter.java191 public int getInt() { in getInt() method in MappedByteBufferAdapter
194 int result = this.wrapped.getInt(); in getInt()
200 public int getInt(int index) { in getInt() method in MappedByteBufferAdapter
203 return this.wrapped.getInt(index); in getInt()
DByteBuffer.java537 public abstract int getInt(); in getInt() method in ByteBuffer
553 public abstract int getInt(int index); in getInt() method in ByteBuffer
/libcore/luni/src/main/java/org/apache/xml/utils/res/
DIntArrayWrapper.java35 public int getInt(int index){ in getInt() method in IntArrayWrapper
/libcore/luni/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
DAbstractPreferencesTest.java235 assertEquals(33, pref.getInt("IntValue", 22)); in testClear()
239 assertEquals(22, pref.getInt("IntValue", 22)); in testClear()
269 assertEquals(299792458, pref.getInt("IntValue", new Integer(1))); in testPutInt()
315 assertEquals(1, pref.getInt("Value", new Integer(1))); in testGetInt()
316 assertEquals(1, pref.getInt("LongValue", new Integer(1))); in testGetInt()
317 assertEquals(1, pref.getInt("DoubleValue", new Integer(1))); in testGetInt()
318 assertEquals(299792458, pref.getInt("IntValue", new Integer(1))); in testGetInt()
321 pref.getInt(null, new Integer(1)); in testGetInt()
330 pref.getInt("IntValue", new Integer(1)); in testGetInt()
1151 assertEquals(33, parent.getInt("IntValue", 22)); in testAddPreferenceChangeListener()
[all …]
/libcore/luni/src/test/java/com/google/coretests/
DStatsStore.java87 a.id = row.getInt(pos); pos++; in use1()
88 a.bestRes = row.getInt(pos); pos++; in use1()
90 a.lastRes = row.getInt(pos); pos++; in use1()
92 a.statCount = row.getInt(pos); pos++; in use1()
/libcore/json/src/test/java/org/json/
DJSONArrayTest.java208 assertEquals(0, array.getInt(0)); in testNumbers()
209 assertEquals(-2, array.getInt(1)); in testNumbers()
210 assertEquals(Integer.MAX_VALUE, array.getInt(2)); in testNumbers()
211 assertEquals(0, array.getInt(3)); in testNumbers()
265 assertEquals(5, array.getInt(1)); in testStrings()
272 assertEquals(Integer.MAX_VALUE, array.getInt(2)); in testStrings()
DJSONObjectTest.java63 object.getInt("foo"); in testEmptyObject()
275 assertEquals(0, object.getInt("foo")); in testNumbers()
276 assertEquals(-2, object.getInt("bar")); in testNumbers()
277 assertEquals(Integer.MAX_VALUE, object.getInt("baz")); in testNumbers()
278 assertEquals(0, object.getInt("quux")); in testNumbers()
414 assertEquals(5, object.getInt("bar")); in testStrings()
421 assertEquals(Integer.MAX_VALUE, object.getInt("baz")); in testStrings()
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DArrayTest.java382 ret = Array.getInt(x, 0); in test_getIntLjava_lang_ObjectI()
388 ret = Array.getInt(new Object(), 0); in test_getIntLjava_lang_ObjectI()
398 ret = Array.getInt(x, 4); in test_getIntLjava_lang_ObjectI()
408 ret = Array.getInt(null, 0); in test_getIntLjava_lang_ObjectI()
983 assertEquals("Get returned incorrect value", 1, Array.getInt(x, 0)); in test_setIntLjava_lang_ObjectII()
/libcore/luni/src/main/java/org/apache/harmony/luni/util/
DInputStreamHelper.java110 pos = BAIS_POS.getInt(bais); in expose()
/libcore/luni/src/main/java/sun/misc/
DUnsafe.java247 public native int getInt(Object obj, long offset); in getInt() method in Unsafe
/libcore/luni/src/main/java/java/lang/reflect/
DArray.java274 public static int getInt(Object array, int index) in getInt() method in Array
356 return getInt(array, index); in getLong()
/libcore/luni/src/main/java/java/util/prefs/
DPreferences.java391 public abstract int getInt(String key, int deflt); in getInt() method in Preferences
/libcore/luni/src/test/java/org/apache/harmony/luni/platform/
DOSMemoryTest.java83 assertEquals(expectedValues[i], OSMemory.getInt(ptr + PlatformAddress.SIZEOF_JINT * i)); in assertIntsEqual()

12