Home
last modified time | relevance | path

Searched refs:getRef (Results 1 – 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURLTest.java75 assertEquals("u returns a wrong anchor", "anchor1", u.getRef()); in test_ConstructorLjava_lang_String()
83 assertNull("u1 returns a wrong anchor", u1.getRef()); in test_ConstructorLjava_lang_String()
93 assertEquals("u2 returns a wrong anchor", "anchor1", u2.getRef()); in test_ConstructorLjava_lang_String()
103 assertEquals("u2a returns a wrong anchor", "anchor1", u2a.getRef()); in test_ConstructorLjava_lang_String()
111 assertNull("u3 returns a wrong anchor", u3.getRef()); in test_ConstructorLjava_lang_String()
120 assertNull("u3a returns a wrong anchor", u3a.getRef()); in test_ConstructorLjava_lang_String()
129 assertNull("u3b returns a wrong anchor", u3b.getRef()); in test_ConstructorLjava_lang_String()
139 assertEquals("u4 returns a wrong anchor", "anchor1", u4.getRef()); in test_ConstructorLjava_lang_String()
146 assertNull("u5 returns a wrong anchor", u5.getRef()); in test_ConstructorLjava_lang_String()
153 assertNull("u5a returns a wrong anchor", u5a.getRef()); in test_ConstructorLjava_lang_String()
[all …]
/libcore/ojluni/src/main/java/java/net/
DURLStreamHandler.java133 String ref = u.getRef(); in parseURL()
395 return Objects.equals(u1.getRef(), u2.getRef()) && in equals()
414 u.getRef(), in hashCode()
522 if (u.getRef() != null) in toExternalForm()
523 len += 1 + u.getRef().length(); in toExternalForm()
539 if (u.getRef() != null) { in toExternalForm()
541 result.append(u.getRef()); in toExternalForm()
DURL.java423 ref = parts.getRef(); in URL()
846 public String getRef() { in getRef() method in URL
1414 String ref = tempState.getRef(); in setDeserializedFields()
1545 String getRef() {
1592 String getRef () {
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java55 assertEquals("ref", url.getRef()); in testUrlParts()
314 assertEquals(null, url.getRef()); in testNoHost()
335 assertEquals(null, url.getRef()); in testEmptyHostAndNoPath()
349 assertEquals(null, url.getRef()); in testNoHostAndNoPath()
416 assertEquals("fragment", url.getRef()); in testFragmentOnly()
483 assertEquals("fragment?query", url.getRef()); in testQuestionMarkInFragment()
491 assertEquals("fragment:80", url.getRef()); in testColonInFragment()
498 assertEquals("fragment/path", url.getRef()); in testSlashInFragment()
505 assertEquals("fragment/path", url.getRef()); in testSlashInFragmentCombiningConstructor()
512 assertEquals("fragment#another", url.getRef()); in testHashInFragment()
[all …]
DOldURLTest.java74 assertEquals("Assert 4: wrong anchor", "anch", testURL.getRef()); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String()
177 .getRef()); in testURLURLString()
457 String output = gamelan.getRef(); in testGetRef()
461 assertEquals("BOTTOM", gamelanNetwork.getRef()); in testGetRef()
466 assertEquals("BOTTOM", gamelanNetwork2.getRef()); in testGetRef()
662 assertTrue("SSISH1 returns a wrong anchor: " + u.getRef(), u.getRef() in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
672 assertTrue("SSISH2 returns a wrong anchor: " + u.getRef(), u.getRef() in test_ConstructorLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_net_URLStreamHandler()
736 assertNull("1 returns a wrong anchor", u1.getRef()); in testURLURLStringURLStreamHandler()
745 assertNull("2 returns a wrong anchor", u1.getRef()); in testURLURLStringURLStreamHandler()
752 assertNull("3 returns a wrong anchor", u1.getRef()); in testURLURLStringURLStreamHandler()
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DHandler.java92 (u.getRef() == null ? "": "#" + u.getRef())); in openConnection()
/libcore/ojluni/src/main/java/java/sql/
DCallableStatement.java448 Ref getRef (int parameterIndex) throws SQLException; in getRef() method
1617 Ref getRef (String parameterName) throws SQLException; in getRef() method
DResultSet.java2479 Ref getRef(int columnIndex) throws SQLException; in getRef() method
2571 Ref getRef(String columnLabel) throws SQLException; in getRef() method
/libcore/ojluni/annotations/hiddenapi/java/net/
DURL.java132 public java.lang.String getRef() { in getRef() method in URL
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java280 String ref = url.getRef(); in toURI()