/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 | 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/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/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 | 29 ArrayList<Process> children = new ArrayList<Process>(); in test_55017() local 32 …children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null)); in test_55017() 37 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/luni/src/main/java/java/beans/ |
D | PropertyChangeSupport.java | 357 Map<String, PropertyChangeSupport> children in readObject() local 359 if (children != null) { in readObject() 360 for (Map.Entry<String, PropertyChangeSupport> entry : children.entrySet()) { in readObject()
|
/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/luni/src/main/java/java/util/logging/ |
D | LogManager.java | 261 oldParent.children.remove(child); in addToFamilyTree() 496 newParent.children.add(logger); in setParent() 522 for (Logger child : logger.children) { in setLevelRecursively()
|
D | Logger.java | 160 final List<Logger> children = new ArrayList<Logger>(); field in Logger 232 for (Logger logger : children) { in updateDalvikLogHandler()
|
/libcore/luni/src/main/java/java/net/ |
D | NetworkInterface.java | 48 private final List<NetworkInterface> children = new LinkedList<NetworkInterface>(); field in NetworkInterface 330 interfaces[counter].children.add(interfaces[counter2]); in getNetworkInterfacesList() 416 return Collections.enumeration(children); in getSubInterfaces()
|
/libcore/luni/src/main/java/java/util/prefs/ |
D | XMLParser.java | 366 NodeList children = selectNodeList(node, "node"); in loadNode() local 368 int childNumber = children.getLength(); in loadNode() 383 Element child = (Element) children.item(i); in loadNode() 391 loadNode(prefChildren[i], (Element) children.item(i)); in loadNode()
|
D | AbstractPreferences.java | 719 … final AbstractPreferences[] children = values.toArray(new AbstractPreferences[values.size()]); in removeNodeImpl() local 720 for (AbstractPreferences child : children) { in removeNodeImpl()
|
/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"
|
/libcore/benchmarks/libs/ |
D | caliper.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |