Home
last modified time | relevance | path

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

1234

/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/tree_adapters/
Ddefault.js8 childNodes: []
16 childNodes: []
26 childNodes: [],
52 for (var i = 0; i < document.childNodes.length; i++) {
53 if (document.childNodes[i].nodeName === '#documentType') {
54 doctypeNode = document.childNodes[i];
84 parentNode.childNodes.push(newNode);
89 var insertionIdx = parentNode.childNodes.indexOf(referenceNode);
91 parentNode.childNodes.splice(insertionIdx, 0, newNode);
97 var idx = node.parentNode.childNodes.indexOf(node);
[all …]
/external/v8/tools/gyp/tools/
Dpretty_vcproj.py67 if node.childNodes:
90 for sub_node in node.childNodes:
104 for current in node.childNodes:
146 for sub_node in node.childNodes:
151 for sub_node in node.childNodes:
170 if node.childNodes:
175 while node.childNodes and node.childNodes[0]:
177 current = node.childNodes[0]
206 for node in vcproj.childNodes:
208 for sub_node in node.childNodes:
[all …]
/external/v8/build/android/pylib/utils/
Dfindbugs.py25 for en in (n for n in results_doc.documentElement.childNodes
33 for c in (n for n in node.childNodes
36 if (len(c.childNodes) == 1
37 and c.childNodes[0].nodeType == xml.dom.Node.TEXT_NODE):
38 return c.childNodes[0].data
45 for c in (n for n in node.childNodes
60 elif (c.tagName == 'ShortMessage' and len(c.childNodes) == 1
61 and c.childNodes[0].nodeType == xml.dom.Node.TEXT_NODE):
62 msg_parts.append(c.childNodes[0].data)
/external/chromium-trace/catapult/third_party/Paste/docs/web/
Dsite.js14 if (title.childNodes[0].tagName != 'A') {
16 while (title.childNodes.length) {
17 anchor.appendChild(title.childNodes[0]);
23 anchor = title.childNodes[0];
/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/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tiledmappacker/
DTiledMapPacker.java410 NodeList childNodes = parent.getChildNodes(); in getFirstChildNodeByName() local
411 for (int i = 0; i < childNodes.getLength(); i++) { in getFirstChildNodeByName()
412 if (childNodes.item(i).getNodeName().equals(child)) { in getFirstChildNodeByName()
413 return childNodes.item(i); in getFirstChildNodeByName()
419 if (childNodes.item(0) != null) in getFirstChildNodeByName()
420 return parent.insertBefore(newNode, childNodes.item(0)); in getFirstChildNodeByName()
428 NodeList childNodes = node.getChildNodes(); in getFirstChildByNameAttrValue() local
429 for (int i = 0; i < childNodes.getLength(); i++) { in getFirstChildByNameAttrValue()
430 if (childNodes.item(i).getNodeName().equals(childName)) { in getFirstChildByNameAttrValue()
431 NamedNodeMap attributes = childNodes.item(i).getAttributes(); in getFirstChildByNameAttrValue()
[all …]
/external/chromium-trace/catapult/tracing/third_party/css-element-queries/src/
DResizeSensor.js84 var expand = element.resizeSensor.childNodes[0];
85 var expandChild = expand.childNodes[0];
86 var shrink = element.resizeSensor.childNodes[1];
87 var shrinkChild = shrink.childNodes[0];
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/res/
DStringArrayResourceLoader.java31 NodeList childNodes = (NodeList) itemXPath.evaluate(node, XPathConstants.NODESET); in processNode() local
33 for (int j = 0; j < childNodes.getLength(); j++) { in processNode()
34 Node childNode = childNodes.item(j); in processNode()
DPluralResourceLoader.java38 NodeList childNodes = (NodeList) itemXPath.evaluate(node, XPathConstants.NODESET); in processNode() local
40 for (int j = 0; j < childNodes.getLength(); j++) { in processNode()
41 Node childNode = childNodes.item(j); in processNode()
DPreferenceLoader.java40 private void processChildren(NodeList childNodes, PreferenceNode parent) { in processChildren() argument
41 for (int i = 0; i < childNodes.getLength(); i++) { in processChildren()
42 Node node = childNodes.item(i); in processChildren()
DMenuLoader.java46 private void processChildren(NodeList childNodes, MenuNode parent) { in processChildren() argument
47 for (int i = 0; i < childNodes.getLength(); i++) { in processChildren()
48 Node node = childNodes.item(i); in processChildren()
/external/clang/www/analyzer/scripts/
Dmenu.js4 for (i=0; i<navRoot.childNodes.length; i++) {
5 node = navRoot.childNodes[i];
/external/v8/tools/turbolizer/
Dcode-view.js39 var lineListDiv = view.divElement.firstChild.firstChild.childNodes;
42 var spans = currentLineElement.childNodes;
142 var lineListDiv = view.divElement.firstChild.firstChild.childNodes;
148 var spans = currentLineElement.childNodes;
/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/lib/serialization/
Dserializer.js65 var childNodes = this.treeAdapter.getChildNodes(parentNode);
67 if (childNodes) {
68 for (var i = 0, cnLength = childNodes.length; i < cnLength; i++) {
69 var currentNode = childNodes[i];
/external/protobuf/gtest/test/
Dgtest_xml_test_utils.py126 for child in element.childNodes:
163 for child in element.childNodes:
170 for child in element.childNodes:
/external/chromium-trace/catapult/third_party/vinn/vinn/
Dhtml_to_js_generator.js159 var nodes_list = document.childNodes;
165 if (node.childNodes)
166 nodes_list.push.apply(nodes_list, node.childNodes);
/external/gtest/test/
Dgtest_xml_test_utils.py131 for child in element.childNodes:
185 for child in element.childNodes:
192 for child in element.childNodes:
/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/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_xml_test_utils.py131 for child in element.childNodes:
185 for child in element.childNodes:
192 for child in element.childNodes:
/external/chromium-trace/catapult/third_party/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/lldb/www/python_reference/
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/third_party/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/v8/tools/gyp/pylib/gyp/
Dxml_fix.py42 if self.childNodes:
44 for node in self.childNodes:
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_parser2.py33 self.assertTrue(doc.childNodes[0].namespaceURI == namespaces["html"])
38 self.assertTrue(doc.childNodes[0].namespaceURI is None)
/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

1234