/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixPath.java | 369 public boolean isAbsolute() { in isAbsolute() method in UnixPath 415 if (this.isAbsolute() != other.isAbsolute()) in relativize() 492 boolean isAbsolute = isAbsolute(); in normalize() 552 if (isAbsolute) { in normalize() 577 return isAbsolute ? getFileSystem().rootDirectory() : emptyPath(); in normalize() 582 if (isAbsolute) in normalize() 593 if (isAbsolute) in normalize() 621 if (thatOffsetCount == 0 && this.isAbsolute()) { in startsWith() 676 if (that.isAbsolute() && !this.isAbsolute()) in endsWith() 691 if (this.isAbsolute() && !that.isAbsolute()) in endsWith() [all …]
|
D | UnixUriUtils.java | 45 if (!uri.isAbsolute()) in fromUri()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 123 .isAbsolute()); in test_ConstructorLjava_io_FileLjava_lang_String4() 126 .isAbsolute()); in test_ConstructorLjava_io_FileLjava_lang_String4() 922 if (File.separatorChar == '\\' && new File("d:/").isAbsolute()) { in test_getParent() 1046 assertTrue("Absolute returned false", (f.isAbsolute() && !f1 in test_isAbsolute() 1047 .isAbsolute()) in test_isAbsolute() 1048 || (!f.isAbsolute() && f1.isAbsolute())); in test_isAbsolute() 1050 assertTrue(new File("C:/").isAbsolute()); in test_isAbsolute() 1051 assertTrue(new File("f:/").isAbsolute()); in test_isAbsolute() 1052 assertTrue(new File("f:\\").isAbsolute()); in test_isAbsolute() 1053 assertFalse(new File("f:").isAbsolute()); in test_isAbsolute() [all …]
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | DOMTestCase.java | 104 String fragment, Boolean isAbsolute, String actual) { in assertURIEquals() argument 183 if (isAbsolute != null) { in assertURIEquals() 186 assertEquals(assertID, isAbsolute.booleanValue(), actualPath in assertURIEquals()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | LinuxPathTest.java | 75 assertFalse(fakePath.isAbsolute()); in test_isAbsolute() 77 assertTrue(absolutePath.isAbsolute()); in test_isAbsolute() 317 assertFalse(fakePath.isAbsolute()); in test_toAbsolutePath() 318 assertTrue(fakePath.toAbsolutePath().isAbsolute()); in test_toAbsolutePath() 331 assertTrue(realPath.isAbsolute()); in test_toRealPath() 340 assertTrue(realPath.isAbsolute()); in test_toRealPath() 348 assertTrue(realPath.isAbsolute()); in test_toRealPath() 353 assertTrue(realPath.isAbsolute()); in test_toRealPath()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldAndroidURITest.java | 35 assertEquals(absolute, uri.isAbsolute()); in construct()
|
D | URITest.java | 453 assertEquals(true, uri.isAbsolute()); in testRfc1808AbnormalExampleRelativeScheme()
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | Path.java | 116 boolean isAbsolute(); in isAbsolute() method
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOMTestInnerClass.java | 135 String query, String fragment, Boolean isAbsolute, in assertURIEquals() argument 138 fragment, isAbsolute, actual); in assertURIEquals()
|
D | DOMTestCase.java | 679 Boolean isAbsolute, in assertURIEquals() argument 759 if (isAbsolute != null) { in assertURIEquals() 764 isAbsolute.booleanValue(), in assertURIEquals()
|
/libcore/ojluni/src/main/java/java/io/ |
D | FileSystem.java | 89 public abstract boolean isAbsolute(File f); in isAbsolute() method in FileSystem
|
D | UnixFileSystem.java | 130 public boolean isAbsolute(File f) { in isAbsolute() method in UnixFileSystem 135 if (isAbsolute(f)) return f.getPath(); in resolve()
|
D | File.java | 418 if (!uri.isAbsolute()) in File() 530 public boolean isAbsolute() { in isAbsolute() method in File 531 return fs.isAbsolute(this); in isAbsolute()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 117 assertFalse(f.isAbsolute()); in test_emptyFilename() 156 @Override public boolean isAbsolute() { in test_subclassing() method in FileTest.MyFile 158 return super.isAbsolute(); in test_subclassing()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | PropertyExpander.java | 115 !(new URI(val)).isAbsolute()) { in expand()
|
/libcore/ojluni/annotations/hiddenapi/java/io/ |
D | FileSystem.java | 60 public abstract boolean isAbsolute(java.io.File f); in isAbsolute() method in FileSystem
|
D | File.java | 82 public boolean isAbsolute() { in isAbsolute() method in File
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URITest.java | 1296 boolean result = new URI(isAbsoluteData[i]).isAbsolute(); in test_isAbsolute() 1406 assertTrue("Resolved URI is not absolute", uri2.isAbsolute()); in test_normalize2() 1657 assertTrue("Resolved URI is not absolute", uri2.isAbsolute()); in test_resolve() 1710 .isAbsolute(), result.isAbsolute()); in test_resolveLjava_net_URI()
|
/libcore/ojluni/annotations/sdk/nullability/java/io/ |
D | File.annotated.java | 55 public boolean isAbsolute() { throw new RuntimeException("Stub!"); } in isAbsolute() method in File
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 930 if (!(new File(filename).isAbsolute())) { in load0()
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | BlockGuardTest.java | 62 f.isAbsolute(); in testFile()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatParser.java | 280 if (!systemUri.isAbsolute() && !systemUri.isOpaque()) { in handleExternalEntity()
|
/libcore/ojluni/src/main/java/java/net/ |
D | URI.java | 1083 if (!isAbsolute()) in toURL() 1114 public boolean isAbsolute() { in isAbsolute() method in URI 2100 ru.path = resolvePath(base.path, child.path, base.isAbsolute()); in resolve()
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | URI.java | 110 public boolean isAbsolute() { in isAbsolute() method in URI
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | NodeImpl.java | 325 if (new URI(uri).isAbsolute()) { in getBaseURI()
|