/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 | 364 for (LeafNodeImpl child : children) { in getDoctype() 374 for (LeafNodeImpl child : children) { in getDocumentElement()
|
D | ElementImpl.java | 149 for (NodeImpl node : children) { in getElementById()
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | hc_documentcreatedocumentfragment.java | 63 NodeList children; in runTest() local 70 children = newDocFragment.getChildNodes(); in runTest() 71 length = (int) children.getLength(); in runTest()
|
D | documentcreatedocumentfragment.java | 64 NodeList children; in runTest() local 71 children = newDocFragment.getChildNodes(); in runTest() 72 length = (int) children.getLength(); in runTest()
|
/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/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/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<String, PropertyChangeSupport>(); in writeObject() 438 children.put(property, pcs); in writeObject() 443 fields.put("children", children); in writeObject() 463 …Hashtable<String, PropertyChangeSupport> children = (Hashtable<String, PropertyChangeSupport>) fie… in readObject() local 471 if (children != null) { in readObject() 472 for (Entry<String, PropertyChangeSupport> entry : children.entrySet()) { in readObject()
|
/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 | 212 NodeList children = doc.getFirstChild().getChildNodes(); in testCdataWithTerminatorInside() local 214 for (int i = 0; i < children.getLength(); ++i) { in testCdataWithTerminatorInside() 215 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 | 30 ArrayList<Process> children = new ArrayList<Process>(); in test_55017() local 33 …children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null)); in test_55017() 38 assertEquals(0, children.size()); in test_55017()
|
D | ThreadGroupTest.java | 454 ThreadGroup[] children = groups(current); in test_setMaxPriorityI() local 455 assertEquals("Can only have 1 subgroup", 1, children.length); in test_setMaxPriorityI() 456 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 | 711 if (node.children == null) { in getNode() 712 node.children = new HashMap<>(); in getNode() 714 LogNode child = node.children.get(head); in getNode() 717 node.children.put(head, child); in getNode() 1368 HashMap<String,LogNode> children; field in LogManager.LogNode 1381 if (children == null) { in walkAndSetParent() 1384 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 | 374 ThreadGroup[] children = groups(group); in populateGroupsWithThreads() local 375 for (ThreadGroup element : children) { in populateGroupsWithThreads()
|
/libcore/expectations/ |
D | icebox.txt | 21 substring: "This implementation doesn't include children in entity references"
|