/libcore/ojluni/src/main/java/java/nio/file/ |
D | CopyMoveHelper.java | 57 if (option == LinkOption.NOFOLLOW_LINKS) { in parse() 91 newOptions[len] = LinkOption.NOFOLLOW_LINKS; in convertMoveToCopyOptions() 105 LinkOption[] linkOptions = (opts.followLinks) ? new LinkOption[0] : in copyToForeignTarget() 106 new LinkOption[] { LinkOption.NOFOLLOW_LINKS }; in copyToForeignTarget()
|
D | SecureDirectoryStream.java | 97 SecureDirectoryStream<T> newDirectoryStream(T path, LinkOption... options) in newDirectoryStream() 311 LinkOption... options); in getFileAttributeView()
|
D | Files.java | 783 if (!isDirectory(dir, LinkOption.NOFOLLOW_LINKS)) 1673 LinkOption... options) 1734 LinkOption... options) 1802 LinkOption... options) 1863 LinkOption... options) 1961 LinkOption... options) 2001 LinkOption... options) 2074 public static UserPrincipal getOwner(Path path, LinkOption... options) throws IOException { 2155 LinkOption.NOFOLLOW_LINKS).isSymbolicLink(); 2190 public static boolean isDirectory(Path path, LinkOption... options) { [all …]
|
D | FileTreeWalker.java | 59 private final LinkOption[] linkOptions; 191 this.linkOptions = (fl) ? new LinkOption[0] : in FileTreeWalker() 192 new LinkOption[] { LinkOption.NOFOLLOW_LINKS }; in FileTreeWalker() 227 LinkOption.NOFOLLOW_LINKS); in getAttributes()
|
D | LinkOption.java | 34 public enum LinkOption implements OpenOption, CopyOption { enum
|
D | Path.java | 580 Path toRealPath(LinkOption... options) throws IOException; in toRealPath()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | LinuxFileSystemProvider.java | 60 LinkOption... options) in getFileAttributeView() 80 LinkOption... options) in getFileAttributeView() 101 LinkOption... options) in readAttributes()
|
D | Util.java | 123 static boolean followLinks(LinkOption... options) { in followLinks() 125 for (LinkOption option: options) { in followLinks() 126 if (option == LinkOption.NOFOLLOW_LINKS) { in followLinks()
|
D | AbstractFileSystemProvider.java | 64 LinkOption... options); in getFileAttributeView() 70 LinkOption... options) in setAttribute() 83 …public final Map<String,Object> readAttributes(Path file, String attributes, LinkOption... options) in readAttributes()
|
D | PollingWatchService.java | 260 Files.getLastModifiedTime(entry, LinkOption.NOFOLLOW_LINKS).toMillis(); 340 Files.getLastModifiedTime(entry, LinkOption.NOFOLLOW_LINKS).toMillis();
|
D | UnixFileSystemProvider.java | 113 LinkOption... options) in getFileAttributeView() 132 LinkOption... options) in readAttributes() 150 LinkOption... options) in getFileAttributeView()
|
D | UnixCopyFile.java | 72 if (option == LinkOption.NOFOLLOW_LINKS) { in fromCopyOptions() 107 if (option == LinkOption.NOFOLLOW_LINKS) { in fromMoveOptions()
|
D | UnixSecureDirectoryStream.java | 105 LinkOption... options) in newDirectoryStream() 318 LinkOption... options) in getFileAttributeView()
|
D | UnixPath.java | 826 public Path toRealPath(LinkOption... options) throws IOException { in toRealPath()
|
/libcore/luni/src/test/filesystems/src/mypackage/ |
D | MockFileSystemProvider.java | 27 import java.nio.file.LinkOption; 118 LinkOption... options) { in getFileAttributeView() 124 LinkOption... options) throws IOException { in readAttributes() 130 LinkOption... options) throws IOException { in readAttributes() 135 public void setAttribute(Path path, String attribute, Object value, LinkOption... options) in setAttribute()
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 1004 getFileAttributeView(Path path, Class<V> type, LinkOption... options); in getFileAttributeView() 1033 readAttributes(Path path, Class<A> type, LinkOption... options) throws IOException; in readAttributes() 1065 LinkOption... options) in readAttributes() 1101 Object value, LinkOption... options) in setAttribute()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | Files2Test.java | 46 import java.nio.file.LinkOption; 169 LinkOption.NOFOLLOW_LINKS)).thenReturn(mockFileAttributeView); in test_getFileAttributeView() 171 FileAttributeView.class, LinkOption.NOFOLLOW_LINKS)); in test_getFileAttributeView() 178 LinkOption.NOFOLLOW_LINKS)).thenReturn(mockBasicFileAttributes); in test_readAttributes() 180 BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS)); in test_readAttributes() 187 LinkOption.NOFOLLOW_LINKS)); in test_setAttribute() 189 LinkOption.NOFOLLOW_LINKS); in test_setAttribute() 342 assertFalse(Files.isRegularFile(filesSetup.getTestPath(), LinkOption.NOFOLLOW_LINKS)); in test_isRegularFile() 376 Files.getLastModifiedTime(null, LinkOption.NOFOLLOW_LINKS); in test_getLastModifiedTime_NPE() 381 Files.getLastModifiedTime(filesSetup.getDataFilePath(), (LinkOption[]) null); in test_getLastModifiedTime_NPE() [all …]
|
D | DefaultSecureDirectoryStreamTest.java | 33 import java.nio.file.LinkOption; 163 relativize(symlinkPath), LinkOption.NOFOLLOW_LINKS)) { in test_newDirectoryStream_symbolicLink() 188 relativize(path_f1), (LinkOption) null)) { in test_newDirectoryStream_Exception() 481 LinkOption.NOFOLLOW_LINKS); in test_getFileAttributeView_Path_LinkOptions() 490 BasicFileAttributeView.class, LinkOption.NOFOLLOW_LINKS); in test_getFileAttributeView_Path_LinkOptions() 501 BasicFileAttributeView.class, (LinkOption) null); in test_getFileAttributeView_Path_LinkOptions()
|
D | FilesSetup.java | 32 import java.nio.file.LinkOption;
|
D | LinuxPathTest.java | 34 import java.nio.file.LinkOption; 351 realPath = symLink.toRealPath(LinkOption.NOFOLLOW_LINKS); in test_toRealPath()
|
/libcore/ojluni/annotations/hiddenapi/java/nio/file/ |
D | FileTreeWalker.java | 82 private final java.nio.file.LinkOption[] linkOptions; 85 linkOptions = new java.nio.file.LinkOption[0];
|
/libcore/ojluni/src/test/java/nio/file/attribute/ |
D | BasicFileAttributeViewTest.java | 100 Files.readAttributes(link, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS); in checkAttributesOfLink()
|
D | PosixFileAttributeViewTest.java | 37 import static java.nio.file.LinkOption.*;
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 42 import java.nio.file.LinkOption; 469 if (Files.isRegularFile(lockFilePath, LinkOption.NOFOLLOW_LINKS) in openFiles()
|
/libcore/ |
D | openjdk_java_files.bp | 477 "ojluni/src/main/java/java/nio/file/LinkOption.java",
|