Home
last modified time | relevance | path

Searched refs:UnixConstants (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixFileModeAttribute.java33 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 …]
DUnixFileAttributes.java89 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 …]
DUnixException.java83 if (errno() == UnixConstants.EACCES) in translateToIOException()
85 if (errno() == UnixConstants.ENOENT) in translateToIOException()
87 if (errno() == UnixConstants.EEXIST) in translateToIOException()
DUnixConstants.java36 class UnixConstants { class
37 private UnixConstants() { } in UnixConstants() method in UnixConstants
DLinuxFileStore.java106 if (e.errno() == UnixConstants.ENODATA) in isExtendedAttributesEnabled()
DUnixFileSystemProvider.java42 import static sun.nio.fs.UnixConstants.*;
432 if (x.errno() == UnixConstants.ENOTDIR) in newDirectoryStream()
501 if (x.errno() == UnixConstants.EINVAL) in readSymbolicLink()
DLinuxWatchService.java39 import static sun.nio.fs.UnixConstants.*;
356 if (x.errno() != UnixConstants.EAGAIN) in run()
DUnixSecureDirectoryStream.java39 import static sun.nio.fs.UnixConstants.*;
139 if (x.errno() == UnixConstants.ENOTDIR) in newDirectoryStream()
DLinuxDosFileAttributeView.java35 import static sun.nio.fs.UnixConstants.*;
DUnixChannelFactory.java40 import static sun.nio.fs.UnixConstants.*;
DUnixFileAttributeViews.java105 if (x.errno() == UnixConstants.EINVAL && in setTimes()
DLinuxUserDefinedFileAttributeView.java34 import static sun.nio.fs.UnixConstants.*;
DUnixCopyFile.java37 import static sun.nio.fs.UnixConstants.*;
DUnixPath.java37 import static sun.nio.fs.UnixConstants.*;
/libcore/
Dopenjdk_java_files.bp1625 "ojluni/src/main/java/sun/nio/fs/UnixConstants.java",