Searched refs:S_IFMT (Results 1 – 5 of 5) sorted by relevance
125 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()
79 static final int S_IFMT = OsConstants.S_IFMT; field in UnixConstants
50 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
133 int fmt = mode & S_IFMT; in Java_java_io_UnixFileSystem_getBooleanAttributes0()
575 initConstant(env, c, "S_IFMT", S_IFMT); in OsConstants_initConstants()