Home | History | Annotate | Download | only in libxml2

Lines Matching full:range1

2072 xmlFACompareRanges(xmlRegRangePtr range1, xmlRegRangePtr range2) {
2075 if ((range1->type == XML_REGEXP_RANGES) ||
2078 (range1->type == XML_REGEXP_SUBREG) ||
2079 (range1->type == XML_REGEXP_STRING) ||
2084 if (range1->type > range2->type) {
2087 tmp = range1;
2088 range1 = range2;
2091 if ((range1->type == XML_REGEXP_ANYCHAR) ||
2094 } else if ((range1->type == XML_REGEXP_EPSILON) ||
2097 } else if (range1->type == range2->type) {
2098 if (range1->type != XML_REGEXP_CHARVAL)
2100 else if ((range1->end < range2->start) ||
2101 (range2->end < range1->start))
2105 } else if (range1->type == XML_REGEXP_CHARVAL) {
2115 if (((range1->neg == 0) && (range2->neg != 0)) ||
2116 ((range1->neg != 0) && (range2->neg == 0)))
2119 for (codepoint = range1->start;codepoint <= range1->end ;codepoint++) {
2130 } else if ((range1->type == XML_REGEXP_BLOCK_NAME) ||
2132 if (range1->type == range2->type) {
2133 ret = xmlStrEqual(range1->blockName, range2->blockName);
2143 } else if ((range1->type < XML_REGEXP_LETTER) ||
2145 if ((range1->type == XML_REGEXP_ANYSPACE) &&
2148 else if ((range1->type == XML_REGEXP_INITNAME) &&
2151 else if ((range1->type == XML_REGEXP_NAMECHAR) &&
2154 else if ((range1->type == XML_REGEXP_DECIMAL) &&
2157 else if ((range1->type == XML_REGEXP_REALCHAR) &&
2166 /* range1->type < range2->type here */
2167 switch (range1->type) {
2228 if (((range1->neg == 0) && (range2->neg != 0)) ||
2229 ((range1->neg != 0) && (range2->neg == 0)))