Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/net/
DURI.java189 private transient String fragment; field in URI
212 public URI(String scheme, String schemeSpecificPart, String fragment) in URI() argument
222 if (fragment != null) { in URI()
224 ALL_LEGAL_ENCODER.appendEncoded(uri, fragment); in URI()
236 String fragment) throws URISyntaxException { in URI() argument
238 && query == null && fragment == null) { in URI()
284 if (fragment != null) { in URI()
286 ALL_LEGAL_ENCODER.appendEncoded(uri, fragment); in URI()
297 public URI(String scheme, String host, String path, String fragment) throws URISyntaxException { in URI() argument
298 this(scheme, null, host, -1, path, null, fragment); in URI()
[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/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/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/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