/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/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() 45 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/ojluni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 1023 int stat; in sharedPush() local 1031 stat = (d < 0 && b == base) ? d : 0; in sharedPush() 1035 stat = 0; in sharedPush() 1039 stat = 1; in sharedPush() 1040 return stat; in sharedPush() 1801 int stat = 0; in awaitWork() local 1805 stat = timedAwaitWork(w, c); // possibly quiescent in awaitWork() 1807 stat = w.qlock = -1; // pool terminating in awaitWork() 1814 stat = w.qlock = -1; // recheck in awaitWork() 1819 return stat; in awaitWork() [all …]
|
/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
|
D | UnixFileSystem_md.c | 54 #define stat64 stat
|
D | UnixNativeDispatcher.c | 54 #define stat64 stat
|
/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/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 339 final StructStat stat = Libcore.os.fstat(fd); in FileReader() local 342 capacity = (int) stat.st_size; in FileReader()
|
D | BlockGuardOs.java | 386 @Override public StructStat stat(String path) throws ErrnoException { in stat() method in BlockGuardOs 389 return super.stat(path); in stat()
|
D | ForwardingOs.java | 222 public StructStat stat(String path) throws ErrnoException { return os.stat(path); } in stat() method in ForwardingOs
|
D | Os.java | 189 public StructStat stat(String path) throws ErrnoException; in stat() method
|
D | Linux.java | 261 public native StructStat stat(String path) throws ErrnoException; in stat() method in Linux
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 32 import static android.system.Os.stat; 325 stat(tmpFile.getAbsolutePath()); in testExistsOnSystem()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixFileAttributes.java | 70 UnixNativeDispatcher.stat(path, attrs); in get()
|
D | UnixNativeDispatcher.java | 283 static void stat(UnixPath path, UnixFileAttributes attrs) throws UnixException { in stat() method in UnixNativeDispatcher
|
/libcore/ojluni/src/main/java/java/io/ |
D | UnixFileSystem.java | 298 return Libcore.os.stat(f.getPath()).st_size; in getLength()
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexFile.java | 140 if (Libcore.os.getuid() != Libcore.os.stat(parent).st_uid) { in DexFile()
|
D | DexPathList.java | 325 StructStat sb = Libcore.os.stat(path); in splitPaths()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 655 … public static StructStat stat(String path) throws ErrnoException { return Libcore.os.stat(path); } in stat() method in Os
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 898 struct stat sb; in TryMap() 1022 struct stat sb; in pathExists() 1023 return stat(path.c_str(), &sb) == 0; in pathExists()
|