/libcore/luni/src/test/java/tests/java/sql/ |
D | MultiThreadAccessTest.java | 197 .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 …]
|
D | SelectFunctionalityTest.java | 147 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 …]
|
D | UpdateFunctionalityTest2.java | 235 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()
|
D | InsertFunctionalityTest.java | 198 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()
|
D | DeleteFunctionalityTest.java | 197 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()
|
D | StressTest.java | 205 * maxConnections, rs.getInt("counter")); in testInsertOfManyRowsUsingOneThread() 248 * numConnections, rs.getInt("counter")); in testInsertOfManyRowsUsingManyThreads()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
D | OSMemory.java | 319 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()
|
D | PlatformAddress.java | 115 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/ |
D | ZoneInfoDB.java | 200 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/ |
D | DirectByteBuffer.java | 162 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()
|
D | HeapByteBuffer.java | 105 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
|
D | IntToByteBufferAdapter.java | 141 return byteBuffer.getInt(position++ << 2); in get() 149 return byteBuffer.getInt(index << 2); in get()
|
D | MappedByteBufferAdapter.java | 191 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()
|
D | ByteBuffer.java | 537 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/ |
D | IntArrayWrapper.java | 35 public int getInt(int index){ in getInt() method in IntArrayWrapper
|
/libcore/luni/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/ |
D | AbstractPreferencesTest.java | 235 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/ |
D | StatsStore.java | 87 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/ |
D | JSONArrayTest.java | 208 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()
|
D | JSONObjectTest.java | 63 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/ |
D | ArrayTest.java | 382 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/ |
D | InputStreamHelper.java | 110 pos = BAIS_POS.getInt(bais); in expose()
|
/libcore/luni/src/main/java/sun/misc/ |
D | Unsafe.java | 247 public native int getInt(Object obj, long offset); in getInt() method in Unsafe
|
/libcore/luni/src/main/java/java/lang/reflect/ |
D | Array.java | 274 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/ |
D | Preferences.java | 391 public abstract int getInt(String key, int deflt); in getInt() method in Preferences
|
/libcore/luni/src/test/java/org/apache/harmony/luni/platform/ |
D | OSMemoryTest.java | 83 assertEquals(expectedValues[i], OSMemory.getInt(ptr + PlatformAddress.SIZEOF_JINT * i)); in assertIntsEqual()
|