Searched refs:canonicalizePath (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/test/java/libcore/net/url/ |
D | UrlUtilsTest.java | 23 assertEquals("", UrlUtils.canonicalizePath("", true)); in testCanonicalizePath() 24 assertEquals("", UrlUtils.canonicalizePath(".", true)); in testCanonicalizePath() 25 assertEquals("", UrlUtils.canonicalizePath("..", true)); in testCanonicalizePath() 26 assertEquals("...", UrlUtils.canonicalizePath("...", true)); in testCanonicalizePath() 27 assertEquals("", UrlUtils.canonicalizePath("./", true)); in testCanonicalizePath() 28 assertEquals("", UrlUtils.canonicalizePath("../", true)); in testCanonicalizePath() 29 assertEquals("a", UrlUtils.canonicalizePath("../a", true)); in testCanonicalizePath() 30 assertEquals("a", UrlUtils.canonicalizePath("a", true)); in testCanonicalizePath() 31 assertEquals("a/", UrlUtils.canonicalizePath("a/", true)); in testCanonicalizePath() 32 assertEquals("a/", UrlUtils.canonicalizePath("a/.", true)); in testCanonicalizePath() [all …]
|
/libcore/luni/src/main/java/libcore/net/url/ |
D | JarHandler.java | 77 tmpFile = UrlUtils.canonicalizePath(tmpFile, true); in parseURL()
|
D | UrlUtils.java | 34 public static String canonicalizePath(String path, boolean discardRelativePrefix) { in canonicalizePath() method in UrlUtils
|
/libcore/luni/src/main/native/ |
D | java_io_File.cpp | 151 NATIVE_METHOD(File, canonicalizePath, "(Ljava/lang/String;)Ljava/lang/String;"),
|
/libcore/luni/src/main/java/java/net/ |
D | URLStreamHandler.java | 202 return UrlUtils.canonicalizePath(path, true); in relativePath() 205 return UrlUtils.canonicalizePath(combined, true); in relativePath()
|
D | URI.java | 1071 path = UrlUtils.canonicalizePath(path, discardRelativePrefix); in normalize()
|
/libcore/luni/src/main/java/java/io/ |
D | File.java | 414 return canonicalizePath(getAbsolutePath()); in getCanonicalPath() 417 private static native String canonicalizePath(String path); in canonicalizePath() method in File
|