Searched refs:xpathCtxt (Results 1 - 12 of 12) sorted by relevance

/external/libxslt/libxslt/
H A Dvariables.h31 xmlXPathRegisterVariableLookup((ctxt)->xpathCtxt, \
33 xsltRegisterAllFunctions((ctxt)->xpathCtxt); \
35 (ctxt)->xpathCtxt->extra = ctxt
H A Dtemplates.c65 oldContextSize = ctxt->xpathCtxt->contextSize;
66 oldProximityPosition = ctxt->xpathCtxt->proximityPosition;
67 oldNsNr = ctxt->xpathCtxt->nsNr;
68 oldNamespaces = ctxt->xpathCtxt->namespaces;
71 ctxt->xpathCtxt->node = ctxt->node;
72 ctxt->xpathCtxt->namespaces = nsList;
73 ctxt->xpathCtxt->nsNr = nsNr;
75 res = xmlXPathCompiledEval(comp, ctxt->xpathCtxt);
78 ret = xmlXPathEvalPredicate(ctxt->xpathCtxt, res);
92 ctxt->xpathCtxt
[all...]
H A Dfunctions.h28 xmlXPathRegisterFuncLookup((ctxt)->xpathCtxt, \
30 (void *)(ctxt->xpathCtxt));
H A Dxsltutils.c1001 oldPos = ctxt->xpathCtxt->proximityPosition;
1002 oldSize = ctxt->xpathCtxt->contextSize;
1003 oldNsNr = ctxt->xpathCtxt->nsNr;
1004 oldNamespaces = ctxt->xpathCtxt->namespaces;
1007 ctxt->xpathCtxt->contextSize = len;
1008 ctxt->xpathCtxt->proximityPosition = i + 1;
1010 ctxt->xpathCtxt->node = ctxt->node;
1013 ctxt->xpathCtxt->namespaces = comp->inScopeNs->list;
1014 ctxt->xpathCtxt->nsNr = comp->inScopeNs->xpathNumber;
1016 ctxt->xpathCtxt
2104 xmlXPathContextPtr xpathCtxt; local
[all...]
H A Dpattern.c552 oldnode = ctxt->xpathCtxt->node;
553 olddoc = ctxt->xpathCtxt->doc;
554 oldNsNr = ctxt->xpathCtxt->nsNr;
555 oldNamespaces = ctxt->xpathCtxt->namespaces;
556 ctxt->xpathCtxt->node = node;
557 ctxt->xpathCtxt->doc = doc;
558 ctxt->xpathCtxt->namespaces = nsList;
559 ctxt->xpathCtxt->nsNr = nsNr;
560 newlist = xmlXPathEval(comp->pattern, ctxt->xpathCtxt);
561 ctxt->xpathCtxt
[all...]
H A Dtransform.c485 cur->xpathCtxt = xmlXPathNewContext(doc);
486 if (cur->xpathCtxt == NULL) {
494 if (xmlXPathContextSetCache(cur->xpathCtxt, 1, -1, 0) == -1)
522 cur->xpathCtxt->nsHash = style->nsHash;
579 if (ctxt->xpathCtxt != NULL) {
580 ctxt->xpathCtxt->nsHash = NULL;
581 xmlXPathFreeContext(ctxt->xpathCtxt);
1864 oldSize = ctxt->xpathCtxt->contextSize;
1865 oldPos = ctxt->xpathCtxt->proximityPosition;
1873 ctxt->xpathCtxt
[all...]
H A Dvariables.c826 xmlXPathContextPtr xpctxt = ctxt->xpathCtxt;
1063 xmlXPathContextPtr xpctxt = ctxt->xpathCtxt;
1175 oldXPDoc = ctxt->xpathCtxt->doc;
1180 ctxt->xpathCtxt->doc = ctxt->initialContextDoc;
1186 ctxt->xpathCtxt->doc = oldXPDoc;
1498 xmlXPathContextPtr xpctxt = ctxt->xpathCtxt;
1837 if ((ctxt->xpathCtxt == NULL) || (ctxt->globalVars == NULL))
H A Dnumbers.c649 context->xpathCtxt->node = node;
650 parser = xmlXPathNewParserContext(NULL, context->xpathCtxt);
765 amount = xsltNumberFormatGetValue(ctxt->xpathCtxt,
H A DxsltInternals.h1344 xmlXPathContextPtr xpathCtxt; member in struct:_xsltCompilerCtxt
1700 xmlXPathContextPtr xpathCtxt; /* the XPath context */ member in struct:_xsltTransformContext
H A Dextensions.c595 if (ctxt->xpathCtxt != NULL) {
596 xmlXPathRegisterFuncNS(ctxt->xpathCtxt, name, URI, function);
H A Dxslt.c553 if (cctxt->xpathCtxt != NULL)
554 xmlXPathFreeContext(cctxt->xpathCtxt);
596 ret->xpathCtxt = xmlXPathNewContext(NULL);
597 if (ret->xpathCtxt == NULL)
/external/libxml2/
H A Dxmlschemas.c833 void *xpathCtxt; member in struct:_xmlSchemaIDCStateObj
3853 if (sto->xpathCtxt != NULL)
3854 xmlFreeStreamCtxt((xmlStreamCtxtPtr) sto->xpathCtxt);
22393 if (sto->xpathCtxt != NULL)
22394 xmlFreeStreamCtxt((xmlStreamCtxtPtr) sto->xpathCtxt);
22399 sto->xpathCtxt = (void *) xmlPatternGetStreamCtxt(
22401 if (sto->xpathCtxt == NULL) {
22466 res = xmlStreamPush((xmlStreamCtxtPtr) sto->xpathCtxt,
22469 res = xmlStreamPushAttr((xmlStreamCtxtPtr) sto->xpathCtxt,
22617 res = xmlStreamPop((xmlStreamCtxtPtr) sto->xpathCtxt);
[all...]

Completed in 111 milliseconds