Home
last modified time | relevance | path

Searched refs:evaluationContext (Results 1 – 12 of 12) sorted by relevance

/external/webkit/Source/WebCore/xml/
DXPathExpression.cpp69 EvaluationContext& evaluationContext = Expression::evaluationContext(); in evaluate() local
70 evaluationContext.node = contextNode; in evaluate()
71 evaluationContext.size = 1; in evaluate()
72 evaluationContext.position = 1; in evaluate()
73 evaluationContext.hadTypeConversionError = false; in evaluate()
75evaluationContext.node = 0; // Do not hold a reference to the context node, as this may prevent th… in evaluate()
77 if (evaluationContext.hadTypeConversionError) { in evaluate()
DXPathPath.cpp62 EvaluationContext& evaluationContext = Expression::evaluationContext(); in evaluate() local
65 evaluationContext.size = nodes.size(); in evaluate()
66 evaluationContext.position = 0; in evaluate()
71 evaluationContext.node = node; in evaluate()
72 ++evaluationContext.position; in evaluate()
96 EvaluationContext& evaluationContext = Expression::evaluationContext(); in evaluate() local
97 EvaluationContext backupContext = evaluationContext; in evaluate()
100 Node* context = evaluationContext.node.get(); in evaluate()
108 evaluationContext = backupContext; in evaluate()
DXPathExpressionNode.cpp38 EvaluationContext& Expression::evaluationContext() in evaluationContext() function in WebCore::XPath::Expression
40 DEFINE_STATIC_LOCAL(EvaluationContext, evaluationContext, ()); in evaluationContext()
41 return evaluationContext; in evaluationContext()
DXPathStep.cpp116 EvaluationContext& evaluationContext = Expression::evaluationContext(); in evaluate() local
117 evaluationContext.position = 0; in evaluate()
132 evaluationContext.node = node; in evaluate()
133 evaluationContext.size = nodes.size(); in evaluate()
134 evaluationContext.position = j + 1; in evaluate()
217 EvaluationContext& evaluationContext = Expression::evaluationContext(); in nodeMatches() local
220 ++evaluationContext.position; in nodeMatches()
226 evaluationContext.node = node; in nodeMatches()
DXPathFunctions.cpp310 return Expression::evaluationContext().size; in evaluate()
315 return Expression::evaluationContext().position; in evaluate()
335 Document* contextDocument = evaluationContext().node->document(); in evaluate()
392 return expandedNameLocalPart(evaluationContext().node.get()); in evaluate()
406 return evaluationContext().node->namespaceURI().string(); in evaluate()
420 return expandedName(evaluationContext().node.get()); in evaluate()
433 return Value(Expression::evaluationContext().node.get()).toString(); in evaluate()
534 return Value(Expression::evaluationContext().node.get()).toString().length(); in evaluate()
541 String s = Value(Expression::evaluationContext().node.get()).toString(); in evaluate()
592 Node* node = evaluationContext().node.get(); in evaluate()
[all …]
DXPathValue.cpp49 Expression::evaluationContext().hadTypeConversionError = true; in toNodeSet()
62 Expression::evaluationContext().hadTypeConversionError = true; in modifiableNodeSet()
DXPathVariableReference.cpp45 HashMap<String, String>& bindings = evaluationContext().variableBindings; in evaluate()
DXPathExpressionNode.h61 static EvaluationContext& evaluationContext();
/external/webkit/Source/WebCore/
DChangeLog-2007-10-1450146 (WebCore::XPathExpression::evaluate): Cache evaluationContext in a local variable.
50149 (WebCore::XPath::Expression::evaluationContext):
50174 …(WebCore::XPath::Filter::evaluate): Cache evaluationContext in a local variable. Use swap() to avo…
50206 … (WebCore::XPath::Step::evaluate): Cache evaluationContext in a local variable. Use swap() to avoid
DChangeLog-2005-12-1926665 (Expression::evaluationContext):
DChangeLog-2006-05-101013 (WebCore::XPath::Expression::evaluationContext):
DChangeLog-2009-06-1670092 (WebCore::XPath::Expression::evaluationContext):
72011 (WebCore::XPath::Expression::evaluationContext): Ditto