Searched refs:isSameFile (Results 1 – 10 of 10) sorted by relevance
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultFileSystemProvider2Test.java | 238 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()
|
D | LinuxPathTest.java | 330 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()
|
D | Files2Test.java | 133 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/ |
D | MockFileSystemProvider.java | 97 public boolean isSameFile(Path path, Path path2) throws IOException { in isSameFile() method in MockFileSystemProvider
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixCopyFile.java | 425 if (sourceAttrs.isSameFile(targetAttrs)) in move() 547 if (sourceAttrs.isSameFile(targetAttrs)) in copy()
|
D | UnixFileSystemProvider.java | 313 public boolean isSameFile(Path obj1, Path obj2) throws IOException { in isSameFile() method in UnixFileSystemProvider 341 return attrs1.isSameFile(attrs2); in isSameFile()
|
D | UnixFileAttributes.java | 95 boolean isSameFile(UnixFileAttributes attrs) { in isSameFile() method in UnixFileAttributes
|
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
D | FileSystemProvider.java | 865 public abstract boolean isSameFile(Path path, Path path2) in isSameFile() method in FileSystemProvider
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | FileTreeWalker.java | 248 if (Files.isSameFile(dir, ancestor.directory())) { in wouldLoop()
|
D | Files.java | 1503 public static boolean isSameFile(Path path, Path path2) throws IOException { 1504 return provider(path).isSameFile(path, path2);
|