Home
last modified time | relevance | path

Searched refs:S_IFMT (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileAttributes.java125 int type = st_mode & UnixConstants.S_IFMT; in isDevice()
153 return ((st_mode & UnixConstants.S_IFMT) == UnixConstants.S_IFREG); in isRegularFile()
158 return ((st_mode & UnixConstants.S_IFMT) == UnixConstants.S_IFDIR); in isDirectory()
163 return ((st_mode & UnixConstants.S_IFMT) == UnixConstants.S_IFLNK); in isSymbolicLink()
168 int type = st_mode & UnixConstants.S_IFMT; in isOther()
DUnixConstants.java79 static final int S_IFMT = OsConstants.S_IFMT; field in UnixConstants
/libcore/luni/src/main/java/android/system/
DOsConstants.java50 public static boolean S_ISBLK(int mode) { return (mode & S_IFMT) == S_IFBLK; } in S_ISBLK()
55 public static boolean S_ISCHR(int mode) { return (mode & S_IFMT) == S_IFCHR; } in S_ISCHR()
60 public static boolean S_ISDIR(int mode) { return (mode & S_IFMT) == S_IFDIR; } in S_ISDIR()
65 public static boolean S_ISFIFO(int mode) { return (mode & S_IFMT) == S_IFIFO; } in S_ISFIFO()
70 public static boolean S_ISREG(int mode) { return (mode & S_IFMT) == S_IFREG; } in S_ISREG()
75 public static boolean S_ISLNK(int mode) { return (mode & S_IFMT) == S_IFLNK; } in S_ISLNK()
80 public static boolean S_ISSOCK(int mode) { return (mode & S_IFMT) == S_IFSOCK; } in S_ISSOCK()
615 public static final int S_IFMT = placeholder(); field in OsConstants
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c133 int fmt = mode & S_IFMT; in Java_java_io_UnixFileSystem_getBooleanAttributes0()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp575 initConstant(env, c, "S_IFMT", S_IFMT); in OsConstants_initConstants()