Home
last modified time | relevance | path

Searched refs:nodeTest (Results 1 – 25 of 111) sorted by relevance

12345

/dports/java/jaxen/jaxen-1.0-FCS/src/java/main/org/jaxen/pattern/
H A DLocationPathPattern.java107 this.nodeTest = nodeTest; in LocationPathPattern()
124 return nodeTest; in simplify()
168 if ( this.nodeTest instanceof AnyNodeTest ) in setNodeTest()
170 this.nodeTest = nodeTest; in setNodeTest()
174 …row new JaxenException( "Attempt to overwrite nodeTest: " + this.nodeTest + " with: " + nodeTest ); in setNodeTest()
190 if (! nodeTest.matches(node, context) ) in matches()
265 return nodeTest.getPriority(); in getPriority()
271 return nodeTest.getMatchType(); in getMatchType()
299 buffer.append( nodeTest.getText() ); in getText()
318 + nodeTest + " ]"; in toString()
[all …]
/dports/textproc/nux/nux/src/net/sf/saxon/xom/
H A DNodeWrapper.java860 private NodeTest nodeTest; field in NodeWrapper.AncestorAxisIterator
867 this.nodeTest = test; in AncestorAxisIterator()
878 while (curr != null && nodeTest != null && (! nodeTest.matches(curr))); in next()
929 this.nodeTest = test; in AttributeAxisIterator()
939 while (curr != null && nodeTest != null && (! nodeTest.matches(curr))); in next()
1000 this.nodeTest = test; in ChildAxisIterator()
1026 while (curr != null && nodeTest != null && (! nodeTest.matches(curr))); in next()
1119 this.nodeTest = test; in DescendantAxisIterator()
1128 while (curr != null && nodeTest != null && (! nodeTest.matches(curr))); in next()
1261 this.nodeTest = test; in PrecedingAxisIterator()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DXPathMatcher.java284 XPath.NodeTest nodeTest = step.nodeTest; in startElement() local
288 if (!matches(nodeTest, element)) { in startElement()
323 XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; in startElement() local
327 if (matches(nodeTest, fQName)) { in startElement()
482 private static boolean matches(XPath.NodeTest nodeTest, QName value) { in matches() argument
483 if (nodeTest.type == XPath.NodeTest.QNAME) { in matches()
484 return nodeTest.name.equals(value); in matches()
486 if (nodeTest.type == XPath.NodeTest.NAMESPACE) { in matches()
487 return nodeTest.name.uri == value.uri; in matches()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DXPathMatcher.java284 XPath.NodeTest nodeTest = step.nodeTest; in startElement() local
288 if (!matches(nodeTest, element)) { in startElement()
323 XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; in startElement() local
327 if (matches(nodeTest, fQName)) { in startElement()
482 private static boolean matches(XPath.NodeTest nodeTest, QName value) { in matches() argument
483 if (nodeTest.type == XPath.NodeTest.QNAME) { in matches()
484 return nodeTest.name.equals(value); in matches()
486 if (nodeTest.type == XPath.NodeTest.NAMESPACE) { in matches()
487 return nodeTest.name.uri == value.uri; in matches()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DXPathMatcher.java284 XPath.NodeTest nodeTest = step.nodeTest; in startElement() local
288 if (!matches(nodeTest, element)) { in startElement()
323 XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; in startElement() local
327 if (matches(nodeTest, fQName)) { in startElement()
482 private static boolean matches(XPath.NodeTest nodeTest, QName value) { in matches() argument
483 if (nodeTest.type == XPath.NodeTest.QNAME) { in matches()
484 return nodeTest.name.equals(value); in matches()
486 if (nodeTest.type == XPath.NodeTest.NAMESPACE) { in matches()
487 return nodeTest.name.uri == value.uri; in matches()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DXPathMatcher.java284 XPath.NodeTest nodeTest = step.nodeTest; in startElement() local
288 if (!matches(nodeTest, element)) { in startElement()
323 XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; in startElement() local
327 if (matches(nodeTest, fQName)) { in startElement()
482 private static boolean matches(XPath.NodeTest nodeTest, QName value) { in matches() argument
483 if (nodeTest.type == XPath.NodeTest.QNAME) { in matches()
484 return nodeTest.name.equals(value); in matches()
486 if (nodeTest.type == XPath.NodeTest.NAMESPACE) { in matches()
487 return nodeTest.name.uri == value.uri; in matches()
/dports/textproc/xerces-c3/xerces-c-3.2.3/src/xercesc/validators/schema/identity/
H A DXPathMatcher.cpp210 XercesNodeTest* nodeTest = step->getNodeTest(); in startElement() local
213 if (!matches(nodeTest, &elemQName)) { in startElement()
247 XercesNodeTest* nodeTest = locPath->getStep(fCurrentStep[i])->getNodeTest(); in startElement() local
253 if (matches(nodeTest, curDef->getAttName())) { in startElement()
387 bool XPathMatcher::matches(const XercesNodeTest* nodeTest, const QName* qName) in matches() argument
389 if (nodeTest->getType() == XercesNodeTest::NodeType_QNAME) { in matches()
390 return (*nodeTest->getName())==(*qName); in matches()
392 if (nodeTest->getType() == XercesNodeTest::NodeType_NAMESPACE) { in matches()
393 return nodeTest->getName()->getURI() == qName->getURI(); in matches()
H A DXercesXPath.cpp151 XercesStep::XercesStep(const unsigned short axisType, XercesNodeTest* const nodeTest) in XercesStep() argument
153 , fNodeTest(nodeTest) in XercesStep()
427 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_SELF, nodeTest); in parseExpression()
515 XercesNodeTest* nodeTest = new (fMemoryManager) XercesNodeTest(&aQName); in parseExpression() local
545 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_CHILD, nodeTest); in parseExpression()
576 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_CHILD, nodeTest); in parseExpression()
586 XercesNodeTest* nodeTest = new (fMemoryManager) XercesNodeTest(&aQName); in parseExpression() local
587 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_CHILD, nodeTest); in parseExpression()
596 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_SELF, nodeTest); in parseExpression()
619 … step = new (fMemoryManager) XercesStep(XercesStep::AxisType_DESCENDANT, nodeTest); in parseExpression()
[all …]
/dports/biology/py-python-libsbml/python-libsbml-5.19.0/libsbml_dependencies/xerces-c/src/xercesc/validators/schema/identity/
H A DXPathMatcher.cpp210 XercesNodeTest* nodeTest = step->getNodeTest(); in startElement() local
213 if (!matches(nodeTest, &elemQName)) { in startElement()
247 XercesNodeTest* nodeTest = locPath->getStep(fCurrentStep[i])->getNodeTest(); in startElement() local
253 if (matches(nodeTest, curDef->getAttName())) { in startElement()
387 bool XPathMatcher::matches(const XercesNodeTest* nodeTest, const QName* qName) in matches() argument
389 if (nodeTest->getType() == XercesNodeTest::NodeType_QNAME) { in matches()
390 return (*nodeTest->getName())==(*qName); in matches()
392 if (nodeTest->getType() == XercesNodeTest::NodeType_NAMESPACE) { in matches()
393 return nodeTest->getName()->getURI() == qName->getURI(); in matches()
H A DXercesXPath.cpp151 XercesStep::XercesStep(const unsigned short axisType, XercesNodeTest* const nodeTest) in XercesStep() argument
153 , fNodeTest(nodeTest) in XercesStep()
427 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_SELF, nodeTest); in parseExpression()
515 XercesNodeTest* nodeTest = new (fMemoryManager) XercesNodeTest(&aQName); in parseExpression() local
545 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_CHILD, nodeTest); in parseExpression()
576 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_CHILD, nodeTest); in parseExpression()
586 XercesNodeTest* nodeTest = new (fMemoryManager) XercesNodeTest(&aQName); in parseExpression() local
587 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_CHILD, nodeTest); in parseExpression()
596 … XercesStep* step = new (fMemoryManager) XercesStep(XercesStep::AxisType_SELF, nodeTest); in parseExpression()
619 … step = new (fMemoryManager) XercesStep(XercesStep::AxisType_DESCENDANT, nodeTest); in parseExpression()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/xml/
H A DXPathStep.cpp44 Step::Step(Axis axis, const NodeTest& nodeTest, const Vector<Predicate*>& predicates) in Step() argument
46 , m_nodeTest(nodeTest) in Step()
156 static inline bool nodeMatchesBasicTest(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest) in nodeMatchesBasicTest() argument
158 switch (nodeTest.kind()) { in nodeMatchesBasicTest()
164 const AtomicString& name = nodeTest.data(); in nodeMatchesBasicTest()
170 const AtomicString& name = nodeTest.data(); in nodeMatchesBasicTest()
171 const AtomicString& namespaceURI = nodeTest.namespaceURI(); in nodeMatchesBasicTest()
212 static inline bool nodeMatches(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest) in nodeMatches() argument
214 if (!nodeMatchesBasicTest(node, axis, nodeTest)) in nodeMatches()
222 const Vector<Predicate*>& mergedPredicates = nodeTest.mergedPredicates(); in nodeMatches()
/dports/lang/spidermonkey60/firefox-60.9.0/dom/xslt/xpath/
H A DtxExprParser.cpp452 nsAutoPtr<txNodeTest> nodeTest; in createLocationStep() local
501 nodeTest = new txNodeTypeTest(txNodeTypeTest::NODE_TYPE); in createLocationStep()
507 nodeTest = new txNodeTypeTest(txNodeTypeTest::NODE_TYPE); in createLocationStep()
515 if (!nodeTest) { in createLocationStep()
527 nodeTest = new txNameTest( in createLocationStep()
540 nodeTest.forget(); in createLocationStep()
557 nsAutoPtr<txNodeTypeTest> nodeTest; in createNodeTypeTest() local
572 nodeTest = new txNodeTypeTest(txNodeTypeTest::PI_TYPE); in createNodeTypeTest()
582 NS_ENSURE_TRUE(nodeTest, NS_ERROR_OUT_OF_MEMORY); in createNodeTypeTest()
587 nodeTest->setNodeName(tok->Value()); in createNodeTypeTest()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/xslt/xpath/
H A DtxExprParser.cpp476 nsAutoPtr<txNodeTest> nodeTest; in createLocationStep() local
539 nodeTest = new txNodeTypeTest(txNodeTypeTest::NODE_TYPE); in createLocationStep()
545 nodeTest = new txNodeTypeTest(txNodeTypeTest::NODE_TYPE); in createLocationStep()
553 if (!nodeTest) { in createLocationStep()
566 nodeTest = in createLocationStep()
580 nodeTest.forget(); in createLocationStep()
598 nsAutoPtr<txNodeTypeTest> nodeTest; in createNodeTypeTest() local
613 nodeTest = new txNodeTypeTest(txNodeTypeTest::PI_TYPE); in createNodeTypeTest()
623 NS_ENSURE_TRUE(nodeTest, NS_ERROR_OUT_OF_MEMORY); in createNodeTypeTest()
628 nodeTest->setNodeName(tok->Value()); in createNodeTypeTest()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/dom/xslt/xslt/
H A DtxXSLTNumber.cpp118 txNodeTest* nodeTest; in getValueList() local
126 nodeTest = new txNameTest(0, localName, namespaceID, in getValueList()
133 nodeTest = new txNodeTypeTest(txNodeTypeTest::TEXT_TYPE); in getValueList()
143 nodeTest = typeTest; in getValueList()
148 nodeTest = new txNodeTypeTest(txNodeTypeTest::COMMENT_TYPE); in getValueList()
157 nodeTest = new txNameTest(0, nsGkAtoms::_asterisk, 0, in getValueList()
162 MOZ_ASSERT(nodeTest); in getValueList()
163 countPattern = new txStepPattern(nodeTest, false); in getValueList()
/dports/www/firefox/firefox-99.0/dom/xslt/xpath/
H A DtxExprParser.cpp457 UniquePtr<txNodeTest> nodeTest; in createLocationStep() local
506 nodeTest = MakeUnique<txNodeTypeTest>(txNodeTypeTest::NODE_TYPE); in createLocationStep()
520 if (!nodeTest) { in createLocationStep()
532 nodeTest = MakeUnique<txNameTest>( in createLocationStep()
538 rv = createNodeTypeTest(lexer, getter_Transfers(nodeTest)); in createLocationStep()
544 new LocationStep(nodeTest.get(), axisIdentifier)); in createLocationStep()
546 Unused << nodeTest.release(); in createLocationStep()
563 UniquePtr<txNodeTypeTest> nodeTest; in createNodeTypeTest() local
578 nodeTest = MakeUnique<txNodeTypeTest>(txNodeTypeTest::PI_TYPE); in createNodeTypeTest()
591 nodeTest->setNodeName(tok->Value()); in createNodeTypeTest()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/xslt/xpath/
H A DtxExprParser.cpp463 UniquePtr<txNodeTest> nodeTest; in createLocationStep() local
526 if (!nodeTest) { in createLocationStep()
538 nodeTest = MakeUnique<txNameTest>( in createLocationStep()
544 rv = createNodeTypeTest(lexer, getter_Transfers(nodeTest)); in createLocationStep()
550 new LocationStep(nodeTest.get(), axisIdentifier)); in createLocationStep()
552 Unused << nodeTest.release(); in createLocationStep()
569 UniquePtr<txNodeTypeTest> nodeTest; in createNodeTypeTest() local
584 nodeTest = MakeUnique<txNodeTypeTest>(txNodeTypeTest::PI_TYPE); in createNodeTypeTest()
594 NS_ENSURE_TRUE(nodeTest, NS_ERROR_OUT_OF_MEMORY); in createNodeTypeTest()
599 nodeTest->setNodeName(tok->Value()); in createNodeTypeTest()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/dom/xslt/xpath/
H A DtxExprParser.cpp463 UniquePtr<txNodeTest> nodeTest; in createLocationStep() local
526 if (!nodeTest) { in createLocationStep()
538 nodeTest = MakeUnique<txNameTest>( in createLocationStep()
544 rv = createNodeTypeTest(lexer, getter_Transfers(nodeTest)); in createLocationStep()
550 new LocationStep(nodeTest.get(), axisIdentifier)); in createLocationStep()
552 Unused << nodeTest.release(); in createLocationStep()
569 UniquePtr<txNodeTypeTest> nodeTest; in createNodeTypeTest() local
584 nodeTest = MakeUnique<txNodeTypeTest>(txNodeTypeTest::PI_TYPE); in createNodeTypeTest()
594 NS_ENSURE_TRUE(nodeTest, NS_ERROR_OUT_OF_MEMORY); in createNodeTypeTest()
599 nodeTest->setNodeName(tok->Value()); in createNodeTypeTest()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/dom/xslt/xpath/
H A DtxExprParser.cpp463 UniquePtr<txNodeTest> nodeTest; in createLocationStep() local
526 if (!nodeTest) { in createLocationStep()
538 nodeTest = MakeUnique<txNameTest>( in createLocationStep()
544 rv = createNodeTypeTest(lexer, getter_Transfers(nodeTest)); in createLocationStep()
550 new LocationStep(nodeTest.get(), axisIdentifier)); in createLocationStep()
552 Unused << nodeTest.release(); in createLocationStep()
569 UniquePtr<txNodeTypeTest> nodeTest; in createNodeTypeTest() local
584 nodeTest = MakeUnique<txNodeTypeTest>(txNodeTypeTest::PI_TYPE); in createNodeTypeTest()
594 NS_ENSURE_TRUE(nodeTest, NS_ERROR_OUT_OF_MEMORY); in createNodeTypeTest()
599 nodeTest->setNodeName(tok->Value()); in createNodeTypeTest()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/dom/xslt/xslt/
H A DtxXSLTNumber.cpp115 txNodeTest* nodeTest; in getValueList() local
121 nodeTest = new txNameTest(0, localName, namespaceID, in getValueList()
127 nodeTest = new txNodeTypeTest(txNodeTypeTest::TEXT_TYPE); in getValueList()
136 nodeTest = typeTest; in getValueList()
140 nodeTest = new txNodeTypeTest(txNodeTypeTest::COMMENT_TYPE); in getValueList()
148 nodeTest = new txNameTest(0, nsGkAtoms::_asterisk, 0, nodeType); in getValueList()
152 MOZ_ASSERT(nodeTest); in getValueList()
153 newCountPattern = MakeUnique<txStepPattern>(nodeTest, false); in getValueList()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DXPathMatcher.java283 XPath.NodeTest nodeTest = step.nodeTest; in startElement() local
287 if (nodeTest.type == XPath.NodeTest.QNAME) { in startElement()
288 if (!nodeTest.name.equals(element)) { in startElement()
323 XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; in startElement() local
327 if (nodeTest.type != XPath.NodeTest.QNAME || in startElement()
328 nodeTest.name.equals(fQName)) { in startElement()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DXPathMatcher.java283 XPath.NodeTest nodeTest = step.nodeTest; in startElement() local
287 if (nodeTest.type == XPath.NodeTest.QNAME) { in startElement()
288 if (!nodeTest.name.equals(element)) { in startElement()
323 XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; in startElement() local
327 if (nodeTest.type != XPath.NodeTest.QNAME || in startElement()
328 nodeTest.name.equals(fQName)) { in startElement()
/dports/lang/spidermonkey78/firefox-78.9.0/dom/xslt/xslt/
H A DtxXSLTNumber.cpp115 txNodeTest* nodeTest; in getValueList() local
121 nodeTest = new txNameTest(0, localName, namespaceID, in getValueList()
127 nodeTest = new txNodeTypeTest(txNodeTypeTest::TEXT_TYPE); in getValueList()
136 nodeTest = typeTest; in getValueList()
140 nodeTest = new txNodeTypeTest(txNodeTypeTest::COMMENT_TYPE); in getValueList()
148 nodeTest = new txNameTest(0, nsGkAtoms::_asterisk, 0, nodeType); in getValueList()
152 MOZ_ASSERT(nodeTest); in getValueList()
153 newCountPattern = MakeUnique<txStepPattern>(nodeTest, false); in getValueList()
/dports/www/firefox/firefox-99.0/dom/xslt/xslt/
H A DtxXSLTNumber.cpp115 txNodeTest* nodeTest; in getValueList() local
121 nodeTest = new txNameTest(0, localName, namespaceID, in getValueList()
127 nodeTest = new txNodeTypeTest(txNodeTypeTest::TEXT_TYPE); in getValueList()
136 nodeTest = typeTest; in getValueList()
140 nodeTest = new txNodeTypeTest(txNodeTypeTest::COMMENT_TYPE); in getValueList()
148 nodeTest = new txNameTest(0, nsGkAtoms::_asterisk, 0, nodeType); in getValueList()
152 MOZ_ASSERT(nodeTest); in getValueList()
153 newCountPattern = MakeUnique<txStepPattern>(nodeTest, false); in getValueList()
/dports/mail/thunderbird/thunderbird-91.8.0/dom/xslt/xslt/
H A DtxXSLTNumber.cpp115 txNodeTest* nodeTest; in getValueList() local
121 nodeTest = new txNameTest(0, localName, namespaceID, in getValueList()
127 nodeTest = new txNodeTypeTest(txNodeTypeTest::TEXT_TYPE); in getValueList()
136 nodeTest = typeTest; in getValueList()
140 nodeTest = new txNodeTypeTest(txNodeTypeTest::COMMENT_TYPE); in getValueList()
148 nodeTest = new txNameTest(0, nsGkAtoms::_asterisk, 0, nodeType); in getValueList()
152 MOZ_ASSERT(nodeTest); in getValueList()
153 newCountPattern = MakeUnique<txStepPattern>(nodeTest, false); in getValueList()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/identity/
H A DXPathMatcher.java283 XPath.NodeTest nodeTest = step.nodeTest; in startElement() local
287 if (nodeTest.type == XPath.NodeTest.QNAME) { in startElement()
288 if (!nodeTest.name.equals(element)) { in startElement()
323 XPath.NodeTest nodeTest = steps[fCurrentStep[i]].nodeTest; in startElement() local
327 if (nodeTest.type != XPath.NodeTest.QNAME || in startElement()
328 nodeTest.name.equals(fQName)) { in startElement()

12345