Searched refs:xpathCtxt (Results 1 – 13 of 13) sorted by relevance
/external/libxslt/libxslt/ |
D | templates.c | 65 oldContextSize = ctxt->xpathCtxt->contextSize; in xsltEvalXPathPredicate() 66 oldProximityPosition = ctxt->xpathCtxt->proximityPosition; in xsltEvalXPathPredicate() 67 oldNsNr = ctxt->xpathCtxt->nsNr; in xsltEvalXPathPredicate() 68 oldNamespaces = ctxt->xpathCtxt->namespaces; in xsltEvalXPathPredicate() 71 ctxt->xpathCtxt->node = ctxt->node; in xsltEvalXPathPredicate() 72 ctxt->xpathCtxt->namespaces = nsList; in xsltEvalXPathPredicate() 73 ctxt->xpathCtxt->nsNr = nsNr; in xsltEvalXPathPredicate() 75 res = xmlXPathCompiledEval(comp, ctxt->xpathCtxt); in xsltEvalXPathPredicate() 78 ret = xmlXPathEvalPredicate(ctxt->xpathCtxt, res); in xsltEvalXPathPredicate() 92 ctxt->xpathCtxt->nsNr = oldNsNr; in xsltEvalXPathPredicate() [all …]
|
D | xsltutils.c | 1001 oldPos = ctxt->xpathCtxt->proximityPosition; in xsltComputeSortResult() 1002 oldSize = ctxt->xpathCtxt->contextSize; in xsltComputeSortResult() 1003 oldNsNr = ctxt->xpathCtxt->nsNr; in xsltComputeSortResult() 1004 oldNamespaces = ctxt->xpathCtxt->namespaces; in xsltComputeSortResult() 1007 ctxt->xpathCtxt->contextSize = len; in xsltComputeSortResult() 1008 ctxt->xpathCtxt->proximityPosition = i + 1; in xsltComputeSortResult() 1010 ctxt->xpathCtxt->node = ctxt->node; in xsltComputeSortResult() 1013 ctxt->xpathCtxt->namespaces = comp->inScopeNs->list; in xsltComputeSortResult() 1014 ctxt->xpathCtxt->nsNr = comp->inScopeNs->xpathNumber; in xsltComputeSortResult() 1016 ctxt->xpathCtxt->namespaces = NULL; in xsltComputeSortResult() [all …]
|
D | variables.h | 31 xmlXPathRegisterVariableLookup((ctxt)->xpathCtxt, \ 33 xsltRegisterAllFunctions((ctxt)->xpathCtxt); \ 35 (ctxt)->xpathCtxt->extra = ctxt
|
D | functions.h | 28 xmlXPathRegisterFuncLookup((ctxt)->xpathCtxt, \ 30 (void *)(ctxt->xpathCtxt));
|
D | pattern.c | 552 oldnode = ctxt->xpathCtxt->node; in xsltTestCompMatchDirect() 553 olddoc = ctxt->xpathCtxt->doc; in xsltTestCompMatchDirect() 554 oldNsNr = ctxt->xpathCtxt->nsNr; in xsltTestCompMatchDirect() 555 oldNamespaces = ctxt->xpathCtxt->namespaces; in xsltTestCompMatchDirect() 556 ctxt->xpathCtxt->node = node; in xsltTestCompMatchDirect() 557 ctxt->xpathCtxt->doc = doc; in xsltTestCompMatchDirect() 558 ctxt->xpathCtxt->namespaces = nsList; in xsltTestCompMatchDirect() 559 ctxt->xpathCtxt->nsNr = nsNr; in xsltTestCompMatchDirect() 560 newlist = xmlXPathEval(comp->pattern, ctxt->xpathCtxt); in xsltTestCompMatchDirect() 561 ctxt->xpathCtxt->node = oldnode; in xsltTestCompMatchDirect() [all …]
|
D | transform.c | 485 cur->xpathCtxt = xmlXPathNewContext(doc); in xsltNewTransformContext() 486 if (cur->xpathCtxt == NULL) { in xsltNewTransformContext() 494 if (xmlXPathContextSetCache(cur->xpathCtxt, 1, -1, 0) == -1) in xsltNewTransformContext() 522 cur->xpathCtxt->nsHash = style->nsHash; in xsltNewTransformContext() 579 if (ctxt->xpathCtxt != NULL) { in xsltFreeTransformContext() 580 ctxt->xpathCtxt->nsHash = NULL; in xsltFreeTransformContext() 581 xmlXPathFreeContext(ctxt->xpathCtxt); in xsltFreeTransformContext() 1864 oldSize = ctxt->xpathCtxt->contextSize; in xsltDefaultProcessOneNode() 1865 oldPos = ctxt->xpathCtxt->proximityPosition; in xsltDefaultProcessOneNode() 1873 ctxt->xpathCtxt->contextSize = nbchild; in xsltDefaultProcessOneNode() [all …]
|
D | variables.c | 826 xmlXPathContextPtr xpctxt = ctxt->xpathCtxt; in xsltEvalVariable() 1063 xmlXPathContextPtr xpctxt = ctxt->xpathCtxt; in xsltEvalGlobalVariable() 1175 oldXPDoc = ctxt->xpathCtxt->doc; in xsltEvalGlobalVariable() 1180 ctxt->xpathCtxt->doc = ctxt->initialContextDoc; in xsltEvalGlobalVariable() 1186 ctxt->xpathCtxt->doc = oldXPDoc; in xsltEvalGlobalVariable() 1498 xmlXPathContextPtr xpctxt = ctxt->xpathCtxt; in xsltProcessUserParamInternal() 1837 if ((ctxt->xpathCtxt == NULL) || (ctxt->globalVars == NULL)) in xsltGlobalVariableLookup()
|
D | numbers.c | 649 context->xpathCtxt->node = node; in xsltNumberFormatGetMultipleLevel() 650 parser = xmlXPathNewParserContext(NULL, context->xpathCtxt); in xsltNumberFormatGetMultipleLevel() 765 amount = xsltNumberFormatGetValue(ctxt->xpathCtxt, in xsltNumberFormat()
|
D | xsltInternals.h | 1344 xmlXPathContextPtr xpathCtxt; member 1700 xmlXPathContextPtr xpathCtxt; /* the XPath context */ member
|
D | extensions.c | 595 if (ctxt->xpathCtxt != NULL) { in xsltRegisterExtFunction() 596 xmlXPathRegisterFuncNS(ctxt->xpathCtxt, name, URI, function); in xsltRegisterExtFunction()
|
D | keys.c | 639 xpctxt = ctxt->xpathCtxt; in xsltInitCtxtKey()
|
D | xslt.c | 553 if (cctxt->xpathCtxt != NULL) in xsltCompilationCtxtFree() 554 xmlXPathFreeContext(cctxt->xpathCtxt); in xsltCompilationCtxtFree() 596 ret->xpathCtxt = xmlXPathNewContext(NULL); in xsltCompilationCtxtCreate() 597 if (ret->xpathCtxt == NULL) in xsltCompilationCtxtCreate()
|
/external/libxml2/ |
D | xmlschemas.c | 833 void *xpathCtxt; member 3853 if (sto->xpathCtxt != NULL) in xmlSchemaFreeIDCStateObjList() 3854 xmlFreeStreamCtxt((xmlStreamCtxtPtr) sto->xpathCtxt); in xmlSchemaFreeIDCStateObjList() 22393 if (sto->xpathCtxt != NULL) in xmlSchemaIDCAddStateObject() 22394 xmlFreeStreamCtxt((xmlStreamCtxtPtr) sto->xpathCtxt); in xmlSchemaIDCAddStateObject() 22399 sto->xpathCtxt = (void *) xmlPatternGetStreamCtxt( in xmlSchemaIDCAddStateObject() 22401 if (sto->xpathCtxt == NULL) { in xmlSchemaIDCAddStateObject() 22466 res = xmlStreamPush((xmlStreamCtxtPtr) sto->xpathCtxt, in xmlSchemaXPathEvaluate() 22469 res = xmlStreamPushAttr((xmlStreamCtxtPtr) sto->xpathCtxt, in xmlSchemaXPathEvaluate() 22617 res = xmlStreamPop((xmlStreamCtxtPtr) sto->xpathCtxt); in xmlSchemaXPathPop() [all …]
|