Home
last modified time | relevance | path

Searched refs:NodeTest (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathStep.h53 class NodeTest : public NoBaseWillBeGarbageCollectedFinalized<NodeTest> {
60 NodeTest(Kind kind) : m_kind(kind) { } in NodeTest() function
61 NodeTest(Kind kind, const String& data) : m_kind(kind), m_data(data) { } in NodeTest() function
62NodeTest(Kind kind, const AtomicString& data, const AtomicString& namespaceURI) : m_kind(kind), m_… in NodeTest() function
64 NodeTest(const NodeTest& o) in NodeTest() function
71 NodeTest& operator=(const NodeTest& o)
96 Step(Axis, const NodeTest&);
97 Step(Axis, const NodeTest&, WillBeHeapVector<OwnPtrWillBeMember<Predicate> >&);
106 const NodeTest& nodeTest() const { return *m_nodeTest; } in nodeTest()
111 NodeTest& nodeTest() { return *m_nodeTest; } in nodeTest()
[all …]
DXPathGrammar.y60 WebCore::XPath::Step::NodeTest* nodeTest;
95 %type <nodeTest> NodeTest
182 NodeTest OptionalPredicateList
203 …$$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), …
206 … $$ = new Step(Step::ChildAxis, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
211 AxisSpecifier NodeTest OptionalPredicateList
232 … $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI), *$3);
235 $$ = new Step($1, Step::NodeTest(Step::NodeTest::NameTest, localName, namespaceURI));
252 NodeTest:
256 $$ = new Step::NodeTest(Step::NodeTest::AnyNodeTest);
[all …]
DXPathStep.cpp42 Step::Step(Axis axis, const NodeTest& nodeTest) in Step()
44 , m_nodeTest(adoptPtrWillBeNoop(new NodeTest(nodeTest))) in Step()
48 Step::Step(Axis axis, const NodeTest& nodeTest, WillBeHeapVector<OwnPtrWillBeMember<Predicate> >& p… in Step()
50 , m_nodeTest(adoptPtrWillBeNoop(new NodeTest(nodeTest))) in Step()
92 && first->nodeTest().kind() == Step::NodeTest::AnyNodeTest in optimizeStepPair()
103 …first->nodeTest() = Step::NodeTest(second->nodeTest().kind(), second->nodeTest().data(), second->n… in optimizeStepPair()
171 static inline bool nodeMatchesBasicTest(Node* node, Step::Axis axis, const Step::NodeTest& nodeTest) in nodeMatchesBasicTest()
174 case Step::NodeTest::TextNodeTest: { in nodeMatchesBasicTest()
178 case Step::NodeTest::CommentNodeTest: in nodeMatchesBasicTest()
180 case Step::NodeTest::ProcessingInstructionNodeTest: { in nodeMatchesBasicTest()
[all …]
DXPathParser.h91 void registerNodeTest(Step::NodeTest*);
92 void deleteNodeTest(Step::NodeTest*);
125 HashSet<OwnPtr<Step::NodeTest> > m_nodeTests;
DXPathParser.cpp618 void Parser::registerNodeTest(Step::NodeTest* t) in registerNodeTest()
630 void Parser::deleteNodeTest(Step::NodeTest* t) in deleteNodeTest()
/external/apache-xml/src/main/java/org/apache/xpath/patterns/
DContextMatchStepPattern.java90 XObject score = NodeTest.SCORE_NONE; in executeRelativePathPattern()
121 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern()
128 score = NodeTest.SCORE_NONE; in executeRelativePathPattern()
149 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern()
154 if (score != NodeTest.SCORE_NONE) in executeRelativePathPattern()
DStepPattern.java39 public class StepPattern extends NodeTest implements SubContextList, ExpressionOwner
343 return NodeTest.SCORE_NONE; in execute()
386 if (m_whatToShow == NodeTest.SHOW_BYFUNCTION) in execute()
393 return NodeTest.SCORE_NONE; in execute()
400 if (score == NodeTest.SCORE_NONE) in execute()
401 return NodeTest.SCORE_NONE; in execute()
406 return NodeTest.SCORE_NONE; in execute()
444 if (NodeTest.SCORE_NONE != super.execute(xctxt, child)) in checkProximityPosition()
543 if (NodeTest.SCORE_NONE != super.execute(xctxt, child)) in getProximityPosition()
669 XObject score = NodeTest.SCORE_NONE; in executeRelativePathPattern()
[all …]
DNodeTest.java38 public class NodeTest extends Expression class
199 public NodeTest(int whatToShow, String namespace, String name) in NodeTest() method in NodeTest
210 public NodeTest(int whatToShow) in NodeTest() method in NodeTest
223 NodeTest nt = (NodeTest)expr; in deepEquals()
257 public NodeTest(){} in NodeTest() method in NodeTest
DUnionPattern.java127 if (score != NodeTest.SCORE_NONE) in execute()
138 bestScore = NodeTest.SCORE_NONE; in execute()
DNodeTestFilter.java38 void setNodeTest(NodeTest nodeTest); in setNodeTest()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DDescendantIterator.java33 import org.apache.xpath.patterns.NodeTest;
272 || NodeTest.WILD.equals(localName) in setRoot()
273 || NodeTest.WILD.equals(namespace)) in setRoot()
313 || localName == NodeTest.WILD in asNode()
314 || namespace == NodeTest.WILD) in asNode()
DUnionChildIterator.java26 import org.apache.xpath.patterns.NodeTest;
123 if (score != NodeTest.SCORE_NONE) in acceptNode()
DMatchPatternIterator.java31 import org.apache.xpath.patterns.NodeTest;
310 System.out.println("skip: "+(score == NodeTest.SCORE_NONE)); in acceptNode()
314 return (score == NodeTest.SCORE_NONE) ? DTMIterator.FILTER_SKIP in acceptNode()
DPredicatedNodeTest.java32 import org.apache.xpath.patterns.NodeTest;
34 public abstract class PredicatedNodeTest extends NodeTest implements SubContextList
473 if (score != NodeTest.SCORE_NONE) in acceptNode()
DWalkerFactory.java35 import org.apache.xpath.patterns.NodeTest;
905 pat.setLocalName(NodeTest.WILD); in loadSteps()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas1314 NodeTest: IRewriteRuleNodeStream;
1317 NodeTest := TRewriteRuleNodeStream.Create(CreateTreeAdaptor, Description);
1319 CheckFalse(NodeTest.HasNext);
1320 CheckEquals(Description, NodeTest.Description);
1321 CheckEquals(NodeTest.Size, 0);
1322 NodeTest.Reset;
1323 CheckEquals(NodeTest.Size, 0);
1324 NodeTest.NextNode;
1331 NodeTest: IRewriteRuleNodeStream;
1334 NodeTest := TRewriteRuleNodeStream.Create(CreateTreeAdaptor, Description);
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/
DXPathVisitor.java31 import org.apache.xpath.patterns.NodeTest;
84 public boolean visitStep(ExpressionOwner owner, NodeTest step) in visitStep()
/external/apache-xml/src/main/java/org/apache/xpath/compiler/
DOpMap.java25 import org.apache.xpath.patterns.NodeTest;
404 return NodeTest.WILD; in getStepNS()
450 return NodeTest.WILD; in getStepLocalName()
DCompiler.java61 import org.apache.xpath.patterns.NodeTest;
782 return NodeTest.SHOW_BYFUNCTION; in getWhatToShow()
DXPathParser.java1786 NodeTest(axesType); in Basis()
1830 protected void NodeTest(int axesType) throws javax.xml.transform.TransformerException in NodeTest() method in XPathParser
2357 NodeTest(axesType); in AbbreviatedNodeTestStep()
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DTemplateList.java36 import org.apache.xpath.patterns.NodeTest;
398 if (ex instanceof NodeTest) in getPriorityOrScore()
400 return ((NodeTest) ex).getDefaultScore(); in getPriorityOrScore()
559 if ((head.m_stepPattern.execute(xctxt, targetNode, dtm, expTypeID) != NodeTest.SCORE_NONE) in getTemplateFast()
617 if ((head.m_stepPattern.execute(xctxt, targetNode) != NodeTest.SCORE_NONE) in getTemplate()
688 if ((head.m_stepPattern.execute(xctxt, targetNode) != NodeTest.SCORE_NONE) in getTemplate()
/external/chromium_org/mojo/services/public/cpp/view_manager/tests/
Dnode_unittest.cc19 typedef testing::Test NodeTest; typedef
33 TEST_F(NodeTest, AddChild) { in TEST_F() argument
40 TEST_F(NodeTest, RemoveChild) { in TEST_F() argument
49 TEST_F(NodeTest, Reparent) { in TEST_F() argument
60 TEST_F(NodeTest, Contains) { in TEST_F() argument
74 TEST_F(NodeTest, GetChildById) { in TEST_F() argument