Home
last modified time | relevance | path

Searched refs:NOFOLLOW_LINKS (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DCopyMoveHelper.java57 if (option == LinkOption.NOFOLLOW_LINKS) { in parse()
91 newOptions[len] = LinkOption.NOFOLLOW_LINKS; in convertMoveToCopyOptions()
106 new LinkOption[] { LinkOption.NOFOLLOW_LINKS }; in copyToForeignTarget()
DLinkOption.java42 NOFOLLOW_LINKS; enumConstant
DFileTreeWalker.java192 new LinkOption[] { LinkOption.NOFOLLOW_LINKS }; in FileTreeWalker()
227 LinkOption.NOFOLLOW_LINKS); in getAttributes()
DFiles.java783 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/
DFiles2Test.java169 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 …]
DDefaultSecureDirectoryStreamTest.java163 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()
DLinuxPathTest.java351 realPath = symLink.toRealPath(LinkOption.NOFOLLOW_LINKS); in test_toRealPath()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUtil.java126 if (option == LinkOption.NOFOLLOW_LINKS) { in followLinks()
DPollingWatchService.java260 Files.getLastModifiedTime(entry, LinkOption.NOFOLLOW_LINKS).toMillis();
340 Files.getLastModifiedTime(entry, LinkOption.NOFOLLOW_LINKS).toMillis();
DUnixCopyFile.java72 if (option == LinkOption.NOFOLLOW_LINKS) { in fromCopyOptions()
107 if (option == LinkOption.NOFOLLOW_LINKS) { in fromMoveOptions()
DUnixChannelFactory.java87 if (option == LinkOption.NOFOLLOW_LINKS && O_NOFOLLOW != 0) { in toFlags()
/libcore/ojluni/src/test/java/nio/file/attribute/
DBasicFileAttributeViewTest.java100 Files.readAttributes(link, BasicFileAttributes.class, LinkOption.NOFOLLOW_LINKS); in checkAttributesOfLink()
DPosixFileAttributeViewTest.java187 NOFOLLOW_LINKS) in permissionTests()
/libcore/ojluni/src/main/java/java/util/logging/
DFileHandler.java469 if (Files.isRegularFile(lockFilePath, LinkOption.NOFOLLOW_LINKS) in openFiles()