Lines Matching refs:type1
2223 * @type1: an atom type
2232 xmlFACompareAtomTypes(xmlRegAtomType type1, xmlRegAtomType type2) {
2233 if ((type1 == XML_REGEXP_EPSILON) ||
2234 (type1 == XML_REGEXP_CHARVAL) ||
2235 (type1 == XML_REGEXP_RANGES) ||
2236 (type1 == XML_REGEXP_SUBREG) ||
2237 (type1 == XML_REGEXP_STRING) ||
2238 (type1 == XML_REGEXP_ANYCHAR))
2248 if (type1 == type2) return(1);
2250 /* simplify subsequent compares by making sure type1 < type2 */
2251 if (type1 > type2) {
2252 xmlRegAtomType tmp = type1;
2253 type1 = type2;
2256 switch (type1) {