Searched refs:subpath (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/nio/file/Path/ |
D | PathOps.java | 105 PathOps subpath(int startIndex, int endIndex, String expected) { in subpath() method in PathOps 107 check(path.subpath(startIndex, endIndex), expected); in subpath() 346 .subpath(0, 1, "foo"); in doUnixTests() 348 .subpath(0, 1, "foo"); in doUnixTests() 350 .subpath(0, 1, "foo") in doUnixTests() 351 .subpath(1, 2, "bar") in doUnixTests() 352 .subpath(0, 2, "foo/bar"); in doUnixTests() 354 .subpath(0, 1, "foo") in doUnixTests() 355 .subpath(1, 2, "bar") in doUnixTests() 356 .subpath(0, 2, "foo/bar"); in doUnixTests() [all …]
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 134 assertEquals(Paths.get("t1/t2"), Paths.get("t1/t2/t3").subpath(0, 2)); in test_subPath() 135 assertEquals(Paths.get("t2"), Paths.get("t1/t2/t3").subpath(1, 2)); in test_subPath() 138 Paths.get("t1/t2/t3").subpath(1, 1); in test_subPath() 143 assertEquals(Paths.get("t1/t1"), Paths.get("t1/t2/t3").subpath(1, 0)); in test_subPath() 148 assertEquals(Paths.get("t1/t1"), Paths.get("t1/t2/t3").subpath(1, 5)); in test_subPath()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 329 Path subpath(int beginIndex, int endIndex); in subpath() method
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 340 public UnixPath subpath(int beginIndex, int endIndex) { in subpath() method in UnixPath 437 UnixPath remainder = other.subpath(i, cn); in relativize()
|
/libcore/api/ |
D | current.txt | 7488 method public java.nio.file.Path subpath(int, int);
|