Home
last modified time | relevance | path

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

/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/webkit/Source/WebCore/xml/
DXPathExpression.cpp62 PassRefPtr<XPathResult> XPathExpression::evaluate(Node* contextNode, unsigned short type, XPathResu… in evaluate() argument
64 if (!isValidContextNode(contextNode)) { in evaluate()
70 evaluationContext.node = contextNode; in evaluate()
74 …RefPtr<XPathResult> result = XPathResult::create(contextNode->document(), m_topExpression->evaluat… in evaluate()
DXPathEvaluator.cpp56 Node* contextNode, in evaluate() argument
62 if (!isValidContextNode(contextNode)) { in evaluate()
72 return expr->evaluate(contextNode, type, result, ec); in evaluate()
DXPathExpression.h54 …PassRefPtr<XPathResult> evaluate(Node* contextNode, unsigned short type, XPathResult*, ExceptionCo…
DXPathEvaluator.h51 PassRefPtr<XPathResult> evaluate(const String& expression, Node* contextNode,
DXPathExpression.idl27 [OldStyleObjC] XPathResult evaluate(in Node contextNode,
DXPathEvaluator.idl29 in 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/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()
Dpattern.c2188 xsltComputeAllKeys(xsltTransformContextPtr ctxt, xmlNodePtr contextNode) in xsltComputeAllKeys() argument
2190 if ((ctxt == NULL) || (contextNode == NULL)) { in xsltComputeAllKeys()
2201 if (contextNode->doc->_private != NULL) in xsltComputeAllKeys()
2206 ctxt->document = xsltNewDocument(ctxt, contextNode->doc); in xsltComputeAllKeys()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8DocumentCustom.cpp75 RefPtr<Node> contextNode; in evaluateCallback() local
77 contextNode = V8Node::toNative(v8::Handle<v8::Object>::Cast(args[1])); in evaluateCallback()
89 …RefPtr<XPathResult> result = document->evaluate(expression, contextNode.get(), resolver.get(), typ… in evaluateCallback()
/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()
/external/libxml2/
Dxpath.c7550 (xmlNodePtr cur, xmlNodePtr contextNode);
7718 xmlNodePtr contextNode) in xmlXPathNextDescendantOrSelfElemParent() argument
7721 if (contextNode == NULL) in xmlXPathNextDescendantOrSelfElemParent()
7723 switch (contextNode->type) { in xmlXPathNextDescendantOrSelfElemParent()
7732 return(contextNode); in xmlXPathNextDescendantOrSelfElemParent()
7767 if ((cur == NULL) || (cur == contextNode)) in xmlXPathNextDescendantOrSelfElemParent()
11592 xmlNodePtr contextNode, oldContextNode; in xmlXPathCompOpEvalPredicate() local
11639 contextNode = set->nodeTab[i]; in xmlXPathCompOpEvalPredicate()
11640 xpctxt->node = contextNode; in xmlXPathCompOpEvalPredicate()
11648 if ((contextNode->type != XML_NAMESPACE_DECL) && in xmlXPathCompOpEvalPredicate()
[all …]
/external/webkit/Source/WebCore/bindings/objc/
DPublicDOMInterfaces.h144 - (DOMXPathResult *)evaluate:(NSString *)expression :(DOMNode *)contextNode :(id <DOMXPathNSResolve…
145 - (DOMXPathResult *)evaluate:(NSString *)expression contextNode:(DOMNode *)contextNode resolver:(id…
1234 - (DOMXPathResult *)evaluate:(DOMNode *)contextNode type:(unsigned short)type inResult:(DOMXPathRes…
1235 - (DOMXPathResult *)evaluate:(DOMNode *)contextNode :(unsigned short)type :(DOMXPathResult *)inResu…
/external/webkit/Source/WebCore/dom/
DDocument.idl122 in Node contextNode,
DDocument.h917 Node* contextNode,
DDocument.cpp4334 Node* contextNode, in evaluate() argument
4342 return m_xpathEvaluator->evaluate(expression, contextNode, resolver, type, result, ec); in evaluate()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerImpl.java1639 protected void pushGlobalVars(int contextNode) throws TransformerException in pushGlobalVars() argument
1655 XObject xobj = new XUnresolvedVariable(v, contextNode, this, in pushGlobalVars()