Lines Matching refs:file

8  * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
14 * version 2 for more details (a copy is included in the LICENSE file that
28 import java.nio.file.*;
52 private byte[] nameAsBytes(UnixPath file, String name) throws IOException {
58 throw new FileSystemException(file.getPathForExceptionMessage(),
87 private final UnixPath file;
90 LinuxUserDefinedFileAttributeView(UnixPath file, boolean followLinks) {
91 this.file = file;
98 checkAccess(file.getPathForPermissionCheck(), true, false);
100 int fd = file.openForAttributeAccess(followLinks);
119 throw new FileSystemException(file.getPathForExceptionMessage(),
134 checkAccess(file.getPathForPermissionCheck(), true, false);
136 int fd = file.openForAttributeAccess(followLinks);
139 return fgetxattr(fd, nameAsBytes(file,name), 0L, 0);
141 throw new FileSystemException(file.getPathForExceptionMessage(),
152 checkAccess(file.getPathForPermissionCheck(), true, false);
172 int fd = file.openForAttributeAccess(followLinks);
175 int n = fgetxattr(fd, nameAsBytes(file,name), address, rem);
194 throw new FileSystemException(file.getPathForExceptionMessage(),
208 checkAccess(file.getPathForPermissionCheck(), false, true);
239 int fd = file.openForAttributeAccess(followLinks);
242 fsetxattr(fd, nameAsBytes(file,name), address, rem);
246 throw new FileSystemException(file.getPathForExceptionMessage(),
261 checkAccess(file.getPathForPermissionCheck(), false, true);
263 int fd = file.openForAttributeAccess(followLinks);
265 fremovexattr(fd, nameAsBytes(file,name));
267 throw new FileSystemException(file.getPathForExceptionMessage(),
278 * file descriptor for source file
280 * file descriptor for target file