Home
last modified time | relevance | path

Searched refs:relativize (Results 1 – 9 of 9) sorted by relevance

/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultSecureDirectoryStreamTest.java147 relativize(path_dir1))) { in test_newDirectoryStream()
163 relativize(symlinkPath), LinkOption.NOFOLLOW_LINKS)) { in test_newDirectoryStream_symbolicLink()
176 relativize(path_f1))) { in test_newDirectoryStream_Exception()
188 relativize(path_f1), (LinkOption) null)) { in test_newDirectoryStream_Exception()
195 relativize(path_dir1))) { in test_newDirectoryStream_Exception()
219 path_root.relativize(path_f1), set)) { in test_newByteChannel()
228 path_root.relativize(path_f1), set)) { in test_newByteChannel()
240 path_root.relativize(path_f1), set)) { in test_newByteChannel()
268 ds_path_root.deleteFile(path_root.relativize(path_f1)); in test_deleteFile()
274 ds_path_root.deleteFile(path_root.relativize(path_dir1)); in test_deleteFile()
[all …]
DLinuxPathTest.java281 assertEquals(Paths.get(".."), p1.relativize(p2)); in test_relativize()
282 assertEquals(Paths.get(".."), p1.toAbsolutePath().relativize(p2.toAbsolutePath())); in test_relativize()
283 assertEquals(Paths.get("t3"), p2.relativize(p1)); in test_relativize()
287 p1.relativize(p2.toAbsolutePath()); in test_relativize()
292 p1.toAbsolutePath().relativize(p2); in test_relativize()
299 fakePath.relativize(null); in test_relativize_NPE()
/libcore/luni/src/test/java/libcore/java/net/
DOldURITest.java112 b.relativize(null); in test_relativizeLjava_net_URI()
DURITest.java545 assertEquals("b/c", a.relativize(b).toString()); // RI assumes a directory in testRelativize()
675 assertEquals(relative, absolute.relativize(new URI("http://android.com/robots.txt"))); in testRelativizeRelativeAndAbsolute()
676 assertEquals(new URI(""), absolute.relativize(absolute)); in testRelativizeRelativeAndAbsolute()
677 assertEquals(relative, absolute.relativize(relative)); in testRelativizeRelativeAndAbsolute()
678 assertEquals(absolute, relative.relativize(absolute)); in testRelativizeRelativeAndAbsolute()
679 assertEquals(new URI(""), relative.relativize(relative)); in testRelativizeRelativeAndAbsolute()
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java458 Path relativize(Path other); in relativize() method
DFiles.java765 for (Path name: parent.relativize(dir)) {
/libcore/ojluni/annotations/hiddenapi/java/net/
DURI.java98 public java.net.URI relativize(java.net.URI uri) { in relativize() method in URI
304 private static java.net.URI relativize(java.net.URI base, java.net.URI child) { in relativize() method in URI
/libcore/ojluni/src/main/java/java/net/
DURI.java1061 public URI relativize(URI uri) { in relativize() method in URI
1062 return relativize(this, uri); in relativize()
2143 private static URI relativize(URI base, URI child) { in relativize() method
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java409 public UnixPath relativize(Path obj) { in relativize() method in UnixPath