/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/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/main/native/ |
D | java_io_File.cpp | 63 struct stat sb; in File_setLastModifiedImpl() 64 if (stat(path.c_str(), &sb) == -1) { in File_setLastModifiedImpl()
|
D | canonicalize_path.cpp | 91 struct stat sb; in canonicalize_path()
|
D | libcore_io_Posix.cpp | 291 static jobject makeStructStat(JNIEnv* env, const struct stat& sb) { in makeStructStat() 394 struct stat sb; in doStat() 396 : TEMP_FAILURE_RETRY(stat(path.c_str(), &sb)); in doStat() 626 struct stat sb; in Posix_fstat() 1629 NATIVE_METHOD(Posix, stat, "(Ljava/lang/String;)Landroid/system/StructStat;"),
|
D | libcore_icu_ICU.cpp | 835 struct stat sb; in register_libcore_icu_ICU()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 216 final StructStat stat = Libcore.os.fstat(fd); in FileReader() local 219 capacity = (int) stat.st_size; in FileReader()
|
D | BlockGuardOs.java | 291 @Override public StructStat stat(String path) throws ErrnoException { in stat() method in BlockGuardOs 293 return os.stat(path); in stat()
|
D | ForwardingOs.java | 152 public StructStat stat(String path) throws ErrnoException { return os.stat(path); } in stat() method in ForwardingOs
|
D | Os.java | 145 public StructStat stat(String path) throws ErrnoException; in stat() method
|
D | Posix.java | 226 public native StructStat stat(String path) throws ErrnoException; in stat() method in Posix
|
/libcore/luni/src/main/java/java/io/ |
D | File.java | 524 return S_ISDIR(Libcore.os.stat(path).st_mode); in isDirectory() 539 return S_ISREG(Libcore.os.stat(path).st_mode); in isFile() 571 return Libcore.os.stat(path).st_mtime * 1000L; in lastModified() 706 StructStat sb = Libcore.os.stat(path); in doChmod() 724 return Libcore.os.stat(path).st_size; in length()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ForkJoinPool.java | 883 boolean stat; in tryRemoveAndExec() 888 stat = true; in tryRemoveAndExec() 915 stat = false; in tryRemoveAndExec() 923 stat = false; in tryRemoveAndExec() 924 return stat; in tryRemoveAndExec() 1718 int stat, ns; long parkTime, deadline; in awaitWork() local 1719 if ((stat = w.qlock) >= 0 && w.eventCount == ec && ctl == c && in awaitWork() 1726 stat = w.qlock = -1; // pool is terminating in awaitWork() 1756 stat = w.qlock = -1; // shrink pool in awaitWork() 1760 return stat; in awaitWork() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | DexFile.java | 101 if (Libcore.os.getuid() != Libcore.os.stat(parent).st_uid) { in DexFile()
|
D | DexPathList.java | 190 StructStat sb = Libcore.os.stat(path); in splitAndAdd()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 454 public static StructStat stat(String path) throws ErrnoException { return Libcore.os.stat(path); } in stat() method in Os
|