Home
last modified time | relevance | path

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

1234

/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.java47 private final NodeType nodeType; field in NodeId
49 private NodeId(Key<?> key, NodeType nodeType) { in NodeId() argument
51 this.nodeType = nodeType; in NodeId()
68 return Objects.hashCode(key, nodeType); in hashCode()
77 return Objects.equal(key, other.key) && Objects.equal(nodeType, other.nodeType); in equals()
82 return "NodeId{nodeType=" + nodeType + " key=" + key + "}"; in toString()
/external/libxml2/python/
Ddrv_libxml2.py187 nodeType = reader.NodeType()
189 if nodeType == 1:
235 elif nodeType == 15:
245 elif nodeType == 3:
248 elif nodeType == 13:
251 elif nodeType == 14:
254 elif nodeType == 4:
261 elif nodeType == 5:
266 elif nodeType == 16:
270 elif nodeType == 7:
[all …]
/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/googletest/googletest/test/
Dgtest_xml_test_utils.py63 if expected_node.nodeType == Node.CDATA_SECTION_NODE:
64 self.assertEquals(Node.CDATA_SECTION_NODE, actual_node.nodeType)
68 self.assertEquals(Node.ELEMENT_NODE, actual_node.nodeType)
69 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)
128 if child.nodeType == Node.ELEMENT_NODE:
140 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
142 if (child.nodeType == Node.CDATA_SECTION_NODE or
149 self.fail('Encountered unexpected node type %d' % child.nodeType)
188 if child.nodeType == Node.CDATA_SECTION_NODE:
195 if child.nodeType == Node.ELEMENT_NODE:
/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()
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/python/cpython3/Lib/xml/dom/
Dminidom.py57 if self.nodeType == Node.DOCUMENT_NODE:
82 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
87 if newChild.nodeType not in self._child_node_types:
99 if newChild.nodeType in _nodeTypes_with_children:
114 if node.nodeType == self.DOCUMENT_FRAGMENT_NODE:
119 if node.nodeType not in self._child_node_types:
122 elif node.nodeType in _nodeTypes_with_children:
131 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
135 if newChild.nodeType not in self._child_node_types:
149 if (newChild.nodeType in _nodeTypes_with_children
[all …]
/external/python/cpython2/Lib/xml/dom/
Dminidom.py56 if self.nodeType == Node.DOCUMENT_NODE:
81 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
86 if newChild.nodeType not in self._child_node_types:
98 if newChild.nodeType in _nodeTypes_with_children:
113 if node.nodeType == self.DOCUMENT_FRAGMENT_NODE:
118 if node.nodeType not in self._child_node_types:
121 elif node.nodeType in _nodeTypes_with_children:
130 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
134 if newChild.nodeType not in self._child_node_types:
148 if (newChild.nodeType in _nodeTypes_with_children
[all …]
/external/antlr/runtime/ObjC/Framework/
DACBTree.m84 @synthesize nodeType;
126 tmp.nodeType = nodeType;
133 tmp.numrecs = ((nodeType == LEAF)?1:numrecs);
163 if ( numkeys == 1 && nodeType != LEAF ) {
191 tnew.nodeType = BTNODE;
219 if ( self.numkeys == 0 && self.nodeType == LEAF )
225 if ( t.nodeType == LEAF ) {
235 if ( t.nodeType == BTNODE ) t = t.btNodes[i];
281 if ( self.nodeType != LEAF ) {
358 … if ( nodeType == LEAF && ret == 0 ) return (self); /* node containing keyentry found */
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DNode.java753 public <T extends Node> void walk(Class<T> nodeType, Consumer<T> consumer) { in walk() argument
755 if (nodeType.isAssignableFrom(node.getClass())) { in walk()
756 consumer.accept(nodeType.cast(node)); in walk()
764 public <T extends Node> List<T> findAll(Class<T> nodeType) { in findAll() argument
766 walk(nodeType, found::add); in findAll()
773 public <T extends Node> List<T> findAll(Class<T> nodeType, Predicate<T> predicate) { in findAll() argument
775 walk(nodeType, n -> { in findAll()
800 public <N extends Node> Optional<N> findFirst(Class<N> nodeType) { in findFirst() argument
802 if (nodeType.isAssignableFrom(node.getClass())) { in findFirst()
803 return Optional.of(nodeType.cast(node)); in findFirst()
[all …]
/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/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/external/openglcts/modules/common/
DglcTestCase.hpp57 TestCase(Context& context, tcu::TestNodeType nodeType, const char* name, const char* description);
82 inline TestCase::TestCase(Context& context, tcu::TestNodeType nodeType, const char* name, const cha… in TestCase() argument
83 : tcu::TestCase(context.getTestContext(), nodeType, name, description), m_context(context) in TestCase()
/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/python/httplib2/doc/html/_static/
Djquery.js41 if ( selector.nodeType ) {
209 if ( this.nodeType != 8 )
210 ret += this.nodeType != 1 ?
254 if (this.nodeType == 1)
261 if (this.nodeType == 1)
357 return elem.nodeType === 1;
386 …isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType;
460 if ( this.nodeType != 1 )
596 if ( deep && copy && typeof copy === "object" && !copy.nodeType )
641 return elem.nodeType === 9 && elem.documentElement.nodeName !== "HTML" ||
[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/autotest/client/site_tests/video_GlitchDetection/
Djquery-2.1.3.min.js2nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},…
3nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-"…
4nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c…
/external/autotest/client/site_tests/video_VimeoVideo/
Djquery-2.1.3.min.js2nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},…
3nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-"…
4nodeType)while(c=f[e++])d=n.propFix[c]||c,n.expr.match.bool.test(c)&&(a[d]=!1),a.removeAttribute(c…
/external/libxml2/
Dpattern.c95 int nodeType; /* type of node */ member
1547 const xmlChar *ns, int nodeType, int flags) { in xmlStreamCompAddStep() argument
1565 cur->nodeType = nodeType; in xmlStreamCompAddStep()
1860 int nodeType) { in xmlStreamPushInternal() argument
1874 if ((nodeType == XML_ELEMENT_NODE) && in xmlStreamPushInternal()
1886 (comp->steps[0].nodeType == XML_STREAM_ANY_NODE) && in xmlStreamPushInternal()
1923 if ((nodeType != XML_ATTRIBUTE_NODE) && in xmlStreamPushInternal()
1939 if ((nodeType != XML_ELEMENT_NODE) && in xmlStreamPushInternal()
1940 (nodeType != XML_ATTRIBUTE_NODE) && in xmlStreamPushInternal()
2000 if (step.nodeType != nodeType) { in xmlStreamPushInternal()
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/
Djquery-1.7.1.js108 if ( selector.nodeType ) {
519 if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
1368 leadingWhitespace: ( div.firstChild.nodeType === 3 ),
1643 elem = elem.nodeType ? jQuery.cache[ elem[jQuery.expando] ] : elem[ jQuery.expando ];
1658 isNode = elem.nodeType,
1758 isNode = elem.nodeType,
1873 if ( this[0].nodeType === 1 && !jQuery._data( this[0], "parsedAttrs" ) ) {
1934 if ( data === undefined && elem.nodeType === 1 ) {
2207 if ( elem.nodeType === 1 ) {
2243 if ( elem.nodeType === 1 && elem.className ) {
[all …]
/external/slf4j/slf4j-site/src/site/pages/js/
Djquery-min.js2nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">"…
3nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),…

1234