Home
last modified time | relevance | path

Searched refs:subpath (Results 1 – 3 of 3) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DPath.java215 Path subpath(int beginIndex, int endIndex); in subpath() method
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxPathTest.java134 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/sun/nio/fs/
DUnixPath.java340 public UnixPath subpath(int beginIndex, int endIndex) { in subpath() method in UnixPath
437 UnixPath remainder = other.subpath(i, cn); in relativize()