Home
last modified time | relevance | path

Searched refs:fragment (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/main/java/java/net/
DURI.java475 private transient String fragment; field in URI
662 String path, String query, String fragment) in URI() argument
667 path, query, fragment); in URI()
735 String path, String query, String fragment) in URI() argument
740 path, query, fragment); in URI()
767 public URI(String scheme, String host, String path, String fragment) in URI() argument
770 this(scheme, null, host, -1, path, null, fragment); in URI()
810 public URI(String scheme, String ssp, String fragment) in URI() argument
815 null, null, fragment)) in URI()
1350 return fragment; in getRawFragment()
[all …]
/libcore/luni/src/test/java/libcore/xml/
DXsltXPathConformanceTestSuite.java448 String fragment = rawContents; in fileToResultNode() local
452 if (fragment.startsWith("<?xml")) { in fileToResultNode()
453 int declarationEnd = fragment.indexOf("?>"); in fileToResultNode()
454 fragment = fragment.substring(declarationEnd + 2); in fileToResultNode()
459 fragment = "<result>" + fragment + "</result>"; in fileToResultNode()
460 return documentBuilder.parse(new InputSource(new StringReader(fragment))) in fileToResultNode()
DDomTest.java1518 DocumentFragment fragment = document.createDocumentFragment(); in testAddingADocumentFragmentAddsItsChildren() local
1519 fragment.appendChild(a); in testAddingADocumentFragmentAddsItsChildren()
1520 fragment.appendChild(b); in testAddingADocumentFragmentAddsItsChildren()
1521 fragment.appendChild(c); in testAddingADocumentFragmentAddsItsChildren()
1523 Node returned = menu.appendChild(fragment); in testAddingADocumentFragmentAddsItsChildren()
1524 assertSame(fragment, returned); in testAddingADocumentFragmentAddsItsChildren()
1539 DocumentFragment fragment = document.createDocumentFragment(); in testReplacingWithADocumentFragmentInsertsItsChildren() local
1540 fragment.appendChild(a); in testReplacingWithADocumentFragmentInsertsItsChildren()
1541 fragment.appendChild(b); in testReplacingWithADocumentFragmentInsertsItsChildren()
1542 fragment.appendChild(c); in testReplacingWithADocumentFragmentInsertsItsChildren()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/net/
DURI.java49 java.lang.String fragment) in URI() argument
59 java.lang.String fragment) in URI() argument
68 java.lang.String fragment) in URI() argument
73 public URI(java.lang.String scheme, java.lang.String ssp, java.lang.String fragment) in URI() argument
266 private void appendFragment(java.lang.StringBuffer sb, java.lang.String fragment) { in appendFragment() argument
279 java.lang.String fragment) { in toString() argument
651 private transient java.lang.String fragment; field in URI
/libcore/ojluni/annotations/hiddenapi/sun/net/www/
DParseUtil.java77 java.lang.String fragment) in createURI() argument
91 java.lang.String fragment) { in toString() argument
116 private static void appendFragment(java.lang.StringBuffer sb, java.lang.String fragment) { in appendFragment() argument
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java104 String fragment, Boolean isAbsolute, String actual) { in assertURIEquals() argument
120 if (fragment != null) { in assertURIEquals()
121 assertEquals(assertID, fragment, actualFragment); in assertURIEquals()
/libcore/ojluni/src/main/java/sun/net/www/
DParseUtil.java314 String fragment) throws URISyntaxException in createURI() argument
318 path, query, fragment); in createURI()
331 String fragment) in toString() argument
341 appendFragment(sb, fragment); in toString()
434 private static void appendFragment(StringBuffer sb, String fragment) { in appendFragment() argument
435 if (fragment != null) { in appendFragment()
437 sb.append(quote(fragment, L_URIC, H_URIC)); in appendFragment()
/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.java678 String fragment, in assertURIEquals() argument
696 if (fragment != null) { in assertURIEquals()
697 assertEquals(assertID, fragment, actualFragment); in assertURIEquals()
/libcore/luni/src/test/java/libcore/java/net/
DURLTest.java967 final String fragment = "@not-a-host-name/a"; in testFragmentWithSlash() local
968 URL url = new URL(String.format("http://%s#%s", host, fragment)); in testFragmentWithSlash()
972 assertEquals(fragment, url.getRef()); in testFragmentWithSlash()
978 final String fragment = "@not-a-host-name?a"; in testFragmentWithQuery() local
979 URL url = new URL(String.format("http://%s#%s", host, fragment)); in testFragmentWithQuery()
983 assertEquals(fragment, url.getRef()); in testFragmentWithQuery()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DURITest.java401 int port, String path, String query, String fragment) { in construct1() argument
404 fragment); in construct1()
/libcore/benchmarks/src/benchmarks/regression/
DR.java1641 public static final int fragment = 0; field in R