Home
last modified time | relevance | path

Searched refs:childNodes (Results 1 – 25 of 72) 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.py87 elem = root.childNodes[0]
90 self.confirm(len(root.childNodes) == 2
91 and root.childNodes.length == 2
92 and root.childNodes[0] is nelem
93 and root.childNodes.item(0) is nelem
94 and root.childNodes[1] is elem
95 and root.childNodes.item(1) is elem
102 self.confirm(len(root.childNodes) == 3
103 and root.childNodes.length == 3
104 and root.childNodes[1] is elem
[all …]
/external/okio/okio/src/commonMain/kotlin/okio/
DOptions.kt155 val childNodes = Buffer() in <lambda>() constant
174 node.writeInt(-1 * (childNodesOffset + childNodes.intCount).toInt()) in <lambda>()
177 node = childNodes, in <lambda>()
189 node.writeAll(childNodes) in <lambda>()
217 val childNodes = Buffer() in <lambda>() constant
218 node.writeInt(-1 * (childNodesOffset + childNodes.intCount).toInt()) in <lambda>()
221 node = childNodes, in <lambda>()
228 node.writeAll(childNodes) in <lambda>()
/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/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/cpython3/Lib/xml/dom/
Dminidom.py69 return bool(self.childNodes)
72 return self.childNodes
75 if self.childNodes:
76 return self.childNodes[0]
79 if self.childNodes:
80 return self.childNodes[-1]
84 for c in tuple(newChild.childNodes):
97 index = self.childNodes.index(refChild)
102 self.childNodes.insert(index, newChild)
106 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/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/llvm-project/clang/www/analyzer/scripts/
Dmenu.js4 for (i=0; i<navRoot.childNodes.length; i++) {
5 node = navRoot.childNodes[i];
/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/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/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/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/googletest/googletest/test/
Dgtest_xml_test_utils.py128 for child in element.childNodes:
188 for child in element.childNodes:
195 for child in element.childNodes:
/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()
382 final List<Node> parentChildNodes = parentNode.childNodes; in setParentNode()
392 parentNode.childNodes.add(this); in setParentNode()
991 List<Node> childNodes = new ArrayList<>(node.getChildNodes());
992 if (childNodes.isEmpty()) {
995 nodesStack.push(childNodes);
997 node = childNodes.get(0);
/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/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/oboe/docs/reference/search/
Dsearch.js192 for (i=0;i<win.childNodes.length;i++)
194 var child = win.childNodes[i]; // get span within a
243 for (i=0;i<win.childNodes.length;i++)
245 var child = win.childNodes[i]; // get span within a
258 for (i=0;i<win.childNodes.length;i++)
260 var child = win.childNodes[i]; // get span within a
/external/angle/third_party/vulkan_memory_allocator/docs/html/search/
Dsearch.js193 for (i=0;i<win.childNodes.length;i++)
195 var child = win.childNodes[i]; // get span within a
243 for (i=0;i<win.childNodes.length;i++)
245 var child = win.childNodes[i]; // get span within a
258 for (i=0;i<win.childNodes.length;i++)
260 var child = win.childNodes[i]; // get span within a
/external/libyuv/files/tools_libyuv/valgrind/
Dmemcheck_analyze.py47 text += "".join([node.data for node in nodes_named.childNodes
58 text += "".join([node.data for node in nodes_named.childNodes
208 for node in error_node.childNodes:
210 description = "".join([n.data for n in node.childNodes
549 for x in node.childNodes:
/external/chromium-trace/catapult/third_party/polymer/components/shadycss/entrypoints/
Dapply-shim.js95 element.shadowRoot.childNodes;
100 let children = element.children || element.childNodes;
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/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>

123