Lines Matching refs:contextNode

7625                     (xmlNodePtr cur, xmlNodePtr contextNode);
7794 xmlNodePtr contextNode)
7797 if (contextNode == NULL)
7799 switch (contextNode->type) {
7808 return(contextNode);
7843 if ((cur == NULL) || (cur == contextNode))
11687 xmlNodePtr contextNode, oldContextNode; in xmlXPathCompOpEvalPredicate() local
11734 contextNode = set->nodeTab[i]; in xmlXPathCompOpEvalPredicate()
11735 xpctxt->node = contextNode; in xmlXPathCompOpEvalPredicate()
11743 if ((contextNode->type != XML_NAMESPACE_DECL) && in xmlXPathCompOpEvalPredicate()
11744 (contextNode->doc != NULL)) in xmlXPathCompOpEvalPredicate()
11745 xpctxt->doc = contextNode->doc; in xmlXPathCompOpEvalPredicate()
11752 contextObj = xmlXPathCacheNewNodeSet(xpctxt, contextNode); in xmlXPathCompOpEvalPredicate()
11755 contextNode) < 0) { in xmlXPathCompOpEvalPredicate()
11778 if (contextNode->type == XML_NAMESPACE_DECL) in xmlXPathCompOpEvalPredicate()
11779 xmlXPathNodeSetFreeNs((xmlNsPtr) contextNode); in xmlXPathCompOpEvalPredicate()
11858 xmlNodePtr oldContextNode, contextNode = NULL; in xmlXPathCompOpEvalPositionalPredicate() local
11885 contextNode = set->nodeTab[i]; in xmlXPathCompOpEvalPositionalPredicate()
11886 xpctxt->node = contextNode; in xmlXPathCompOpEvalPositionalPredicate()
11895 if ((contextNode->type != XML_NAMESPACE_DECL) && in xmlXPathCompOpEvalPositionalPredicate()
11896 (contextNode->doc != NULL)) in xmlXPathCompOpEvalPositionalPredicate()
11897 xpctxt->doc = contextNode->doc; in xmlXPathCompOpEvalPositionalPredicate()
11904 contextObj = xmlXPathCacheNewNodeSet(xpctxt, contextNode); in xmlXPathCompOpEvalPositionalPredicate()
11907 contextNode) < 0) { in xmlXPathCompOpEvalPositionalPredicate()
11945 if (contextNode->type == XML_NAMESPACE_DECL) { in xmlXPathCompOpEvalPositionalPredicate()
11954 set->nodeTab[0] = contextNode; in xmlXPathCompOpEvalPositionalPredicate()
11969 if (contextNode->type == XML_NAMESPACE_DECL) in xmlXPathCompOpEvalPositionalPredicate()
11970 xmlXPathNodeSetFreeNs((xmlNsPtr) contextNode); in xmlXPathCompOpEvalPositionalPredicate()
12120 xmlNodePtr contextNode; in xmlXPathNodeCollectAndTest() local
12314 contextNode = NULL; in xmlXPathNodeCollectAndTest()
12318 while (((contextIdx < contextSeq->nodeNr) || (contextNode != NULL)) && in xmlXPathNodeCollectAndTest()