/libcore/luni/src/test/java/tests/java/sql/ |
D | InsertFunctionalityTest.java | 208 PreparedStatement stat = conn.prepareStatement("INSERT INTO " in testInsertPrepared() local 210 stat.setInt(1, 1); in testInsertPrepared() 211 stat.setString(2, "1"); in testInsertPrepared() 212 stat.execute(); in testInsertPrepared() 213 stat.setInt(1, 2); in testInsertPrepared() 214 stat.setString(2, "3"); in testInsertPrepared() 215 stat.execute(); in testInsertPrepared() 223 stat.close(); in testInsertPrepared()
|
D | UpdateFunctionalityTest2.java | 266 PreparedStatement stat = conn.prepareStatement("UPDATE " in testUpdate9() local 269 stat.setString(1, "1"); in testUpdate9() 270 stat.setInt(2, 1); in testUpdate9() 271 stat.execute(); in testUpdate9() 272 stat.setString(1, "2"); in testUpdate9() 273 stat.setInt(2, 2); in testUpdate9() 274 stat.execute(); in testUpdate9() 283 stat.close(); in testUpdate9()
|
D | DeleteFunctionalityTest.java | 188 PreparedStatement stat = conn.prepareStatement("DELETE FROM " in testDelete7() local 190 stat.setInt(1, 1); in testDelete7() 191 stat.execute(); in testDelete7() 192 stat.setInt(1, 2); in testDelete7() 193 stat.execute(); in testDelete7() 199 stat.close(); in testDelete7()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | SubmissionPublisher.java | 416 int stat = b.offer(item, unowned); in doOffer() local 417 if (stat == 0) { // saturated; add to retry list in doOffer() 425 else if (stat < 0) // closed in doOffer() 427 else if (stat > lag) in doOffer() 428 lag = stat; in doOffer() 456 int stat = r.retryOffer(item); in retryOffer() local 457 if (stat == 0 && onDrop != null && onDrop.test(r.subscriber, item)) in retryOffer() 458 stat = r.retryOffer(item); in retryOffer() 459 if (stat == 0) in retryOffer() 461 else if (stat < 0) in retryOffer() [all …]
|
D | SynchronousQueue.java | 374 int stat = -1; // -1: may yield, +1: park, else 0 in transfer() local 386 } else if (stat <= 0) { in transfer() 387 if (stat < 0 && h == null && head == s) { in transfer() 388 stat = 0; // yield once if was empty in transfer() 391 stat = 1; in transfer() 403 if (stat == 1) in transfer() 673 int stat = -1; // same idea as TransferStack in transfer() local 685 } else if (stat <= 0) { in transfer() 687 if (stat < 0 && t.isFulfilled()) { in transfer() 688 stat = 0; // yield once if first in transfer() [all …]
|
D | LinkedTransferQueue.java | 640 int stat = -1; // -1: may yield, +1: park, else 0 in awaitMatch() local 651 else if (stat <= 0) { in awaitMatch() 653 if (stat < 0 && in awaitMatch() 655 stat = 0; // yield once if first in awaitMatch() 659 stat = 1; in awaitMatch() 679 if (stat == 1) in awaitMatch()
|
D | ForkJoinTask.java | 1480 boolean stat = super.cancel(false); in cancel() 1487 return stat; in cancel()
|
/libcore/luni/src/test/native/ |
D | libcore_java_io_FileTest.cpp | 36 struct stat sb; in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs() 37 int ret = stat(subDir.c_str(), &sb); in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs() 47 ret = stat(subFile.c_str(), &sb); in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | OldStatementTest.java | 805 Statement stat = conn.createStatement(); in testExecuteUpdate_String() local 808 assertEquals(0 ,stat.executeUpdate("create table s1 (c1);")); in testExecuteUpdate_String() 810 assertEquals(1, stat.executeUpdate("insert into s1 values (0);")); in testExecuteUpdate_String() 811 assertEquals(1, stat.executeUpdate("insert into s1 values (1);")); in testExecuteUpdate_String() 812 assertEquals(1, stat.executeUpdate("insert into s1 values (2);")); in testExecuteUpdate_String() 813 assertEquals(1,stat.executeUpdate("delete from s1 where c1 = 1;")); in testExecuteUpdate_String() 814 assertEquals(2, stat.executeUpdate("update s1 set c1 = 5;")); in testExecuteUpdate_String() 817 assertEquals(2,stat.executeUpdate("delete from s1;")); in testExecuteUpdate_String() 820 assertEquals(0, stat.executeUpdate("drop table s1;")); in testExecuteUpdate_String() 822 stat.executeUpdate("create table s1 (c1);"); in testExecuteUpdate_String() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 92 Os.stat(path + "1").st_ino, Os.stat(path + "2").st_ino); in testRedirectErrorStream_outputAndErrorAreMerged() 119 Os.stat("/proc/" + childPid + "/fd/0").st_ino, in testRedirectInherit() 120 Os.stat("/proc/" + childPid + "/fd/1").st_ino, in testRedirectInherit() 121 Os.stat("/proc/" + childPid + "/fd/2").st_ino); in testRedirectInherit()
|
/libcore/ojluni/src/main/native/ |
D | FileKey.c | 39 #define stat64 stat
|
D | io_util_md.c | 35 #define stat64 stat
|
D | FileDispatcherImpl.c | 51 #define stat64 stat
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractQueuedLongSynchronizer.java | 620 int stat = acquire(null, arg, false, true, true, in tryAcquireNanos() local 622 if (stat > 0) in tryAcquireNanos() 624 if (stat == 0) in tryAcquireNanos() 708 int stat = acquire(null, arg, true, true, true, in tryAcquireSharedNanos() local 710 if (stat > 0) in tryAcquireSharedNanos() 712 if (stat == 0) in tryAcquireSharedNanos()
|
D | AbstractQueuedSynchronizer.java | 986 int stat = acquire(null, arg, false, true, true, in tryAcquireNanos() local 988 if (stat > 0) in tryAcquireNanos() 990 if (stat == 0) in tryAcquireNanos() 1074 int stat = acquire(null, arg, true, true, true, in tryAcquireSharedNanos() local 1076 if (stat > 0) in tryAcquireSharedNanos() 1078 if (stat == 0) in tryAcquireSharedNanos()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 385 final StructStat stat = Libcore.os.fstat(fd); in FileReader() local 388 capacity = (int) stat.st_size; in FileReader()
|
D | BlockGuardOs.java | 418 @Override public StructStat stat(String path) throws ErrnoException { in stat() method in BlockGuardOs 421 return super.stat(path); in stat()
|
D | ForwardingOs.java | 846 …public @Nullable StructStat stat(@Nullable String path) throws ErrnoException { return os.stat(pat… in stat() method in ForwardingOs
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixNativeDispatcher.java | 283 static void stat(UnixPath path, UnixFileAttributes attrs) throws UnixException { in stat() method in UnixNativeDispatcher 300 static int stat(UnixPath path) { in stat() method in UnixNativeDispatcher
|
D | UnixFileAttributes.java | 70 UnixNativeDispatcher.stat(path, attrs); in get()
|
D | UnixFileSystemProvider.java | 525 int mode = UnixNativeDispatcher.stat(file); in isDirectory() 533 int mode = UnixNativeDispatcher.stat(file); in isRegularFile()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 33 import static android.system.Os.stat; 328 stat(tmpFile.getAbsolutePath()); in testExistsOnSystem()
|
/libcore/ojluni/src/main/java/java/io/ |
D | UnixFileSystem.java | 330 return Libcore.os.stat(f.getPath()).st_size; in getLength()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexFile.java | 161 if (Libcore.os.getuid() != Libcore.os.stat(parent).st_uid) { in DexFile()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 904 … public static StructStat stat(String path) throws ErrnoException { return Libcore.os.stat(path); } in stat() method in Os
|