Home
last modified time | relevance | path

Searched refs:nodeType (Results 1 – 25 of 232) sorted by relevance

12345678910

/external/webkit/LayoutTests/dom/xhtml/level3/core/
Dcanonicalform08.js102 var nodeType;
124 nodeType = node.nodeType;
126 assertEquals("PIisFirstChild",7,nodeType);
133 nodeType = node.nodeType;
135 assertEquals("TextisSecondChild",3,nodeType);
142 nodeType = node.nodeType;
144 assertEquals("ElementisThirdChild",1,nodeType);
147 nodeType = node.nodeType;
149 assertEquals("TextisFourthChild",3,nodeType);
156 nodeType = node.nodeType;
[all …]
Dcanonicalform09.js103 var nodeType;
126 nodeType = node.nodeType;
128 assertEquals("PIisFirstChild",7,nodeType);
135 nodeType = node.nodeType;
137 assertEquals("TextisSecondChild",3,nodeType);
144 nodeType = node.nodeType;
146 assertEquals("ElementisThirdChild",1,nodeType);
149 nodeType = node.nodeType;
151 assertEquals("TextisFourthChild",3,nodeType);
158 nodeType = node.nodeType;
[all …]
Ddocumentadoptnode01.js96 var nodeType;
123 nodeType = adoptedclass.nodeType;
128 assertEquals("documentadoptNode01_nodeType",2,nodeType);
142 secondChildType = secondChild.nodeType;
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDefaultBaseIterators.java434 public TypedChildrenIterator(int nodeType) in TypedChildrenIterator() argument
436 _nodeType = nodeType; in TypedChildrenIterator()
475 int nodeType = _nodeType; in next() local
477 if (nodeType >= DTM.NTYPES) { in next()
478 while (node != DTM.NULL && _exptype(node) != nodeType) { in next()
485 if (eType == nodeType) { in next()
488 } else if (m_expandedNameTable.getType(eType) == nodeType) { in next()
653 public TypedNamespaceIterator(int nodeType) in TypedNamespaceIterator() argument
656 _nodeType = nodeType; in TypedNamespaceIterator()
754 public TypedRootIterator(int nodeType) in TypedRootIterator() argument
[all …]
/external/webkit/LayoutTests/dom/html/level1/core/
Dhc_nodecommentnodetype.js97 var nodeType;
114 nodeType = commentNode.nodeType;
116 assertEquals("existingCommentNodeType",8,nodeType);
122 nodeType = commentNode.nodeType;
124 assertEquals("createdCommentNodeType",8,nodeType);
Dhc_elementgetelementsbytagnameaccessnodelist.js103 var nodeType;
116 nodeType = firstC.nodeType;
120 (3 == nodeType)
124 nodeType = firstC.nodeType;
Dhc_nodechildnodes.js98 var nodeType;
122 nodeType = childNode.nodeType;
128 (1 == nodeType)
135 assertEquals("textNodeType",3,nodeType);
Dhc_nodelisttraverselist.js98 var nodeType;
121 nodeType = child.nodeType;
127 (1 == nodeType)
134 assertEquals("textNodeType",3,nodeType);
Dhc_nodereplacechildnewchildexists.js111 var nodeType;
129 nodeType = childNode.nodeType;
133 (1 == nodeType)
140 assertEquals("textNodeType",3,nodeType);
Dhc_noderemovechildnode.js104 var nodeType;
132 nodeType = child.nodeType;
138 (1 == nodeType)
145 assertEquals("textNodeType",3,nodeType);
Dhc_nodedocumentnodetype.js92 var nodeType;
99 nodeType = doc.nodeType;
101 assertEquals("nodeDocumentNodeTypeAssert1",9,nodeType);
Dhc_nodeelementnodetype.js92 var nodeType;
101 nodeType = rootNode.nodeType;
103 assertEquals("nodeElementNodeTypeAssert1",1,nodeType);
Dhc_nodedocumentfragmentnodetype.js95 var nodeType;
103 nodeType = documentFragmentNode.nodeType;
105 assertEquals("nodeDocumentFragmentNodeTypeAssert1",11,nodeType);
/external/webkit/LayoutTests/dom/xhtml/level1/core/
Dhc_nodecommentnodetype.js97 var nodeType;
114 nodeType = commentNode.nodeType;
116 assertEquals("existingCommentNodeType",8,nodeType);
122 nodeType = commentNode.nodeType;
124 assertEquals("createdCommentNodeType",8,nodeType);
Dhc_elementgetelementsbytagnameaccessnodelist.js103 var nodeType;
116 nodeType = firstC.nodeType;
120 (3 == nodeType)
124 nodeType = firstC.nodeType;
Dhc_nodechildnodes.js98 var nodeType;
122 nodeType = childNode.nodeType;
128 (1 == nodeType)
135 assertEquals("textNodeType",3,nodeType);
Dhc_nodelisttraverselist.js98 var nodeType;
121 nodeType = child.nodeType;
127 (1 == nodeType)
134 assertEquals("textNodeType",3,nodeType);
Dhc_noderemovechildnode.js104 var nodeType;
132 nodeType = child.nodeType;
138 (1 == nodeType)
145 assertEquals("textNodeType",3,nodeType);
Dhc_nodereplacechildnewchildexists.js111 var nodeType;
129 nodeType = childNode.nodeType;
133 (1 == nodeType)
140 assertEquals("textNodeType",3,nodeType);
Dhc_nodedocumentnodetype.js92 var nodeType;
99 nodeType = doc.nodeType;
101 assertEquals("nodeDocumentNodeTypeAssert1",9,nodeType);
/external/chromium/testing/gtest/test/
Dgtest_xml_test_utils.py70 if expected_node.nodeType == Node.CDATA_SECTION_NODE:
71 self.assertEquals(Node.CDATA_SECTION_NODE, actual_node.nodeType)
75 self.assertEquals(Node.ELEMENT_NODE, actual_node.nodeType)
76 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)
128 if child.nodeType == Node.ELEMENT_NODE:
134 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
136 if (child.nodeType == Node.CDATA_SECTION_NODE or
143 self.fail("Encountered unexpected node type %d" % child.nodeType)
171 if child.nodeType == Node.CDATA_SECTION_NODE:
178 if child.nodeType == Node.ELEMENT_NODE:
/external/libvpx/libvpx/third_party/googletest/src/test/
Dgtest_xml_test_utils.py70 if expected_node.nodeType == Node.CDATA_SECTION_NODE:
71 self.assertEquals(Node.CDATA_SECTION_NODE, actual_node.nodeType)
75 self.assertEquals(Node.ELEMENT_NODE, actual_node.nodeType)
76 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)
128 if child.nodeType == Node.ELEMENT_NODE:
134 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
136 if (child.nodeType == Node.CDATA_SECTION_NODE or
143 self.fail("Encountered unexpected node type %d" % child.nodeType)
171 if child.nodeType == Node.CDATA_SECTION_NODE:
178 if child.nodeType == Node.ELEMENT_NODE:
/external/gtest/test/
Dgtest_xml_test_utils.py70 if expected_node.nodeType == Node.CDATA_SECTION_NODE:
71 self.assertEquals(Node.CDATA_SECTION_NODE, actual_node.nodeType)
75 self.assertEquals(Node.ELEMENT_NODE, actual_node.nodeType)
76 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)
128 if child.nodeType == Node.ELEMENT_NODE:
134 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
136 if (child.nodeType == Node.CDATA_SECTION_NODE or
143 self.fail("Encountered unexpected node type %d" % child.nodeType)
171 if child.nodeType == Node.CDATA_SECTION_NODE:
178 if child.nodeType == Node.ELEMENT_NODE:
/external/protobuf/gtest/test/
Dgtest_xml_test_utils.py69 if expected_node.nodeType == Node.CDATA_SECTION_NODE:
70 self.assertEquals(Node.CDATA_SECTION_NODE, actual_node.nodeType)
74 self.assertEquals(Node.ELEMENT_NODE, actual_node.nodeType)
75 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)
127 if child.nodeType == Node.ELEMENT_NODE:
133 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
135 if (child.nodeType == Node.CDATA_SECTION_NODE or
142 self.fail("Encountered unexpected node type %d" % child.nodeType)
164 if child.nodeType == Node.CDATA_SECTION_NODE:
171 if child.nodeType == Node.ELEMENT_NODE:
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemCopy.java99 short nodeType = dtm.getNodeType(sourceNode); in execute() local
101 if ((DTM.DOCUMENT_NODE != nodeType) && (DTM.DOCUMENT_FRAGMENT_NODE != nodeType)) in execute()
106 ClonerToResultTree.cloneToResultTree(sourceNode, nodeType, dtm, in execute()
109 if (DTM.ELEMENT_NODE == nodeType) in execute()
112 SerializerUtils.processNSDecls(rthandler, sourceNode, nodeType, dtm); in execute()

12345678910