/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Phaser.java | 340 private final Phaser root; field in Phaser 381 final Phaser root = this.root; in doArrive() local 383 long s = (root == this) ? state : reconcileState(); in doArrive() 395 if (root == this) { in doArrive() 443 root.internalAwaitAdvance(phase, null); in doRegister() 466 phase = (int)(root.state >>> PHASE_SHIFT); in doRegister() 487 final Phaser root = this.root; in reconcileState() local 489 if (root != this) { in reconcileState() 492 while ((phase = (int)(root.state >>> PHASE_SHIFT)) != in reconcileState() 554 final Phaser root = parent.root; in Phaser() local [all …]
|
/libcore/luni/src/test/java/libcore/xml/ |
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 | 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 | NodeTest.java | 43 Node root = document.getDocumentElement(); in test_getNextSibling() local 44 assertNull(root.getNextSibling()); in test_getNextSibling()
|
/libcore/ojluni/src/main/java/java/util/ |
D | AbstractList.java | 749 private final AbstractList<E> root; field in AbstractList.SubList 758 public SubList(AbstractList<E> root, int fromIndex, int toIndex) { in SubList() argument 759 this.root = root; in SubList() 763 this.modCount = root.modCount; in SubList() 770 this.root = parent.root; in SubList() 774 this.modCount = root.modCount; in SubList() 780 return root.set(offset + index, element); in set() 786 return root.get(offset + index); in get() 797 root.add(offset + index, element); in add() 804 E result = root.remove(offset + index); in remove() [all …]
|
D | HashMap.java | 1816 final TreeNode<K,V> root() { in root() method in HashMap.TreeNode 1827 static <K,V> void moveRootToFront(Node<K,V>[] tab, TreeNode<K,V> root) { in moveRootToFront() argument 1829 if (root != null && tab != null && (n = tab.length) > 0) { in moveRootToFront() 1830 int index = (n - 1) & root.hash; in moveRootToFront() 1832 if (root != first) { in moveRootToFront() 1834 tab[index] = root; in moveRootToFront() 1835 TreeNode<K,V> rp = root.prev; in moveRootToFront() 1836 if ((rn = root.next) != null) in moveRootToFront() 1841 first.prev = root; in moveRootToFront() 1842 root.next = first; in moveRootToFront() [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 | elementgettagname.java | 64 Element root; in runTest() local 67 root = doc.getDocumentElement(); in runTest() 68 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 | 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/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/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/prefs/ |
D | PreferencesTest.java | 42 public TestPreferencesFactory(String root) throws IOException { in TestPreferencesFactory() argument 43 userLockFile = new File(root, "user.lock"); in TestPreferencesFactory() 44 systemLockFile = new File(root, "system.lock"); in TestPreferencesFactory() 47 userPrefs = new FileSystemPreferences(root + "/user", userLockFile, true); in TestPreferencesFactory() 48 … systemPrefs = new FileSystemPreferences(root + "/system", systemLockFile, false); } in TestPreferencesFactory()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | AbstractPreferences.java | 143 private final AbstractPreferences root; // Relative to this node field in AbstractPreferences 211 root = this; in AbstractPreferences() 219 root = parent.root; in AbstractPreferences() 220 absolutePath = (parent==root ? "/" + name in AbstractPreferences() 818 return root; in node() 824 return root.node(new StringTokenizer(path.substring(1), "/", true)); in node() 889 return root.nodeExists(new StringTokenizer(path.substring(1), "/", in nodeExists() 950 if (this==root) in removeNode() 1034 return root == Preferences.userRoot(); in isUserNode()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | UNIXProcess.java | 98 ThreadGroup root = Thread.currentThread().getThreadGroup(); in getRootThreadGroup() 99 while (root.getParent() != null) in getRootThreadGroup() 100 root = root.getParent(); in getRootThreadGroup() 101 return root; in getRootThreadGroup()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | PhaserTest.java | 201 Phaser root = new Phaser(); in testRegisterEmptySubPhaser() local 202 Phaser child1 = new Phaser(root, 1); in testRegisterEmptySubPhaser() 203 Phaser child2 = new Phaser(root, 0); in testRegisterEmptySubPhaser() 205 assertState(root, 0, 2, 2); in testRegisterEmptySubPhaser() 209 assertState(root, 0, 1, 1); in testRegisterEmptySubPhaser() 214 assertState(root, 0, 1, 1); in testRegisterEmptySubPhaser() 218 assertTerminated(root, 1); in testRegisterEmptySubPhaser() 403 Phaser root = new Phaser(); 404 Phaser parent = new Phaser(root); 406 assertState(root, 0, 0, 0); [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/ojluni/src/test/java/util/stream/testlib/ |
D | TEST.properties | 1 # This file identifies root(s) of the test-ng hierarchy.
|
/libcore/ojluni/src/test/java/util/stream/bootlib/ |
D | TEST.properties | 1 # This file identifies root(s) of the test-ng hierarchy.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LocaleTest.java | 402 Locale root = Locale.ROOT; in test_constantROOT() local 403 assertEquals("", root.getLanguage()); in test_constantROOT() 404 assertEquals("", root.getCountry()); in test_constantROOT() 405 assertEquals("", root.getVariant()); in test_constantROOT()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/ |
D | DocumentBuilderTest.java | 547 Element root = (Element)d.getElementsByTagName("a").item(0); in testReset() local 548 assertEquals("foo", ((EntityReference)root.getFirstChild()).getNodeName()); in testReset() 622 Element root = (Element)d.getElementsByTagName("a").item(0); in testSetEntityResolver() local 623 assertEquals("bar", ((Text)root.getFirstChild()).getData()); in testSetEntityResolver() 636 root = (Element)d.getElementsByTagName("a").item(0); in testSetEntityResolver() 637 assertEquals("foo", ((EntityReference)root.getFirstChild()).getNodeName()); in testSetEntityResolver()
|