Searched refs:UnixConstants (Results 1 – 15 of 15) sorted by relevance
33 UnixConstants.S_IRUSR | UnixConstants.S_IWUSR | UnixConstants.S_IXUSR |34 UnixConstants.S_IRGRP | UnixConstants.S_IWGRP | UnixConstants.S_IXGRP |35 UnixConstants.S_IROTH | UnixConstants.S_IWOTH | UnixConstants. S_IXOTH;38 UnixConstants.S_IRUSR | UnixConstants.S_IWUSR |39 UnixConstants.S_IRGRP | UnixConstants.S_IWGRP |40 UnixConstants.S_IROTH | UnixConstants.S_IWOTH;43 UnixConstants.S_IRUSR | UnixConstants.S_IWUSR | UnixConstants.S_IXUSR;54 case OWNER_READ : mode |= UnixConstants.S_IRUSR; break; in toUnixMode()55 case OWNER_WRITE : mode |= UnixConstants.S_IWUSR; break; in toUnixMode()56 case OWNER_EXECUTE : mode |= UnixConstants.S_IXUSR; break; in toUnixMode()[all …]
89 int flag = (followLinks) ? 0 : UnixConstants.AT_SYMLINK_NOFOLLOW; in get()125 int type = st_mode & UnixConstants.S_IFMT; in isDevice()126 return (type == UnixConstants.S_IFCHR || in isDevice()127 type == UnixConstants.S_IFBLK || in isDevice()128 type == UnixConstants.S_IFIFO); 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()169 return (type != UnixConstants.S_IFREG && in isOther()[all …]
83 if (errno() == UnixConstants.EACCES) in translateToIOException()85 if (errno() == UnixConstants.ENOENT) in translateToIOException()87 if (errno() == UnixConstants.EEXIST) in translateToIOException()
36 class UnixConstants { class37 private UnixConstants() { } in UnixConstants() method in UnixConstants
106 if (e.errno() == UnixConstants.ENODATA) in isExtendedAttributesEnabled()
42 import static sun.nio.fs.UnixConstants.*;432 if (x.errno() == UnixConstants.ENOTDIR) in newDirectoryStream()501 if (x.errno() == UnixConstants.EINVAL) in readSymbolicLink()
39 import static sun.nio.fs.UnixConstants.*;356 if (x.errno() != UnixConstants.EAGAIN) in run()
39 import static sun.nio.fs.UnixConstants.*;139 if (x.errno() == UnixConstants.ENOTDIR) in newDirectoryStream()
35 import static sun.nio.fs.UnixConstants.*;
40 import static sun.nio.fs.UnixConstants.*;
34 import static sun.nio.fs.UnixConstants.*;
105 if (x.errno() == UnixConstants.EINVAL && in setTimes()
37 import static sun.nio.fs.UnixConstants.*;
1619 "ojluni/src/main/java/sun/nio/fs/UnixConstants.java",