Searched refs:NOFOLLOW_LINKS (Results 1 – 14 of 14) sorted by relevance
/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() 106 new LinkOption[] { LinkOption.NOFOLLOW_LINKS }; in copyToForeignTarget()
|
D | LinkOption.java | 42 NOFOLLOW_LINKS; enumConstant
|
D | FileTreeWalker.java | 192 new LinkOption[] { LinkOption.NOFOLLOW_LINKS }; in FileTreeWalker() 227 LinkOption.NOFOLLOW_LINKS); in getAttributes()
|
D | Files.java | 783 if (!isDirectory(dir, LinkOption.NOFOLLOW_LINKS)) 2155 LinkOption.NOFOLLOW_LINKS).isSymbolicLink(); 2343 if (opt == LinkOption.NOFOLLOW_LINKS) { 2389 LinkOption.NOFOLLOW_LINKS); 2438 LinkOption.NOFOLLOW_LINKS);
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | Files2Test.java | 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() 451 assertTrue(Files.exists(filesSetup.getTestPath(), LinkOption.NOFOLLOW_LINKS)); in test_exists() 455 assertTrue(Files.exists(filesSetup.getTestPath(), LinkOption.NOFOLLOW_LINKS)); in test_exists() [all …]
|
D | DefaultSecureDirectoryStreamTest.java | 163 relativize(symlinkPath), LinkOption.NOFOLLOW_LINKS)) { in test_newDirectoryStream_symbolicLink() argument 481 LinkOption.NOFOLLOW_LINKS); in test_getFileAttributeView_Path_LinkOptions() 490 BasicFileAttributeView.class, LinkOption.NOFOLLOW_LINKS); in test_getFileAttributeView_Path_LinkOptions()
|
D | LinuxPathTest.java | 351 realPath = symLink.toRealPath(LinkOption.NOFOLLOW_LINKS); in test_toRealPath()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | Util.java | 126 if (option == LinkOption.NOFOLLOW_LINKS) { in followLinks()
|
D | PollingWatchService.java | 260 Files.getLastModifiedTime(entry, LinkOption.NOFOLLOW_LINKS).toMillis(); 340 Files.getLastModifiedTime(entry, LinkOption.NOFOLLOW_LINKS).toMillis();
|
D | UnixCopyFile.java | 72 if (option == LinkOption.NOFOLLOW_LINKS) { in fromCopyOptions() 107 if (option == LinkOption.NOFOLLOW_LINKS) { in fromMoveOptions()
|
D | UnixChannelFactory.java | 87 if (option == LinkOption.NOFOLLOW_LINKS && O_NOFOLLOW != 0) { in toFlags()
|
/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 | 187 NOFOLLOW_LINKS) in permissionTests()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | FileHandler.java | 469 if (Files.isRegularFile(lockFilePath, LinkOption.NOFOLLOW_LINKS) in openFiles()
|