Searched refs:S_ISDIR (Results 1 – 8 of 8) sorted by relevance
30 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 …]
42 if (!S_ISDIR(sb.st_mode)) { in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
91 if (S_ISDIR(buf64.st_mode)) { in handleOpen()
40 import static android.system.OsConstants.S_ISDIR;320 if (!S_ISDIR(sb.st_mode)) { in splitPaths()
29 public static boolean S_ISDIR(int mode) { throw new RuntimeException("Stub!"); } in S_ISDIR() method in OsConstants
563 if (S_ISDIR(Libcore.os.fstat(fd).st_mode)) { in open()
72 public static boolean S_ISDIR(int mode) { return (mode & S_IFMT) == S_IFDIR; } in S_ISDIR() method in OsConstants
148 method public static boolean S_ISDIR(int);