Home
last modified time | relevance | path

Searched refs:isSameFile (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java238 assertTrue(provider.isSameFile(filesSetup.getDataFilePath(), filesSetup.getDataFilePath())); in test_isSameFile()
241 assertTrue(provider.isSameFile(filesSetup.getTestPath(), filesSetup.getTestPath())); in test_isSameFile()
246 provider.isSameFile(filesSetup.getDataFilePath(), filesSetup.getTestPath())); in test_isSameFile()
254 provider.isSameFile(null, filesSetup.getDataFilePath()); in test_isSameFile_NPE()
259 provider.isSameFile(filesSetup.getDataFilePath(), null); in test_isSameFile_NPE()
DLinuxPathTest.java330 assertTrue(Files.isSameFile(filesSetup.getTestPath().toAbsolutePath(), realPath)); in test_toRealPath()
339 assertTrue(Files.isSameFile(file.toAbsolutePath(), realPath)); in test_toRealPath()
347 assertTrue(Files.isSameFile(symLink, realPath)); in test_toRealPath()
352 assertTrue(Files.isSameFile(symLink, realPath)); in test_toRealPath()
DFiles2Test.java133 when(mockFileSystemProvider.isSameFile(mockPath, mockPath2)).thenReturn(true); in test_isSameFile()
134 when(mockFileSystemProvider.isSameFile(mockPath2, mockPath)).thenReturn(false); in test_isSameFile()
135 assertTrue(Files.isSameFile(mockPath, mockPath2)); in test_isSameFile()
136 assertFalse(Files.isSameFile(mockPath2, mockPath)); in test_isSameFile()
/libcore/luni/src/test/filesystems/src/mypackage/
DMockFileSystemProvider.java97 public boolean isSameFile(Path path, Path path2) throws IOException { in isSameFile() method in MockFileSystemProvider
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java425 if (sourceAttrs.isSameFile(targetAttrs)) in move()
547 if (sourceAttrs.isSameFile(targetAttrs)) in copy()
DUnixFileSystemProvider.java313 public boolean isSameFile(Path obj1, Path obj2) throws IOException { in isSameFile() method in UnixFileSystemProvider
341 return attrs1.isSameFile(attrs2); in isSameFile()
DUnixFileAttributes.java95 boolean isSameFile(UnixFileAttributes attrs) { in isSameFile() method in UnixFileAttributes
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileSystemProvider.java865 public abstract boolean isSameFile(Path path, Path path2) in isSameFile() method in FileSystemProvider
/libcore/ojluni/src/main/java/java/nio/file/
DFileTreeWalker.java248 if (Files.isSameFile(dir, ancestor.directory())) { in wouldLoop()
DFiles.java1503 public static boolean isSameFile(Path path, Path path2) throws IOException {
1504 return provider(path).isSameFile(path, path2);