Home
last modified time | relevance | path

Searched refs:S_ISREG (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/android/system/
DOsConstantsTest.java32 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 …]
/libcore/luni/src/test/native/
Dlibcore_java_io_FileTest.cpp53 if (!S_ISREG(sb.st_mode)) { in Java_libcore_java_io_FileTest_nativeTestFilesWithSurrogatePairs()
/libcore/luni/src/main/java/android/system/
DOsConstants.java82 public static boolean S_ISREG(int mode) { return (mode & S_IFMT) == S_IFREG; } in S_ISREG() method in OsConstants
/libcore/api/
Dcurrent.txt131 method public static boolean S_ISREG(int);