Home
last modified time | relevance | path

Searched refs:isAbsolute (Results 1 – 25 of 25) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixPath.java369 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 …]
DUnixUriUtils.java45 if (!uri.isAbsolute()) in fromUri()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java123 .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/
DDOMTestCase.java104 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/
DLinuxPathTest.java75 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/
DOldAndroidURITest.java35 assertEquals(absolute, uri.isAbsolute()); in construct()
DURITest.java453 assertEquals(true, uri.isAbsolute()); in testRfc1808AbnormalExampleRelativeScheme()
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java116 boolean isAbsolute(); in isAbsolute() method
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestInnerClass.java135 String query, String fragment, Boolean isAbsolute, in assertURIEquals() argument
138 fragment, isAbsolute, actual); in assertURIEquals()
DDOMTestCase.java679 Boolean isAbsolute, in assertURIEquals() argument
759 if (isAbsolute != null) { in assertURIEquals()
764 isAbsolute.booleanValue(), in assertURIEquals()
/libcore/ojluni/src/main/java/java/io/
DFileSystem.java89 public abstract boolean isAbsolute(File f); in isAbsolute() method in FileSystem
DUnixFileSystem.java130 public boolean isAbsolute(File f) { in isAbsolute() method in UnixFileSystem
135 if (isAbsolute(f)) return f.getPath(); in resolve()
DFile.java418 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/
DFileTest.java117 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/
DPropertyExpander.java115 !(new URI(val)).isAbsolute()) { in expand()
/libcore/ojluni/annotations/hiddenapi/java/io/
DFileSystem.java60 public abstract boolean isAbsolute(java.io.File f); in isAbsolute() method in FileSystem
DFile.java82 public boolean isAbsolute() { in isAbsolute() method in File
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java1296 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/
DFile.annotated.java55 public boolean isAbsolute() { throw new RuntimeException("Stub!"); } in isAbsolute() method in File
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java930 if (!(new File(filename).isAbsolute())) { in load0()
/libcore/luni/src/test/java/libcore/dalvik/system/
DBlockGuardTest.java62 f.isAbsolute(); in testFile()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java280 if (!systemUri.isAbsolute() && !systemUri.isOpaque()) { in handleExternalEntity()
/libcore/ojluni/src/main/java/java/net/
DURI.java1083 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/
DURI.java110 public boolean isAbsolute() { in isAbsolute() method in URI
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DNodeImpl.java325 if (new URI(uri).isAbsolute()) { in getBaseURI()