/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | NodeListImpl.java | 36 private List<NodeImpl> children; field in NodeListImpl 39 children = new ArrayList<NodeImpl>(); in NodeListImpl() 43 children = list; in NodeListImpl() 47 children.add(node); in add() 51 return children.size(); in getLength() 55 if (index >= children.size()) { in item() 58 return children.get(index); in item()
|
D | InnerNodeImpl.java | 45 List<LeafNodeImpl> children = new ArrayList<LeafNodeImpl>(); field in InnerNodeImpl 52 return insertChildAt(newChild, children.size()); in appendChild() 58 for (NodeImpl node : children) { in getChildNodes() 66 return (!children.isEmpty() ? children.get(0) : null); in getFirstChild() 70 return (!children.isEmpty() ? children.get(children.size() - 1) : null); in getLastChild() 74 if (parent == null || index + 1 >= parent.children.size()) { in getNextSibling() 78 return parent.children.get(index + 1); in getNextSibling() 82 return children.size() != 0; in hasChildNodes() 126 toInsert.parent.children.remove(oldIndex); in insertChildAt() 130 children.add(index, toInsert); in insertChildAt() [all …]
|
D | LeafNodeImpl.java | 46 if (parent == null || index + 1 >= parent.children.size()) { in getNextSibling() 50 return parent.children.get(index + 1); in getNextSibling() 62 return parent.children.get(index - 1); in getPreviousSibling()
|
D | DocumentImpl.java | 363 for (LeafNodeImpl child : children) { in getDoctype() 373 for (LeafNodeImpl child : children) { in getDocumentElement()
|
D | ElementImpl.java | 153 for (NodeImpl node : children) { in getElementById()
|
/libcore/ojluni/src/main/java/java/beans/ |
D | PropertyChangeSupport.java | 425 Hashtable<String, PropertyChangeSupport> children = null; in writeObject() local 433 if (children == null) { in writeObject() 434 children = new Hashtable<>(); in writeObject() 438 children.put(property, pcs); in writeObject() 443 fields.put("children", children); in writeObject() 464 …Hashtable<String, PropertyChangeSupport> children = (Hashtable<String, PropertyChangeSupport>) fie… in readObject() local 472 if (children != null) { in readObject() 473 for (Entry<String, PropertyChangeSupport> entry : children.entrySet()) { in readObject()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | documentcreatedocumentfragment.java | 64 NodeList children; in runTest() local 71 children = newDocFragment.getChildNodes(); in runTest() 72 length = (int) children.getLength(); in runTest()
|
D | hc_documentcreatedocumentfragment.java | 63 NodeList children; in runTest() local 70 children = newDocFragment.getChildNodes(); in runTest() 71 length = (int) children.getLength(); in runTest()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Xml.java | 42 NodeList children = doc.getFirstChild().getChildNodes(); in firstChildTextOf() local 43 assertEquals(1, children.getLength()); in firstChildTextOf() 44 return children.item(0).getNodeValue(); in firstChildTextOf()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | importNode04.java | 76 NodeList children; in runTest() local 85 children = aNode.getChildNodes(); in runTest() 86 assertSize("throw_Size", 1, children); in runTest()
|
/libcore/luni/src/test/java/libcore/xml/ |
D | NodeTest.java | 84 NodeList children = node.getChildNodes(); in traverse() local 85 for (int i = 0; i < children.getLength(); i++) { in traverse() 86 traverse(children.item(i), sink); in traverse()
|
D | KxmlSerializerTest.java | 215 NodeList children = doc.getFirstChild().getChildNodes(); in testCdataWithTerminatorInside() local 217 for (int i = 0; i < children.getLength(); ++i) { in testCdataWithTerminatorInside() 218 text += children.item(i).getNodeValue(); in testCdataWithTerminatorInside()
|
D | DomTest.java | 1019 NodeList children = formerParent.getChildNodes(); in assertDetached() local 1020 for (int i = 0; i < children.getLength(); i++) { in assertDetached() 1021 assertTrue(children.item(i) != node); in assertDetached() 1525 NodeList children = menu.getChildNodes(); in testAddingADocumentFragmentAddsItsChildren() local 1526 assertEquals(6, children.getLength()); in testAddingADocumentFragmentAddsItsChildren() 1527 assertTrue(children.item(0) instanceof Text); // whitespace in testAddingADocumentFragmentAddsItsChildren() 1528 assertEquals(item, children.item(1)); in testAddingADocumentFragmentAddsItsChildren() 1529 assertTrue(children.item(2) instanceof Text); // whitespace in testAddingADocumentFragmentAddsItsChildren() 1530 assertEquals(a, children.item(3)); in testAddingADocumentFragmentAddsItsChildren() 1531 assertEquals(b, children.item(4)); in testAddingADocumentFragmentAddsItsChildren() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessTest.java | 31 ArrayList<Process> children = new ArrayList<Process>(); in test_55017() local 34 …children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null)); in test_55017() 39 assertEquals(0, children.size()); in test_55017()
|
D | ThreadGroupTest.java | 455 ThreadGroup[] children = groups(current); in test_setMaxPriorityI() local 456 assertEquals("Can only have 1 subgroup", 1, children.length); in test_setMaxPriorityI() 457 current = children[0]; in test_setMaxPriorityI()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
D | MockAbstractPreferences.java | 175 String[] children = p.childrenNames(); in removeNodeSpi() local 176 for (String child : children) { in removeNodeSpi()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | LogManager.java | 880 if (node.children == null) { in getNode() 881 node.children = new HashMap<>(); in getNode() 883 LogNode child = node.children.get(head); in getNode() 886 node.children.put(head, child); in getNode() 1610 HashMap<String,LogNode> children; field in LogManager.LogNode 1623 if (children == null) { in walkAndSetParent() 1626 Iterator<LogNode> values = children.values().iterator(); in walkAndSetParent()
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | ImportNode.java | 184 NodeList children; in testImportNode4() local 193 children = aNode.getChildNodes(); in testImportNode4() 194 assertEquals("throw_Size", 1, children.getLength()); in testImportNode4()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadGroupTest.java | 382 ThreadGroup[] children = groups(group); in populateGroupsWithThreads() local 383 for (ThreadGroup element : children) { in populateGroupsWithThreads()
|
/libcore/ojluni/annotations/hiddenapi/java/util/logging/ |
D | LogManager.java | 354 java.util.HashMap<java.lang.String, java.util.logging.LogManager.LogNode> children; field in LogManager.LogNode
|
/libcore/expectations/ |
D | knownfailures.txt | 1537 substring: "This implementation doesn't include children in entity references"
|