Home
last modified time | relevance | path

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

12345

/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/guice/extensions/grapher/src/com/google/inject/grapher/
DNodeId.java48 private final NodeType nodeType; field in NodeId
50 private NodeId(Key<?> key, NodeType nodeType) { in NodeId() argument
52 this.nodeType = nodeType; in NodeId()
68 return Objects.hashCode(key, nodeType); in hashCode()
76 return Objects.equal(key, other.key) && Objects.equal(nodeType, other.nodeType); in equals()
80 return "NodeId{nodeType=" + nodeType + " key=" + key + "}"; in toString()
/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/libxml2/python/
Ddrv_libxml2.py185 nodeType = reader.NodeType()
187 if nodeType == 1:
233 elif nodeType == 15:
243 elif nodeType == 3:
246 elif nodeType == 13:
249 elif nodeType == 14:
252 elif nodeType == 4:
259 elif nodeType == 5:
264 elif nodeType == 16:
268 elif nodeType == 7:
[all …]
/external/vulkan-validation-layers/tests/gtest-1.7.0/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)
132 if child.nodeType == Node.ELEMENT_NODE:
138 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
140 if (child.nodeType == Node.CDATA_SECTION_NODE or
147 self.fail('Encountered unexpected node type %d' % child.nodeType)
186 if child.nodeType == Node.CDATA_SECTION_NODE:
193 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)
132 if child.nodeType == Node.ELEMENT_NODE:
138 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
140 if (child.nodeType == Node.CDATA_SECTION_NODE or
147 self.fail('Encountered unexpected node type %d' % child.nodeType)
186 if child.nodeType == Node.CDATA_SECTION_NODE:
193 if child.nodeType == Node.ELEMENT_NODE:
/external/google-breakpad/src/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)
182 if child.nodeType == Node.CDATA_SECTION_NODE:
189 if child.nodeType == Node.ELEMENT_NODE:
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/treewalkers/
Ddom.py10 if node.nodeType == Node.DOCUMENT_TYPE_NODE:
13 elif node.nodeType in (Node.TEXT_NODE, Node.CDATA_SECTION_NODE):
16 elif node.nodeType == Node.ELEMENT_NODE:
27 elif node.nodeType == Node.COMMENT_NODE:
30 elif node.nodeType in (Node.DOCUMENT_NODE, Node.DOCUMENT_FRAGMENT_NODE):
34 return _base.UNKNOWN, node.nodeType
/external/deqp/framework/common/
DtcuTestCase.cpp46 TestNode::TestNode (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* desc… in TestNode() argument
50 , m_nodeType (nodeType) in TestNode()
55 TestNode::TestNode (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* desc… in TestNode() argument
59 , m_nodeType (nodeType) in TestNode()
140 TestCase::TestCase (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* desc… in TestCase() argument
141 : TestNode(testCtx, nodeType, name, description) in TestCase()
143 DE_ASSERT(isTestNodeTypeExecutable(nodeType)); in TestCase()
DtcuTestHierarchyUtil.cpp37 static const char* getNodeTypeName (TestNodeType nodeType) in getNodeTypeName() argument
39 switch (nodeType) in getNodeTypeName()
85 const TestNodeType nodeType = node->getNodeType(); in writeXmlCaselist() local
99 attribs[numAttribs++] = qpSetStringAttrib("CaseType", getNodeTypeName(nodeType)); in writeXmlCaselist()
DtcuTestSessionExecutor.cpp34 static qpTestCaseType nodeTypeToTestCaseType (TestNodeType nodeType) in nodeTypeToTestCaseType() argument
36 switch (nodeType) in nodeTypeToTestCaseType()
77 const TestNodeType nodeType = curNode->getNodeType(); in iterate() local
80 switch (nodeType) in iterate()
DtcuTestCase.hpp107 …TestNode (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* description);
108 …TestNode (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* description,…
175 …TestCase (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* description…
/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()
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/sax2dtm/
DSAX2DTM2.java230 public TypedChildrenIterator(int nodeType) in TypedChildrenIterator() argument
232 _nodeType = nodeType; in TypedChildrenIterator()
272 final int nodeType = _nodeType; in next() local
274 if (nodeType != DTM.ELEMENT_NODE) { in next()
275 while (node != DTM.NULL && _exptype2(node) != nodeType) { in next()
316 final int nodeType = _nodeType; in getNodeByPosition() local
317 if (nodeType != DTM.ELEMENT_NODE) { in getNodeByPosition()
319 if (_exptype2(node) == nodeType) { in getNodeByPosition()
359 public TypedRootIterator(int nodeType) in TypedRootIterator() argument
362 _nodeType = nodeType; in TypedRootIterator()
[all …]
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DACBTree.m71 @synthesize nodeType;
105 tmp.nodeType = nodeType;
112 tmp.numrecs = ((nodeType == LEAF)?1:numrecs);
142 if ( numkeys == 1 && nodeType != LEAF ) {
170 tnew.nodeType = BTNODE;
198 if ( self.numkeys == 0 && self.nodeType == LEAF )
204 if ( t.nodeType == LEAF ) {
214 if ( t.nodeType == BTNODE ) t = t.btNodes[i];
260 if ( self.nodeType != LEAF ) {
337 … if ( nodeType == LEAF && ret == 0 ) return (self); /* node containing keyentry found */
[all …]
/external/deqp/modules/gles3/
Dtes3TestCase.hpp52 …TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const char* descriptio…
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() argument
78 : tcu::TestCase (context.getTestContext(), nodeType, name, description) in TestCase()
/external/deqp/modules/gles31/
Dtes31TestCase.hpp52 …TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const char* descriptio…
77 inline TestCase::TestCase (Context& context, tcu::TestNodeType nodeType, const char* name, const ch… in TestCase() argument
78 : tcu::TestCase (context.getTestContext(), nodeType, name, description) in TestCase()
/external/chromium-trace/catapult/third_party/html5lib-python/html5lib/tests/
Dtest_treewalkers.py23 if node.nodeType in (Node.DOCUMENT_NODE, Node.DOCUMENT_FRAGMENT_NODE):
28 elif node.nodeType == Node.DOCUMENT_TYPE_NODE:
31 elif node.nodeType == Node.COMMENT_NODE:
34 elif node.nodeType in (Node.TEXT_NODE, Node.CDATA_SECTION_NODE):
37 elif node.nodeType == Node.ELEMENT_NODE:
45 raise NotImplementedError("Node type not supported: " + str(node.nodeType))
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DClonerToResultTree.java132 public static void cloneToResultTree(int node, int nodeType, DTM dtm, in cloneToResultTree() argument
140 switch (nodeType) in cloneToResultTree()
168 SerializerUtils.processNSDecls(rth, node, nodeType, dtm); in cloneToResultTree()
/external/chromium-trace/catapult/third_party/jquery/
Djquery-2.1.4.js278 if ( jQuery.type( obj ) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
546 if ( obj.nodeType === 1 && length ) {
729 arr[ preferredDoc.childNodes.length ].nodeType;
751 var match, elem, m, nodeType,
761 nodeType = context.nodeType;
764 nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {
772 if ( nodeType !== 11 && (match = rquickExpr.exec( selector )) ) {
775 if ( nodeType === 9 ) {
814 newSelector = nodeType !== 1 && selector;
820 if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
[all …]
/external/deqp/executor/
DxeTestCase.cpp87 TestNode::TestNode (TestGroup* parent, TestNodeType nodeType, const char* name, const char* desc) in TestNode() argument
89 , m_nodeType (nodeType) in TestNode()
180 TestGroup::TestGroup (TestGroup* parent, TestNodeType nodeType, const char* name, const char* descr… in TestGroup() argument
181 : TestNode(parent, nodeType, name, description) in TestGroup()
183 DE_ASSERT(nodeType == TESTNODETYPE_GROUP || nodeType == TESTNODETYPE_ROOT); in TestGroup()
184 DE_ASSERT(!parent == (nodeType == TESTNODETYPE_ROOT)); in TestGroup()
/external/chromium-trace/catapult/third_party/flot/
Djquery.min.js1nodeType){this.context=this[0]=selector;this.length=1;return this}if(typeof selector==="string"){i…
2nodeType;if(!elem||nType===3||nType===8||nType===2){return}notxml=nType!==1||!jQuery.isXMLDoc(elem…
3nodeType===1){return false}}if(type==="first"){return true}node=elem;case"last":while(node=node.ne…
Djquery.js106 if ( selector.nodeType ) {
128 doc = ( context && context.nodeType ? context.ownerDocument || context : document );
443 if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
1277 leadingWhitespace: ( div.firstChild.nodeType === 3 ),
1534 elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
1549 isNode = elem.nodeType,
1639 isNode = elem.nodeType,
1738 if ( elem.nodeType === 1 && !jQuery._data( elem, "parsedAttrs" ) ) {
1804 if ( data === undefined && elem.nodeType === 1 ) {
2045 if ( elem.nodeType === 1 ) {
[all …]
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
Djquery-1.4.2.min.js19 "&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.…
20 …[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView…
21 …xOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=thi…
27 …ay]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)re…
34 …)[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getE…
42nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(…
43 …r(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)…
46 …=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.cal…
47nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.i…
49 function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if…
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/static/
Djquery-1.4.2.min.js19 "&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.…
20 …[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView…
21 …xOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=thi…
27 …ay]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)re…
34 …)[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getE…
42nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(…
43 …r(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)…
46 …=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.cal…
47nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.i…
49 function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if…
[all …]

12345