Lines Matching refs:range1
2076 xmlFACompareRanges(xmlRegRangePtr range1, xmlRegRangePtr range2) { in xmlFACompareRanges() argument
2079 if ((range1->type == XML_REGEXP_RANGES) || in xmlFACompareRanges()
2082 (range1->type == XML_REGEXP_SUBREG) || in xmlFACompareRanges()
2083 (range1->type == XML_REGEXP_STRING) || in xmlFACompareRanges()
2088 if (range1->type > range2->type) { in xmlFACompareRanges()
2091 tmp = range1; in xmlFACompareRanges()
2092 range1 = range2; in xmlFACompareRanges()
2095 if ((range1->type == XML_REGEXP_ANYCHAR) || in xmlFACompareRanges()
2098 } else if ((range1->type == XML_REGEXP_EPSILON) || in xmlFACompareRanges()
2101 } else if (range1->type == range2->type) { in xmlFACompareRanges()
2102 if (range1->type != XML_REGEXP_CHARVAL) in xmlFACompareRanges()
2104 else if ((range1->end < range2->start) || in xmlFACompareRanges()
2105 (range2->end < range1->start)) in xmlFACompareRanges()
2109 } else if (range1->type == XML_REGEXP_CHARVAL) { in xmlFACompareRanges()
2119 if (((range1->neg == 0) && (range2->neg != 0)) || in xmlFACompareRanges()
2120 ((range1->neg != 0) && (range2->neg == 0))) in xmlFACompareRanges()
2123 for (codepoint = range1->start;codepoint <= range1->end ;codepoint++) { in xmlFACompareRanges()
2134 } else if ((range1->type == XML_REGEXP_BLOCK_NAME) || in xmlFACompareRanges()
2136 if (range1->type == range2->type) { in xmlFACompareRanges()
2137 ret = xmlStrEqual(range1->blockName, range2->blockName); in xmlFACompareRanges()
2147 } else if ((range1->type < XML_REGEXP_LETTER) || in xmlFACompareRanges()
2149 if ((range1->type == XML_REGEXP_ANYSPACE) && in xmlFACompareRanges()
2152 else if ((range1->type == XML_REGEXP_INITNAME) && in xmlFACompareRanges()
2155 else if ((range1->type == XML_REGEXP_NAMECHAR) && in xmlFACompareRanges()
2158 else if ((range1->type == XML_REGEXP_DECIMAL) && in xmlFACompareRanges()
2161 else if ((range1->type == XML_REGEXP_REALCHAR) && in xmlFACompareRanges()
2171 switch (range1->type) { in xmlFACompareRanges()
2232 if (((range1->neg == 0) && (range2->neg != 0)) || in xmlFACompareRanges()
2233 ((range1->neg != 0) && (range2->neg == 0))) in xmlFACompareRanges()