Home
last modified time | relevance | path

Searched refs:S_ISDIR (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DOsConstantsTest.java30 import static android.system.OsConstants.S_ISDIR;
257 assertTrue(S_ISDIR(OsConstants.S_IFDIR)); in test_S_ISDIR()
259 assertFalse(S_ISDIR(OsConstants.S_IFBLK)); in test_S_ISDIR()
260 assertFalse(S_ISDIR(OsConstants.S_IFCHR)); in test_S_ISDIR()
261 assertFalse(S_ISDIR(OsConstants.S_IFIFO)); in test_S_ISDIR()
262 assertFalse(S_ISDIR(OsConstants.S_IFLNK)); in test_S_ISDIR()
263 assertFalse(S_ISDIR(OsConstants.S_IFMT)); in test_S_ISDIR()
264 assertFalse(S_ISDIR(OsConstants.S_IFREG)); in test_S_ISDIR()
265 assertFalse(S_ISDIR(OsConstants.S_IFSOCK)); in test_S_ISDIR()
266 assertFalse(S_ISDIR(OsConstants.S_IRGRP)); in test_S_ISDIR()
[all …]
/libcore/luni/src/test/native/
Dlibcore_java_io_FileTest.cpp42 if (!S_ISDIR(sb.st_mode)) { in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
/libcore/ojluni/src/main/native/
Dio_util_md.c91 if (S_ISDIR(buf64.st_mode)) { in handleOpen()
/libcore/dalvik/src/main/java/dalvik/system/
DDexPathList.java40 import static android.system.OsConstants.S_ISDIR;
320 if (!S_ISDIR(sb.st_mode)) { in splitPaths()
/libcore/luni/annotations/flagged_api/android/system/
DOsConstants.annotated.java29 public static boolean S_ISDIR(int mode) { throw new RuntimeException("Stub!"); } in S_ISDIR() method in OsConstants
/libcore/luni/src/main/java/libcore/io/
DIoBridge.java563 if (S_ISDIR(Libcore.os.fstat(fd).st_mode)) { in open()
/libcore/luni/src/main/java/android/system/
DOsConstants.java72 public static boolean S_ISDIR(int mode) { return (mode & S_IFMT) == S_IFDIR; } in S_ISDIR() method in OsConstants
/libcore/api/
Dcurrent.txt148 method public static boolean S_ISDIR(int);