Home
last modified time | relevance | path

Searched refs:childNodes (Results 1 – 25 of 56) sorted by relevance

123

/external/python/cpython2/Lib/test/
Dtest_minidom.py77 elem = root.childNodes[0]
80 self.confirm(len(root.childNodes) == 2
81 and root.childNodes.length == 2
82 and root.childNodes[0] is nelem
83 and root.childNodes.item(0) is nelem
84 and root.childNodes[1] is elem
85 and root.childNodes.item(1) is elem
92 self.confirm(len(root.childNodes) == 3
93 and root.childNodes.length == 3
94 and root.childNodes[1] is elem
[all …]
/external/python/cpython3/Lib/test/
Dtest_minidom.py86 elem = root.childNodes[0]
89 self.confirm(len(root.childNodes) == 2
90 and root.childNodes.length == 2
91 and root.childNodes[0] is nelem
92 and root.childNodes.item(0) is nelem
93 and root.childNodes[1] is elem
94 and root.childNodes.item(1) is elem
101 self.confirm(len(root.childNodes) == 3
102 and root.childNodes.length == 3
103 and root.childNodes[1] is elem
[all …]
Dtest_pulldom.py112 self.assertEqual(1, len(item.childNodes))
311 self.assertGreater(len(node.childNodes), 0)
328 (text1, elm1, text2) = root.childNodes
329 text3 = elm1.childNodes[0]
/external/python/cpython3/Lib/xml/dom/
Dminidom.py68 return bool(self.childNodes)
71 return self.childNodes
74 if self.childNodes:
75 return self.childNodes[0]
78 if self.childNodes:
79 return self.childNodes[-1]
83 for c in tuple(newChild.childNodes):
96 index = self.childNodes.index(refChild)
101 self.childNodes.insert(index, newChild)
105 node = self.childNodes[index-1]
[all …]
Dexpatbuilder.py249 del self.document.childNodes[-1]
275 childNodes = self.curNode.childNodes
278 and childNodes[-1].nodeType == CDATA_SECTION_NODE):
279 childNodes[-1].appendData(data)
283 elif childNodes and childNodes[-1].nodeType == TEXT_NODE:
284 node = childNodes[-1]
295 childNodes = self.curNode.childNodes
296 if childNodes and childNodes[-1].nodeType == TEXT_NODE:
297 node = childNodes[-1]
318 node.childNodes.append(child)
[all …]
/external/python/cpython2/Lib/xml/dom/
Dminidom.py64 if self.childNodes:
70 return self.childNodes
73 if self.childNodes:
74 return self.childNodes[0]
77 if self.childNodes:
78 return self.childNodes[-1]
82 for c in tuple(newChild.childNodes):
95 index = self.childNodes.index(refChild)
100 self.childNodes.insert(index, newChild)
104 node = self.childNodes[index-1]
[all …]
Dexpatbuilder.py249 del self.document.childNodes[-1]
275 childNodes = self.curNode.childNodes
278 and childNodes[-1].nodeType == CDATA_SECTION_NODE):
279 childNodes[-1].appendData(data)
283 elif childNodes and childNodes[-1].nodeType == TEXT_NODE:
284 node = childNodes[-1]
297 childNodes = self.curNode.childNodes
298 if childNodes and childNodes[-1].nodeType == TEXT_NODE:
299 node = childNodes[-1]
322 node.childNodes.append(child)
[all …]
/external/python/cpython3/Doc/includes/
Dminidom-example.py45 print("<title>%s</title>" % getText(title.childNodes))
48 print("<h2>%s</h2>" % getText(title.childNodes))
57 print("<li>%s</li>" % getText(point.childNodes))
62 print("<p>%s</p>" % getText(title.childNodes))
/external/python/cpython2/Doc/includes/
Dminidom-example.py45 print "<title>%s</title>" % getText(title.childNodes)
48 print "<h2>%s</h2>" % getText(title.childNodes)
57 print "<li>%s</li>" % getText(point.childNodes)
62 print "<p>%s</p>" % getText(title.childNodes)
/external/testng/src/main/java/org/testng/xml/dom/
DWrapper.java46 NodeList childNodes = element.getChildNodes(); in getParameters() local
47 for (int i = 0; i < childNodes.getLength(); i++) { in getParameters()
48 if (childNodes.item(i).hasAttributes()) { in getParameters()
49 Element item = (Element) childNodes.item(i); in getParameters()
/external/clang/www/analyzer/scripts/
Dmenu.js4 for (i=0; i<navRoot.childNodes.length; i++) {
5 node = navRoot.childNodes[i];
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/docs/apidoc/
Depydoc.js192 parent.removeChild(parent.childNodes.item(0));
198 parent.removeChild(parent.childNodes.item(0));
207 if (elt.childNodes.length > 1) {
208 elt.removeChild(elt.childNodes.item(0));
250 elt.insertBefore(box1, elt.childNodes.item(0));
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/docs/apidoc/
Depydoc.js192 parent.removeChild(parent.childNodes.item(0));
198 parent.removeChild(parent.childNodes.item(0));
207 if (elt.childNodes.length > 1) {
208 elt.removeChild(elt.childNodes.item(0));
250 elt.insertBefore(box1, elt.childNodes.item(0));
/external/python/google-api-python-client/docs/epy/
Depydoc.js192 parent.removeChild(parent.childNodes.item(0));
198 parent.removeChild(parent.childNodes.item(0));
207 if (elt.childNodes.length > 1) {
208 elt.removeChild(elt.childNodes.item(0));
250 elt.insertBefore(box1, elt.childNodes.item(0));
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java160 private List<Node> childNodes = new LinkedList<>(); field in Node
316 return unmodifiableList(childNodes); in getChildNodes()
381 final List<Node> parentChildNodes = parentNode.childNodes; in setParentNode()
391 parentNode.childNodes.add(this); in setParentNode()
962 List<Node> childNodes = new ArrayList<>(node.getChildNodes());
963 if (childNodes.isEmpty()) {
966 nodesStack.push(childNodes);
968 node = childNodes.get(0);
DNodeList.java524 private void setAsParentNodeOf(List<? extends Node> childNodes) { in setAsParentNodeOf() argument
525 if (childNodes != null) { in setAsParentNodeOf()
526 for (HasParentNode current : childNodes) { in setAsParentNodeOf()
/external/google-breakpad/src/testing/gtest/test/
Dgtest_xml_test_utils.py127 for child in element.childNodes:
181 for child in element.childNodes:
188 for child in element.childNodes:
/external/googletest/googletest/test/
Dgtest_xml_test_utils.py127 for child in element.childNodes:
187 for child in element.childNodes:
194 for child in element.childNodes:
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/proper_source/com/github/javaparser/ast/
DNode.java331 protected void setAsParentNodeOf(List<? extends Node> childNodes) { in setAsParentNodeOf() argument
332 if (childNodes != null) { in setAsParentNodeOf()
333 Iterator<? extends Node> it = childNodes.iterator(); in setAsParentNodeOf()
/external/libjpeg-turbo/doc/html/search/
Dsearch.js200 for (i=0;i<win.childNodes.length;i++)
202 var child = win.childNodes[i]; // get span within a
251 for (i=0;i<win.childNodes.length;i++)
253 var child = win.childNodes[i]; // get span within a
266 for (i=0;i<win.childNodes.length;i++)
268 var child = win.childNodes[i]; // get span within a
/external/tinyxml2/docs/search/
Dsearch.js169 for (i=0;i<win.childNodes.length;i++)
171 var child = win.childNodes[i]; // get span within a
220 for (i=0;i<win.childNodes.length;i++)
222 var child = win.childNodes[i]; // get span within a
235 for (i=0;i<win.childNodes.length;i++)
237 var child = win.childNodes[i]; // get span within a
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DNode.java306 protected void setAsParentNodeOf(List<? extends Node> childNodes) { in setAsParentNodeOf() argument
307 if (childNodes != null) { in setAsParentNodeOf()
308 for (Node current : childNodes) { in setAsParentNodeOf()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_expected_output/
Dcom_github_javaparser_ast_Node.txt70 Line 332) childNodes != null ==> boolean
71 …Line 333) Iterator<? extends Node> it = childNodes.iterator() ==> java.util.Iterator<? extends com…
72 Line 333) childNodes.iterator() ==> java.util.Iterator<? extends com.github.javaparser.ast.Node>
/external/clang/tools/scan-build/share/scan-build/
Dsorttable.js123 forEach(theadrow.childNodes, function(cell) {
233 for (var i = 0; i < node.childNodes.length; i++) {
234 innerText += sorttable.getInnerText(node.childNodes[i]);
/external/clang/tools/scan-build-py/libscanbuild/resources/
Dsorttable.js123 forEach(theadrow.childNodes, function(cell) {
233 for (var i = 0; i < node.childNodes.length; i++) {
234 innerText += sorttable.getInnerText(node.childNodes[i]);

123