Home | History | Annotate | Download | only in xml

Lines Matching refs:comp

76     xsltStyleItemSortPtr comp;
78 xsltStylePreCompPtr comp;
97 comp = static_cast<xsltStylePreComp*>(sorts[0]->psvi);
98 if (comp == NULL)
106 comp = static_cast<xsltStylePreComp*>(sorts[j]->psvi);
108 if ((comp->stype == NULL) && (comp->has_stype != 0)) {
109 comp->stype =
113 if (comp->stype != NULL) {
115 if (xmlStrEqual(comp->stype, (const xmlChar *) "text"))
116 comp->number = 0;
117 else if (xmlStrEqual(comp->stype, (const xmlChar *) "number"))
118 comp->number = 1;
122 comp->stype);
123 comp->number = 0; /* use default */
128 if ((comp->order == NULL) && (comp->has_order != 0)) {
129 comp->order = xsltEvalAttrValueTemplate(ctxt, sorts[j],
132 if (comp->order != NULL) {
134 if (xmlStrEqual(comp->order, (const xmlChar *) "ascending"))
135 comp->descending = 0;
136 else if (xmlStrEqual(comp->order,
138 comp->descending = 1;
142 comp->order);
143 comp->descending = 0; /* use default */
157 comp = static_cast<xsltStylePreComp*>(sorts[0]->psvi);
158 descending = comp->descending;
159 number = comp->number;
167 Collator collator(comp->has_lang ? (const char*)comp->lang : "en");
168 collator.setOrderLowerFirst(comp->lower_first);
214 comp = static_cast<xsltStylePreComp*>(sorts[depth]->psvi);
215 if (comp == NULL)
217 desc = comp->descending;
218 numb = comp->number;
301 comp = static_cast<xsltStylePreComp*>(sorts[j]->psvi);
304 xmlFree((void *)(comp->stype));
305 comp->stype = NULL;
309 xmlFree((void *)(comp->order));
310 comp->order = NULL;