Home
last modified time | relevance | path

Searched refs:contextNode (Results 1 – 25 of 32) sorted by relevance

12

/external/apache-xml/src/main/java/org/apache/xpath/
DXPathAPI.java66 public static Node selectSingleNode(Node contextNode, String str) in selectSingleNode() argument
69 return selectSingleNode(contextNode, str, contextNode); in selectSingleNode()
84 Node contextNode, String str, Node namespaceNode) in selectSingleNode() argument
89 NodeIterator nl = selectNodeIterator(contextNode, str, namespaceNode); in selectSingleNode()
105 public static NodeIterator selectNodeIterator(Node contextNode, String str) in selectNodeIterator() argument
108 return selectNodeIterator(contextNode, str, contextNode); in selectNodeIterator()
123 Node contextNode, String str, Node namespaceNode) in selectNodeIterator() argument
128 XObject list = eval(contextNode, str, namespaceNode); in selectNodeIterator()
144 public static NodeList selectNodeList(Node contextNode, String str) in selectNodeList() argument
147 return selectNodeList(contextNode, str, contextNode); in selectNodeList()
[all …]
DCachedXPathAPI.java121 public Node selectSingleNode(Node contextNode, String str) in selectSingleNode() argument
124 return selectSingleNode(contextNode, str, contextNode); in selectSingleNode()
139 Node contextNode, String str, Node namespaceNode) in selectSingleNode() argument
144 NodeIterator nl = selectNodeIterator(contextNode, str, namespaceNode); in selectSingleNode()
160 public NodeIterator selectNodeIterator(Node contextNode, String str) in selectNodeIterator() argument
163 return selectNodeIterator(contextNode, str, contextNode); in selectNodeIterator()
178 Node contextNode, String str, Node namespaceNode) in selectNodeIterator() argument
183 XObject list = eval(contextNode, str, namespaceNode); in selectNodeIterator()
199 public NodeList selectNodeList(Node contextNode, String str) in selectNodeList() argument
202 return selectNodeList(contextNode, str, contextNode); in selectNodeList()
[all …]
DExpression.java244 public DTMIterator asIterator(XPathContext xctxt, int contextNode) in asIterator() argument
250 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in asIterator()
275 public DTMIterator asIteratorRaw(XPathContext xctxt, int contextNode) in asIteratorRaw() argument
281 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in asIteratorRaw()
DXPath.java299 XPathContext xctxt, org.w3c.dom.Node contextNode, in execute() argument
304 xctxt, xctxt.getDTMHandleFromNode(contextNode), in execute()
325 XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) in execute() argument
331 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in execute()
402 XPathContext xctxt, int contextNode, PrefixResolver namespaceContext) in bool() argument
408 xctxt.pushCurrentNodeAndExpression(contextNode, contextNode); in bool()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXPathExpression.cpp60 PassRefPtr<XPathResult> XPathExpression::evaluate(Node* contextNode, unsigned short type, XPathResu… in evaluate() argument
62 if (!contextNode) { in evaluate()
67 if (!isValidContextNode(contextNode)) { in evaluate()
68 …exceptionState.throwDOMException(NotSupportedError, "The node provided is '" + contextNode->nodeNa… in evaluate()
73 evaluationContext.node = contextNode; in evaluate()
77 …RefPtr<XPathResult> result = XPathResult::create(&contextNode->document(), m_topExpression->evalua… in evaluate()
DXPathEvaluator.cpp52 PassRefPtr<XPathResult> XPathEvaluator::evaluate(const String& expression, Node* contextNode, in evaluate() argument
55 if (!contextNode) { in evaluate()
60 if (!isValidContextNode(contextNode)) { in evaluate()
61 …exceptionState.throwDOMException(NotSupportedError, "The node provided is '" + contextNode->nodeNa… in evaluate()
69 return expr->evaluate(contextNode, type, result, exceptionState); in evaluate()
DDocumentXPathEvaluator.cpp72 Node* contextNode, PassRefPtr<XPathNSResolver> resolver, unsigned short type, in evaluate() argument
78 …return suplement->m_xpathEvaluator->evaluate(expression, contextNode, resolver, type, result, exce… in evaluate()
DXPathExpression.h52 …PassRefPtr<XPathResult> evaluate(Node* contextNode, unsigned short type, XPathResult*, ExceptionSt…
DDocumentXPathEvaluator.h49 const String& expression, Node* contextNode, PassRefPtr<XPathNSResolver>,
DXPathEvaluator.h49 PassRefPtr<XPathResult> evaluate(const String& expression, Node* contextNode,
DXPathExpression.idl21 [RaisesException] XPathResult evaluate([Default=Undefined] optional Node contextNode,
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemNumber.java718 XPath getCountMatchPattern(XPathContext support, int contextNode) in getCountMatchPattern() argument
723 DTM dtm = support.getDTM(contextNode); in getCountMatchPattern()
726 switch (dtm.getNodeType(contextNode)) in getCountMatchPattern()
731 if (dtm.getNamespaceURI(contextNode) == null) { in getCountMatchPattern()
732 resolver = new MyPrefixResolver(dtm.getNode(contextNode), dtm,contextNode, false); in getCountMatchPattern()
734 resolver = new MyPrefixResolver(dtm.getNode(contextNode), dtm,contextNode, true); in getCountMatchPattern()
737 countMatchPattern = new XPath(dtm.getNodeName(contextNode), this, resolver, in getCountMatchPattern()
744 countMatchPattern = new XPath("@" + dtm.getNodeName(contextNode), this, in getCountMatchPattern()
766 countMatchPattern = new XPath("pi(" + dtm.getNodeName(contextNode) in getCountMatchPattern()
1033 Locale getLocale(TransformerImpl transformer, int contextNode) in getLocale() argument
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DDOMPresentationUtils.js189 var contextNode = node;
190 while (contextNode) {
191 var step = WebInspector.DOMPresentationUtils._cssPathValue(contextNode, optimized);
197 contextNode = contextNode.parentNode;
371 var contextNode = node;
372 while (contextNode) {
373 var step = WebInspector.DOMPresentationUtils._xPathValue(contextNode, optimized);
379 contextNode = contextNode.parentNode;
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8DocumentCustom.cpp66 RefPtr<Node> contextNode; in evaluateMethodCustom() local
68 contextNode = V8Node::toNative(v8::Handle<v8::Object>::Cast(info[1])); in evaluateMethodCustom()
83 …, result, DocumentXPathEvaluator::evaluate(document.get(), expression, contextNode.get(), resolver… in evaluateMethodCustom()
/external/libxslt/libxslt/
Dtransform.c96 xmlNodePtr contextNode, xmlNodePtr list,
101 xmlNodePtr contextNode,
1978 xsltProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr contextNode, in xsltProcessOneNode() argument
1984 templ = xsltGetTemplate(ctxt, contextNode, NULL); in xsltProcessOneNode()
1990 if (contextNode->type == XML_DOCUMENT_NODE) { in xsltProcessOneNode()
1993 } else if (contextNode->type == XML_CDATA_SECTION_NODE) { in xsltProcessOneNode()
1996 } else if (contextNode->type == XML_ATTRIBUTE_NODE) { in xsltProcessOneNode()
1999 ((xmlAttrPtr) contextNode)->name)); in xsltProcessOneNode()
2002 "xsltProcessOneNode: no template found for %s\n", contextNode->name)); in xsltProcessOneNode()
2006 ctxt->node = contextNode; in xsltProcessOneNode()
[all …]
Dtemplates.c195 xmlNodePtr contextNode, in xsltEvalTemplateString() argument
201 if ((ctxt == NULL) || (contextNode == NULL) || (inst == NULL)) in xsltEvalTemplateString()
216 xsltTransformError(ctxt, NULL, contextNode, in xsltEvalTemplateString()
225 xsltApplyOneTemplate(ctxt, contextNode, inst->children, NULL, NULL); in xsltEvalTemplateString()
Dtemplates.h30 xmlNodePtr contextNode,
Dattributes.c641 xmlNodePtr contextNode, in xsltAttributeInternal() argument
659 if ((ctxt == NULL) || (contextNode == NULL) || (inst == NULL)) in xsltAttributeInternal()
734 xslHandleDebugger(inst, contextNode, NULL, ctxt); in xsltAttributeInternal()
992 value = xsltEvalTemplateString(ctxt, contextNode, inst); in xsltAttributeInternal()
/external/chromium_org/third_party/libxslt/libxslt/
Dtransform.c96 xmlNodePtr contextNode, xmlNodePtr list,
101 xmlNodePtr contextNode,
1978 xsltProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr contextNode, in xsltProcessOneNode() argument
1984 templ = xsltGetTemplate(ctxt, contextNode, NULL); in xsltProcessOneNode()
1990 if (contextNode->type == XML_DOCUMENT_NODE) { in xsltProcessOneNode()
1993 } else if (contextNode->type == XML_CDATA_SECTION_NODE) { in xsltProcessOneNode()
1996 } else if (contextNode->type == XML_ATTRIBUTE_NODE) { in xsltProcessOneNode()
1999 ((xmlAttrPtr) contextNode)->name)); in xsltProcessOneNode()
2002 "xsltProcessOneNode: no template found for %s\n", contextNode->name)); in xsltProcessOneNode()
2006 ctxt->node = contextNode; in xsltProcessOneNode()
[all …]
Dtemplates.c196 xmlNodePtr contextNode, in xsltEvalTemplateString() argument
202 if ((ctxt == NULL) || (contextNode == NULL) || (inst == NULL)) in xsltEvalTemplateString()
217 xsltTransformError(ctxt, NULL, contextNode, in xsltEvalTemplateString()
226 xsltApplyOneTemplate(ctxt, contextNode, inst->children, NULL, NULL); in xsltEvalTemplateString()
Dtemplates.h30 xmlNodePtr contextNode,
Dattributes.c641 xmlNodePtr contextNode, in xsltAttributeInternal() argument
659 if ((ctxt == NULL) || (contextNode == NULL) || (inst == NULL)) in xsltAttributeInternal()
734 xslHandleDebugger(inst, contextNode, NULL, ctxt); in xsltAttributeInternal()
992 value = xsltEvalTemplateString(ctxt, contextNode, inst); in xsltAttributeInternal()
/external/chromium_org/third_party/WebKit/Source/core/svg/graphics/filters/
DSVGFEImage.cpp120 SVGElement* contextNode = toSVGElement(renderer->node()); in applySoftware() local
121 if (contextNode->hasRelativeLengths()) { in applySoftware()
122 SVGLengthContext lengthContext(contextNode); in applySoftware()
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DXPathExpressionImpl.java121 Node contextNode = (Node)contextItem; in eval() local
125 if ( contextNode == null ) { in eval()
126 contextNode = getDummyDocument(); in eval()
129 xobj = xpath.execute(xpathSupport, contextNode, prefixResolver ); in eval()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DLocPathIterator.java264 XPathContext xctxt, int contextNode) in asIterator() argument
269 iter.setRoot(contextNode, xctxt); in asIterator()

12