Home
last modified time | relevance | path

Searched refs:xpctxt (Results 1 – 6 of 6) sorted by relevance

/external/libxslt/libxslt/
Dvariables.c826 xmlXPathContextPtr xpctxt = ctxt->xpathCtxt; in xsltEvalVariable() local
839 oldXPDoc = xpctxt->doc; in xsltEvalVariable()
840 oldXPContextNode = xpctxt->node; in xsltEvalVariable()
841 oldXPProximityPosition = xpctxt->proximityPosition; in xsltEvalVariable()
842 oldXPContextSize = xpctxt->contextSize; in xsltEvalVariable()
843 oldXPNamespaces = xpctxt->namespaces; in xsltEvalVariable()
844 oldXPNsNr = xpctxt->nsNr; in xsltEvalVariable()
846 xpctxt->node = ctxt->node; in xsltEvalVariable()
853 xpctxt->doc = ctxt->node->doc; in xsltEvalVariable()
873 xpctxt->namespaces = comp->inScopeNs->list; in xsltEvalVariable()
[all …]
Dtransform.c4187 xmlXPathContextPtr xpctxt; in xsltCopyOf() local
4223 xpctxt = ctxt->xpathCtxt; in xsltCopyOf()
4224 oldXPContextDoc = xpctxt->doc; in xsltCopyOf()
4225 oldXPContextNode = xpctxt->node; in xsltCopyOf()
4226 oldXPProximityPosition = xpctxt->proximityPosition; in xsltCopyOf()
4227 oldXPContextSize = xpctxt->contextSize; in xsltCopyOf()
4228 oldXPNsNr = xpctxt->nsNr; in xsltCopyOf()
4229 oldXPNamespaces = xpctxt->namespaces; in xsltCopyOf()
4231 xpctxt->node = node; in xsltCopyOf()
4236 xpctxt->namespaces = comp->inScopeNs->list; in xsltCopyOf()
[all …]
Dkeys.c613 xmlXPathContextPtr xpctxt; in xsltInitCtxtKey() local
639 xpctxt = ctxt->xpathCtxt; in xsltInitCtxtKey()
648 oldXPDoc = xpctxt->doc; in xsltInitCtxtKey()
649 oldXPPos = xpctxt->proximityPosition; in xsltInitCtxtKey()
650 oldXPSize = xpctxt->contextSize; in xsltInitCtxtKey()
651 oldXPNsNr = xpctxt->nsNr; in xsltInitCtxtKey()
652 oldXPNamespaces = xpctxt->namespaces; in xsltInitCtxtKey()
661 xpctxt->doc = idoc->doc; in xsltInitCtxtKey()
662 xpctxt->node = (xmlNodePtr) idoc->doc; in xsltInitCtxtKey()
664 xpctxt->namespaces = keyDef->nsList; in xsltInitCtxtKey()
[all …]
Dfunctions.c407 xmlXPathContextPtr xpctxt = ctxt->context; in xsltKeyFunction() local
415 if (xpctxt->node == NULL) { in xsltKeyFunction()
434 keyURI = xmlXPathNsLookup(xpctxt, prefix); in xsltKeyFunction()
472 if (xpctxt->node->type == XML_NAMESPACE_DECL) { in xsltKeyFunction()
478 if ((((xmlNsPtr) xpctxt->node)->next != NULL) && in xsltKeyFunction()
479 (((xmlNsPtr) xpctxt->node)->next->type == XML_ELEMENT_NODE)) in xsltKeyFunction()
481 tmpNode = (xmlNodePtr) ((xmlNsPtr) xpctxt->node)->next; in xsltKeyFunction()
484 tmpNode = xpctxt->node; in xsltKeyFunction()
/external/libxml2/patches/
DXPath_freeing_error.patch15 - xmlXPathReleaseObject(xpctxt, tmp);
25 + xmlXPathReleaseObject(xpctxt, tmp);
/external/libxml2/
Dxpath.c11591 xmlXPathContextPtr xpctxt = ctxt->context; in xmlXPathCompOpEvalPredicate() local
11628 oldContextNode = xpctxt->node; in xmlXPathCompOpEvalPredicate()
11629 oldContextDoc = xpctxt->doc; in xmlXPathCompOpEvalPredicate()
11640 xpctxt->node = contextNode; in xmlXPathCompOpEvalPredicate()
11641 xpctxt->contextSize = contextSize; in xmlXPathCompOpEvalPredicate()
11642 xpctxt->proximityPosition = ++contextPos; in xmlXPathCompOpEvalPredicate()
11650 xpctxt->doc = contextNode->doc; in xmlXPathCompOpEvalPredicate()
11657 contextObj = xmlXPathCacheNewNodeSet(xpctxt, contextNode); in xmlXPathCompOpEvalPredicate()
11702 xmlXPathReleaseObject(xpctxt, contextObj); in xmlXPathCompOpEvalPredicate()
11710 xpctxt->node = oldContextNode; in xmlXPathCompOpEvalPredicate()
[all …]