• Home
  • Raw
  • Download

Lines Matching refs:comp

525     cur->comp = elem->comp;      in xsltCopyStackElem()
703 if (cur->comp != NULL) { in xsltCheckStackElem()
704 if (cur->comp->type == XSLT_FUNC_WITHPARAM) in xsltCheckStackElem()
706 else if (cur->comp->type == XSLT_FUNC_PARAM) in xsltCheckStackElem()
798 xsltStyleItemVariablePtr comp = in xsltEvalVariable() local
801 xsltStylePreCompPtr comp = castedComp; in xsltEvalVariable()
829 if ((comp != NULL) && (comp->comp != NULL)) { in xsltEvalVariable()
830 xpExpr = comp->comp; in xsltEvalVariable()
869 if (comp != NULL) { in xsltEvalVariable()
872 if (comp->inScopeNs != NULL) { in xsltEvalVariable()
873 xpctxt->namespaces = comp->inScopeNs->list; in xsltEvalVariable()
874 xpctxt->nsNr = comp->inScopeNs->xpathNumber; in xsltEvalVariable()
880 xpctxt->namespaces = comp->nsList; in xsltEvalVariable()
881 xpctxt->nsNr = comp->nsNr; in xsltEvalVariable()
913 if ((comp == NULL) || (comp->comp == NULL)) in xsltEvalVariable()
917 (comp != NULL) ? comp->inst : NULL, in xsltEvalVariable()
1025 xsltStyleBasicItemVariablePtr comp; in xsltEvalGlobalVariable() local
1027 xsltStylePreCompPtr comp; in xsltEvalGlobalVariable() local
1043 elem->comp && elem->comp->inst) in xsltEvalGlobalVariable()
1044 xslHandleDebugger(elem->comp->inst, NULL, NULL, ctxt); in xsltEvalGlobalVariable()
1048 comp = elem->comp; in xsltEvalGlobalVariable()
1065 if ((comp != NULL) && (comp->comp != NULL)) { in xsltEvalGlobalVariable()
1066 xpExpr = comp->comp; in xsltEvalGlobalVariable()
1074 if (comp != NULL) in xsltEvalGlobalVariable()
1075 ctxt->inst = comp->inst; in xsltEvalGlobalVariable()
1102 if (comp != NULL) { in xsltEvalGlobalVariable()
1105 if (comp->inScopeNs != NULL) { in xsltEvalGlobalVariable()
1106 xpctxt->namespaces = comp->inScopeNs->list; in xsltEvalGlobalVariable()
1107 xpctxt->nsNr = comp->inScopeNs->xpathNumber; in xsltEvalGlobalVariable()
1113 xpctxt->namespaces = comp->nsList; in xsltEvalGlobalVariable()
1114 xpctxt->nsNr = comp->nsNr; in xsltEvalGlobalVariable()
1133 if ((comp == NULL) || (comp->comp == NULL)) in xsltEvalGlobalVariable()
1136 if (comp == NULL) in xsltEvalGlobalVariable()
1140 xsltTransformError(ctxt, NULL, comp->inst, in xsltEvalGlobalVariable()
1268 } else if ((elem->comp != NULL) && in xsltEvalGlobalVariables()
1269 (elem->comp->type == XSLT_FUNC_VARIABLE)) { in xsltEvalGlobalVariables()
1274 if ((elem->comp->inst != NULL) && in xsltEvalGlobalVariables()
1275 (def->comp != NULL) && (def->comp->inst != NULL) && in xsltEvalGlobalVariables()
1276 (elem->comp->inst->doc == def->comp->inst->doc)) in xsltEvalGlobalVariables()
1278 xsltTransformError(ctxt, style, elem->comp->inst, in xsltEvalGlobalVariables()
1316 xmlNodePtr tree, xsltStylePreCompPtr comp, in xsltRegisterGlobalVariable() argument
1323 if (comp == NULL) in xsltRegisterGlobalVariable()
1327 if (comp->type == XSLT_FUNC_PARAM) in xsltRegisterGlobalVariable()
1338 elem->comp = comp; in xsltRegisterGlobalVariable()
1350 if ((elem->comp->type == XSLT_FUNC_VARIABLE) && in xsltRegisterGlobalVariable()
1351 (tmp->comp->type == XSLT_FUNC_VARIABLE) && in xsltRegisterGlobalVariable()
1356 xsltTransformError(NULL, style, comp->inst, in xsltRegisterGlobalVariable()
1473 if ((elem->comp != NULL) && in xsltProcessUserParamInternal()
1474 (elem->comp->type == XSLT_FUNC_VARIABLE) && in xsltProcessUserParamInternal()
1726 xsltStyleBasicItemVariablePtr comp = in xsltBuildVariable() local
1729 xsltStylePreCompPtr comp = castedComp; in xsltBuildVariable()
1735 "Building variable %s", comp->name)); in xsltBuildVariable()
1736 if (comp->select != NULL) in xsltBuildVariable()
1738 " select %s", comp->select)); in xsltBuildVariable()
1745 elem->comp = (xsltStylePreCompPtr) comp; in xsltBuildVariable()
1746 elem->name = comp->name; in xsltBuildVariable()
1747 elem->select = comp->select; in xsltBuildVariable()
1748 elem->nameURI = comp->ns; in xsltBuildVariable()
1751 (xsltStylePreCompPtr) comp); in xsltBuildVariable()
1774 xsltStyleBasicItemVariablePtr comp = in xsltRegisterVariable() local
1777 xsltStylePreCompPtr comp = castedComp; in xsltRegisterVariable()
1789 present = xsltCheckStackElem(ctxt, comp->name, comp->ns); in xsltRegisterVariable()
1793 xsltTransformError(ctxt, NULL, comp->inst, in xsltRegisterVariable()
1794 "XSLT-variable: Redefinition of variable '%s'.\n", comp->name); in xsltRegisterVariable()
1800 xsltTransformError(ctxt, NULL, comp->inst, in xsltRegisterVariable()
1801 "XSLT-param: Redefinition of parameter '%s'.\n", comp->name); in xsltRegisterVariable()
1806 "param %s defined by caller\n", comp->name)); in xsltRegisterVariable()
1812 variable = xsltBuildVariable(ctxt, (xsltStylePreCompPtr) comp, tree); in xsltRegisterVariable()
1854 xsltTransformError(ctxt, NULL, elem->comp->inst, in xsltGlobalVariableLookup()
1921 xsltStyleBasicItemVariablePtr comp; in xsltParseStylesheetCallerParam() local
1923 xsltStylePreCompPtr comp; in xsltParseStylesheetCallerParam()
1933 comp = (xsltStyleBasicItemVariablePtr) inst->psvi; in xsltParseStylesheetCallerParam()
1935 comp = (xsltStylePreCompPtr) inst->psvi; in xsltParseStylesheetCallerParam()
1938 if (comp == NULL) { in xsltParseStylesheetCallerParam()
1944 if (comp->name == NULL) { in xsltParseStylesheetCallerParam()
1953 "Handling xsl:with-param %s\n", comp->name)); in xsltParseStylesheetCallerParam()
1956 if (comp->select == NULL) { in xsltParseStylesheetCallerParam()
1961 " select %s\n", comp->select)); in xsltParseStylesheetCallerParam()
1966 param = xsltBuildVariable(ctxt, (xsltStylePreCompPtr) comp, tree); in xsltParseStylesheetCallerParam()
1983 xsltStyleItemVariablePtr comp; in xsltParseGlobalVariable() local
1985 xsltStylePreCompPtr comp; in xsltParseGlobalVariable()
1996 comp = (xsltStyleItemVariablePtr) cur->psvi; in xsltParseGlobalVariable()
1999 comp = (xsltStylePreCompPtr) cur->psvi; in xsltParseGlobalVariable()
2001 if (comp == NULL) { in xsltParseGlobalVariable()
2007 if (comp->name == NULL) { in xsltParseGlobalVariable()
2025 "Registering global variable %s\n", comp->name); in xsltParseGlobalVariable()
2028 xsltRegisterGlobalVariable(style, comp->name, comp->ns, in xsltParseGlobalVariable()
2029 comp->select, cur->children, (xsltStylePreCompPtr) comp, in xsltParseGlobalVariable()
2045 xsltStyleItemParamPtr comp; in xsltParseGlobalParam() local
2047 xsltStylePreCompPtr comp; in xsltParseGlobalParam()
2058 comp = (xsltStyleItemParamPtr) cur->psvi; in xsltParseGlobalParam()
2061 comp = (xsltStylePreCompPtr) cur->psvi; in xsltParseGlobalParam()
2063 if (comp == NULL) { in xsltParseGlobalParam()
2069 if (comp->name == NULL) { in xsltParseGlobalParam()
2088 "Registering global param %s\n", comp->name); in xsltParseGlobalParam()
2091 xsltRegisterGlobalVariable(style, comp->name, comp->ns, in xsltParseGlobalParam()
2092 comp->select, cur->children, (xsltStylePreCompPtr) comp, in xsltParseGlobalParam()
2108 xsltStyleItemVariablePtr comp; in xsltParseStylesheetVariable() local
2110 xsltStylePreCompPtr comp; in xsltParseStylesheetVariable()
2116 comp = inst->psvi; in xsltParseStylesheetVariable()
2117 if (comp == NULL) { in xsltParseStylesheetVariable()
2123 if (comp->name == NULL) { in xsltParseStylesheetVariable()
2132 "Registering variable '%s'\n", comp->name)); in xsltParseStylesheetVariable()
2135 xsltRegisterVariable(ctxt, (xsltStylePreCompPtr) comp, inst->children, 0); in xsltParseStylesheetVariable()
2150 xsltStyleItemParamPtr comp; in xsltParseStylesheetParam() local
2152 xsltStylePreCompPtr comp; in xsltParseStylesheetParam()
2158 comp = cur->psvi; in xsltParseStylesheetParam()
2159 if ((comp == NULL) || (comp->name == NULL)) { in xsltParseStylesheetParam()
2168 "Registering param %s\n", comp->name)); in xsltParseStylesheetParam()
2171 xsltRegisterVariable(ctxt, (xsltStylePreCompPtr) comp, cur->children, 1); in xsltParseStylesheetParam()