/libcore/luni/src/main/java/java/util/concurrent/ |
D | Phaser.java | 313 private final Phaser root; field in Phaser 354 final Phaser root = this.root; in doArrive() local 356 long s = (root == this) ? state : reconcileState(); in doArrive() 368 if (root == this) { in doArrive() 417 root.internalAwaitAdvance(phase, null); in doRegister() 441 phase = (int)(root.state >>> PHASE_SHIFT); in doRegister() 462 final Phaser root = this.root; in reconcileState() local 464 if (root != this) { in reconcileState() 467 while ((phase = (int)(root.state >>> PHASE_SHIFT)) != in reconcileState() 529 final Phaser root = parent.root; in Phaser() local [all …]
|
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
D | TrustManagerImplTest.java | 74 X509Certificate root = chain3[2]; in testLearnIntermediate() local 81 assertValid(chain3, trustManager(root)); in testLearnIntermediate() 82 assertValid(chain2, trustManager(root)); in testLearnIntermediate() 83 assertInvalid(chain1, trustManager(root)); in testLearnIntermediate() 92 X509TrustManager tm = trustManager(root); in testLearnIntermediate() 107 X509Certificate root = chain3[2]; in testDuplicateInChain() local 114 assertValid(chain4, trustManager(root)); in testDuplicateInChain() 121 X509Certificate root = chain3[2]; in testGetFullChain() local 122 X509TrustManager tm = trustManager(root); in testGetFullChain() 142 X509Certificate root = chain3[2]; in testCertPinning() local [all …]
|
D | CertPinManagerTest.java | 61 X509Certificate root = chain[2]; in setUp() local 66 shortChain.add(root); in setUp() 71 shortPin = getFingerprint(root); in setUp()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | SimpleBuilderTest.java | 61 Element root = document.getDocumentElement(); in testGoodFile1() local 62 assertNotNull(root); in testGoodFile1() 63 assertEquals("http://www.foo.bar", root.getNamespaceURI()); in testGoodFile1() 64 assertEquals("t", root.getPrefix()); in testGoodFile1() 65 assertEquals("stuff", root.getLocalName()); in testGoodFile1() 67 NodeList list = root.getElementsByTagName("nestedStuff"); in testGoodFile1() 114 Element root = document.getDocumentElement(); in testGoodFile2() local 115 assertNotNull(root); in testGoodFile2()
|
D | NormalizeTest.java | 402 Element root = document.createElement("foo"); in testCommentContainingDoubleDash() local 403 document.appendChild(root); in testCommentContainingDoubleDash() 404 root.appendChild(document.createComment("ABC -- DEF")); in testCommentContainingDoubleDash() 422 Element root = document.createElement("foo"); in testSplittingCdataSectionsSplit() local 423 document.appendChild(root); in testSplittingCdataSectionsSplit() 424 root.appendChild(document.createCDATASection("ABC]]>DEF]]>GHI")); in testSplittingCdataSectionsSplit() 427 assertChildren(root, "<![CDATA[ABC]]]]>", "<![CDATA[>DEF]]]]>", "<![CDATA[>GHI]]>"); in testSplittingCdataSectionsSplit() 435 Element root = document.createElement("foo"); in testSplittingCdataSectionsReportError() local 436 document.appendChild(root); in testSplittingCdataSectionsReportError() 437 root.appendChild(document.createCDATASection("ABC]]>DEF")); in testSplittingCdataSectionsReportError() [all …]
|
D | NodeTest.java | 43 Node root = document.getDocumentElement(); in test_getNextSibling() local 44 assertNull(root.getNextSibling()); in test_getNextSibling()
|
D | DomTest.java | 468 Element root = document.createElement("menu"); in testEntityReferenceSetTextContent() local 469 document.appendChild(root); in testEntityReferenceSetTextContent() 472 root.appendChild(entityReference); in testEntityReferenceSetTextContent() 1392 Node root = document.getDocumentElement(); in testIterateForwardsThroughInnerNodeSiblings() local 1393 Node current = root.getChildNodes().item(0); in testIterateForwardsThroughInnerNodeSiblings() 1397 assertEquals(root.getChildNodes().item(root.getChildNodes().getLength() - 1), current); in testIterateForwardsThroughInnerNodeSiblings() 1403 Node root = document.getDocumentElement(); in testIterateBackwardsThroughInnerNodeSiblings() local 1404 Node current = root.getChildNodes().item(root.getChildNodes().getLength() - 1); in testIterateBackwardsThroughInnerNodeSiblings() 1408 assertEquals(root.getChildNodes().item(0), current); in testIterateBackwardsThroughInnerNodeSiblings() 1414 Node root = document.getDocumentElement(); in testIterateForwardsThroughLeafNodeSiblings() local [all …]
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | elementnormalize.java | 66 Element root; in runTest() local 72 root = doc.getDocumentElement(); in runTest() 73 root.normalize(); in runTest() 74 elementList = root.getElementsByTagName("name"); in runTest()
|
D | documentgetrootnode.java | 64 Element root; in runTest() local 67 root = doc.getDocumentElement(); in runTest() 68 rootName = root.getNodeName(); in runTest()
|
D | hc_elementgettagname.java | 60 Element root; in runTest() local 63 root = doc.getDocumentElement(); in runTest() 64 tagname = root.getTagName(); in runTest()
|
D | hc_documentgetrootnode.java | 60 Element root; in runTest() local 63 root = doc.getDocumentElement(); in runTest() 64 rootName = root.getNodeName(); in runTest()
|
D | elementgettagname.java | 64 Element root; in runTest() local 67 root = doc.getDocumentElement(); in runTest() 68 tagname = root.getTagName(); in runTest()
|
D | hc_elementnormalize2.java | 60 Element root; in runTest() local 70 root = doc.getDocumentElement(); in runTest() 72 elementList = root.getElementsByTagName("acronym"); in runTest()
|
D | hc_elementnormalize.java | 60 Element root; in runTest() local 74 root = doc.getDocumentElement(); in runTest() 75 root.normalize(); in runTest()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | normalize01.java | 71 Element root; in runTest() local 78 root = doc.getDocumentElement(); in runTest() 79 root.normalize(); in runTest() 80 elementList = root.getElementsByTagName("name"); in runTest()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | Normalize.java | 76 Element root; in testNormalize() local 83 root = doc.getDocumentElement(); in testNormalize() 84 root.normalize(); in testNormalize() 85 elementList = root.getElementsByTagName("name"); in testNormalize()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLoggerTest.java | 136 Logger root = Logger.getLogger(""); in testGetLogger_WithParent() local 146 assertSame(pLog.getParent(), root); in testGetLogger_WithParent() local 179 assertSame(child.getParent().getParent(), root); in testGetLogger_WithParent() local 187 assertSame(child.getParent().getParent(), root); in testGetLogger_WithParent() local 194 assertSame(childOfChild.getParent().getParent().getParent(), root); in testGetLogger_WithParent() local 203 assertSame(child.getParent().getParent(), root); in testGetLogger_WithParent() local 204 assertNotSame(child.getParent(), root); in testGetLogger_WithParent() local 207 assertNotSame(root.getParent(), root); in testGetLogger_WithParent() local 209 assertSame(twoDot.getParent(), root); in testGetLogger_WithParent() local
|
/libcore/luni/src/main/java/java/util/logging/ |
D | LogManager.java | 167 Logger root = new Logger("", null); 168 root.setLevel(Level.INFO); 169 Logger.global.setParent(root); 171 manager.addLogger(root); 373 Logger root = loggers.get(""); in readConfigurationImpl() local 374 if (root != null) { in readConfigurationImpl() 375 root.setManager(this); in readConfigurationImpl() 434 Logger root = loggers.get(""); in reset() local 435 if (root != null) { in reset() 436 root.setLevel(Level.INFO); in reset()
|
/libcore/luni/src/main/java/java/util/ |
D | TreeMap.java | 77 Node<K, V> root; field in TreeMap 159 map.root = root != null ? root.copy(null) : null; in clone() 190 root = null; in clear() 252 if (root == null) { in find() 257 root = new Node<K, V>(null, key); in find() 260 return root; in find() 275 Node<K, V> nearest = root; in find() 448 root = replacement; in replaceInParent() 522 private void rotateLeft(Node<K, V> root) { in rotateLeft() argument 523 Node<K, V> left = root.left; in rotateLeft() [all …]
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | SubjectAlternativeNameTest.java | 53 Certificate root = new TestKeyStore.Builder() in formatIpAddress() local 57 X509Certificate javaCertificate = bouncycastleToJava(root); in formatIpAddress()
|
/libcore/luni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 124 private AbstractPreferences root; field in AbstractPreferences 149 root = (parent == null) ? this : parent.root; in AbstractPreferences() 157 userNode = root.userNode; in AbstractPreferences() 344 } else if (parentPref == root) { in absolutePath() 508 return root == Preferences.userRoot(); in isUserNode() 533 return root; in node() 536 startNode = root; in node() 615 startNode = root; in nodeExists() 699 if (root == this) { in removeNode()
|
/libcore/support/src/test/java/tests/support/resource/ |
D | Support_Resources.java | 98 public static File copyFile(File root, String folder, String file) { in copyFile() argument 101 f = new File(root.toString() + "/" + folder); in copyFile() 107 f = root; in copyFile()
|
/libcore/luni/src/test/java/tests/api/javax/xml/parsers/ |
D | DocumentBuilderTest.java | 544 Element root = (Element)d.getElementsByTagName("a").item(0); in testReset() local 545 assertEquals("foo", ((EntityReference)root.getFirstChild()).getNodeName()); in testReset() 619 Element root = (Element)d.getElementsByTagName("a").item(0); in testSetEntityResolver() local 620 assertEquals("bar", ((Text)root.getFirstChild()).getData()); in testSetEntityResolver() 633 root = (Element)d.getElementsByTagName("a").item(0); in testSetEntityResolver() 634 assertEquals("foo", ((EntityReference)root.getFirstChild()).getNodeName()); in testSetEntityResolver()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DocumentImpl.java | 384 ElementImpl root = (ElementImpl) getDocumentElement(); in getElementById() local 386 return (root == null ? null : root.getElementById(elementId)); in getElementById() 483 Element root = getDocumentElement(); in normalizeDocument() local 484 if (root == null) { in normalizeDocument() 488 ((DOMConfigurationImpl) getDomConfig()).normalize(root); in normalizeDocument()
|
/libcore/support/src/test/java/org/apache/harmony/testframework/serialization/ |
D | SerializationTest.java | 446 public static void createGoldenFile(String root, TestCase test, Object object) in createGoldenFile() argument 450 if (root != null) { in createGoldenFile() 451 goldenPath = root + File.separatorChar + goldenPath; in createGoldenFile()
|