/libcore/luni/src/test/java/libcore/java/io/ |
D | FileDescriptorTest.java | 61 target.setInt$(source.getInt$()); in testFileDescriptorCloneForFork() 62 assertEquals(target.getInt$(), source.getInt$()); in testFileDescriptorCloneForFork() 68 assertNotEquals(target.getInt$(), source.getInt$()); in testFileDescriptorCloneForFork()
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | MultiThreadAccessTest.java | 173 .getInt("field2")); in test_MultipleOperationsInSeveralTables() 175 .getInt("field3")); in test_MultipleOperationsInSeveralTables() 189 .getInt("field2")); in test_MultipleOperationsInSeveralTables() 191 .getInt("field3")); in test_MultipleOperationsInSeveralTables() 249 + result.getInt("id"), result in createTask1() 251 assertEquals("Wrong value of field2 ", result.getInt("id"), result in createTask1() 252 .getInt("field2")); in createTask1() 253 assertEquals("Wrong value of field3 ",result.getInt("id"), result in createTask1() 254 .getInt("field3")); in createTask1() 280 int id = result.getInt("finteger"); [all …]
|
D | SelectFunctionalityTest.java | 136 int id = result.getInt("finteger"); in test_SelectSimple() 199 int id = result.getInt("finteger"); in test_SelectPrepared() 212 .getInt("fsmallint")); in test_SelectPrepared() 249 int key = result.getInt("finteger"); in test_SubSelect() 286 int key = result.getInt("onum"); in test_SelectThreeTables() 287 int val = result.getInt("cnum"); in test_SelectThreeTables() 315 int key = result.getInt("cnum"); in test_SelectUnionItself() 344 int key = result.getInt("ssnum"); in test_SelectLeftOuterJoin() 378 int key = result.getInt("ssnum"); in test_SelectRightOuterJoin() 405 int rating = result.getInt("rating"); in test_SelectGroupBy() [all …]
|
D | UpdateFunctionalityTest2.java | 192 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testUpdate5() 196 assertEquals("Should be 0 rows", 0, r.getInt(1)); in testUpdate5() 235 assertEquals("Should be 1 row", 1, r.getInt(1)); in testUpdate7() 256 assertEquals("Incorrect id updated", 1, r.getInt(1)); in testUpdate8() 280 .getInt(1)).toString(), r.getString(2)); in testUpdate9()
|
D | InsertFunctionalityTest.java | 165 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testInsert3() 183 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testInsert4() 199 assertEquals("Should be 3 rows", 3, r.getInt(1)); in testInsert5() 221 assertEquals("Incorrect number of records", 2, r.getInt(1)); in testInsertPrepared()
|
D | DeleteFunctionalityTest.java | 161 assertEquals("Should be no rows", 0, r.getInt(1)); in testDelete5() 178 assertEquals("Should be 2 rows", 2, r.getInt(1)); in testDelete6() 197 assertEquals(0, r.getInt(1)); in testDelete7()
|
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
D | OldAbstractPreferencesTest.java | 191 assertEquals(33, pref.getInt("IntValue", 22)); in testClear() 195 assertEquals(22, pref.getInt("IntValue", 22)); in testClear() 219 assertEquals(299792458, pref.getInt("IntValue", new Integer(1))); in testPutInt() 259 assertEquals(1, pref.getInt("Value", new Integer(1))); in testGetInt() 260 assertEquals(1, pref.getInt("LongValue", new Integer(1))); in testGetInt() 261 assertEquals(1, pref.getInt("DoubleValue", new Integer(1))); in testGetInt() 262 assertEquals(299792458, pref.getInt("IntValue", new Integer(1))); in testGetInt() 265 pref.getInt(null, new Integer(1)); in testGetInt() 274 pref.getInt("IntValue", new Integer(1)); in testGetInt() 913 assertEquals(33, parent.getInt("IntValue", 22)); in testAddPreferenceChangeListener() [all …]
|
D | OldPreferencesTest.java | 89 p.getInt(null, 1); in testAbstractMethods() 272 pref.getInt(null, 0); in testGetInt() 279 assertEquals(1, pref.getInt("testGetIntKey", 0)); in testGetInt() 280 assertEquals(0, pref.getInt("testGetIntKey2", 0)); in testGetInt() 293 assertEquals(1, pref.getInt("testGetLongKey", 0)); in testGetLong() 294 assertEquals(0, pref.getInt("testGetLongKey2", 0)); in testGetLong() 534 assertEquals(3, pref.getInt("testPutIntKey", 0)); in testPutInt() 1019 public int getInt(String key, int deflt) { in getInt() method in OldPreferencesTest.MockPreferences
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | EPoll.java | 90 return unsafe.getInt(eventAddress + OFFSETOF_FD); in getDescriptor() 97 return unsafe.getInt(eventAddress + OFFSETOF_EVENTS); in getEvents()
|
D | NativeObject.java | 130 newAddress = unsafe.getInt(offset + address) & 0x00000000FFFFFFFF; in getObject() 256 final int getInt(int offset) { in getInt() method in NativeObject 257 return unsafe.getInt(offset + address); in getInt()
|
D | AbstractPollArrayWrapper.java | 68 return pollArray.getInt(offset); in getDescriptor()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessImpl.java | 109 std_fds[0] = f0.getFD().getInt$(); in start() 121 std_fds[1] = f1.getFD().getInt$(); in start() 133 std_fds[2] = f2.getFD().getInt$(); in start()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ArrayTest.java | 105 try { Array.getInt(booleans, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetInt() 106 assertEquals((int) bytes[0], Array.getInt(bytes, 0)); in testGetInt() 107 assertEquals((int) chars[0], Array.getInt(chars, 0)); in testGetInt() 108 try { Array.getInt(doubles, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetInt() 109 try { Array.getInt(floats, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetInt() 110 assertEquals(ints[0], Array.getInt(ints, 0)); in testGetInt() 111 try { Array.getInt(longs, 0); fail(); } catch (IllegalArgumentException expected) {} in testGetInt() 112 assertEquals((int) shorts[0], Array.getInt(shorts, 0)); in testGetInt() 113 try { Array.getInt(null, 0); fail(); } catch (NullPointerException expected) {} in testGetInt()
|
/libcore/luni/src/test/java/libcore/java/nio/ |
D | OldAndroidNIOTest.java | 257 assertEquals(0xA3A2A1A0, b.getInt()); in byteBufferTest() 258 assertEquals(0xA7A6A5A4, b.getInt()); in byteBufferTest() 259 assertEquals(0xABAAA9A8, b.getInt()); in byteBufferTest() 261 bb.getInt(); in byteBufferTest() 269 assertEquals(0xA0A1A2A3, b.getInt()); in byteBufferTest() 270 assertEquals(0xA4A5A6A7, b.getInt()); in byteBufferTest() 271 assertEquals(0xA8A9AAAB, b.getInt()); in byteBufferTest() 273 bb.getInt(); in byteBufferTest() 344 assertEquals(0xA1A2A3A4, bb.getInt(0)); in byteBufferTest() 346 assertEquals(0xA4A3A2A1, bb.getInt(0)); in byteBufferTest()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 482 return (byte) frameBuf.getInt(); in nextByte() 488 return frameBuf.getInt(); in nextInt() 500 return (char) frameBuf.getInt(); in nextChar() 506 return (frameBuf.getInt() != 0); in nextBoolean() 512 return (short) frameBuf.getInt(); in nextShort()
|
/libcore/ojluni/src/main/java/java/io/ |
D | Bits.java | 53 static int getInt(byte[] b, int off) { in getInt() method in Bits 61 return Float.intBitsToFloat(getInt(b, off)); in getFloat()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | HeapByteBuffer.java | 318 public int getInt() { in getInt() method in HeapByteBuffer 319 return Bits.getInt(this, ix(nextGetIndex(4)), bigEndian); in getInt() 323 public int getInt(int i) { in getInt() method in HeapByteBuffer 324 return Bits.getInt(this, ix(checkIndex(i, 4)), bigEndian); in getInt() 329 return Bits.getInt(this, ix(i), bigEndian); in getIntUnchecked()
|
/libcore/ojluni/src/main/java/java/net/ |
D | PlainSocketImpl.java | 128 fd.setInt$(IoBridge.socket(AF_INET6, isStream ? SOCK_STREAM : SOCK_DGRAM, 0).getInt$()); in socketCreate() 203 s.fd.setInt$(newfd.getInt$()); in socketAccept() 237 Libcore.os.dup2(markerFD, fd.getInt$()); in socketClose0()
|
/libcore/json/src/test/java/libcore/org/json/ |
D | JSONArrayTest.java | 227 assertEquals(0, array.getInt(0)); in testNumbers() 228 assertEquals(-2, array.getInt(1)); in testNumbers() 229 assertEquals(Integer.MAX_VALUE, array.getInt(2)); in testNumbers() 230 assertEquals(0, array.getInt(3)); in testNumbers() 284 assertEquals(5, array.getInt(1)); in testStrings() 291 assertEquals(Integer.MAX_VALUE, array.getInt(2)); in testStrings()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | ArrayTest.java | 334 ret = Array.getInt(x, 0); in test_getIntLjava_lang_ObjectI() 340 ret = Array.getInt(new Object(), 0); in test_getIntLjava_lang_ObjectI() 350 ret = Array.getInt(x, 4); in test_getIntLjava_lang_ObjectI() 360 ret = Array.getInt(null, 0); in test_getIntLjava_lang_ObjectI() 863 assertEquals("Get returned incorrect value", 1, Array.getInt(x, 0)); in test_setIntLjava_lang_ObjectII()
|
/libcore/ojluni/annotations/mmodule/java/nio/ |
D | ByteBuffer.annotated.java | 112 public abstract int getInt(); in getInt() method in ByteBuffer 116 public abstract int getInt(int index); in getInt() method in ByteBuffer
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileDescriptor.java | 48 public int getInt$() { in getInt$()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/ |
D | DirectByteBuffer.java | 247 private int getInt(long a) { in getInt() method in DirectByteBuffer 251 public int getInt() { in getInt() method in DirectByteBuffer 255 public int getInt(int i) { in getInt() method in DirectByteBuffer
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxWatchService.java | 365 int wd = unsafe.getInt(event + OFFSETOF_WD); in run() 366 int mask = unsafe.getInt(event + OFFSETOF_MASK); in run() 367 int len = unsafe.getInt(event + OFFSETOF_LEN); in run()
|
/libcore/ojluni/annotations/mmodule/java/io/ |
D | FileDescriptor.annotated.java | 41 public int getInt$() { throw new RuntimeException("Stub!"); } in getInt$()
|