Searched refs:S_ISREG (Results 1 – 4 of 4) sorted by relevance
32 import static android.system.OsConstants.S_ISREG;229 assertTrue(S_ISREG(OsConstants.S_IFREG)); in test_S_ISREG()231 assertFalse(S_ISREG(OsConstants.S_IFBLK)); in test_S_ISREG()232 assertFalse(S_ISREG(OsConstants.S_IFCHR)); in test_S_ISREG()233 assertFalse(S_ISREG(OsConstants.S_IFDIR)); in test_S_ISREG()234 assertFalse(S_ISREG(OsConstants.S_IFIFO)); in test_S_ISREG()235 assertFalse(S_ISREG(OsConstants.S_IFLNK)); in test_S_ISREG()236 assertFalse(S_ISREG(OsConstants.S_IFMT)); in test_S_ISREG()237 assertFalse(S_ISREG(OsConstants.S_IFSOCK)); in test_S_ISREG()238 assertFalse(S_ISREG(OsConstants.S_IRGRP)); in test_S_ISREG()[all …]
53 if (!S_ISREG(sb.st_mode)) { in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
82 public static boolean S_ISREG(int mode) { return (mode & S_IFMT) == S_IFREG; } in S_ISREG() method in OsConstants
131 method public static boolean S_ISREG(int);