Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/android/system/
DOsConstants.java29 public static boolean S_ISBLK(int mode) { return (mode & S_IFMT) == S_IFBLK; } in S_ISBLK()
34 public static boolean S_ISCHR(int mode) { return (mode & S_IFMT) == S_IFCHR; } in S_ISCHR()
39 public static boolean S_ISDIR(int mode) { return (mode & S_IFMT) == S_IFDIR; } in S_ISDIR()
44 public static boolean S_ISFIFO(int mode) { return (mode & S_IFMT) == S_IFIFO; } in S_ISFIFO()
49 public static boolean S_ISREG(int mode) { return (mode & S_IFMT) == S_IFREG; } in S_ISREG()
54 public static boolean S_ISLNK(int mode) { return (mode & S_IFMT) == S_IFLNK; } in S_ISLNK()
59 public static boolean S_ISSOCK(int mode) { return (mode & S_IFMT) == S_IFSOCK; } in S_ISSOCK()
479 public static final int S_IFMT = placeholder(); field in OsConstants
/libcore/ojluni/src/main/native/
DUnixFileSystem_md.c127 int fmt = mode & S_IFMT; in Java_java_io_UnixFileSystem_getBooleanAttributes0()
/libcore/luni/src/main/native/
Dandroid_system_OsConstants.cpp535 initConstant(env, c, "S_IFMT", S_IFMT); in OsConstants_initConstants()