Lines Matching refs:type1
2072 * @type1: an atom type
2081 xmlFACompareAtomTypes(xmlRegAtomType type1, xmlRegAtomType type2) {
2082 if ((type1 == XML_REGEXP_EPSILON) ||
2083 (type1 == XML_REGEXP_CHARVAL) ||
2084 (type1 == XML_REGEXP_RANGES) ||
2085 (type1 == XML_REGEXP_SUBREG) ||
2086 (type1 == XML_REGEXP_STRING) ||
2087 (type1 == XML_REGEXP_ANYCHAR))
2097 if (type1 == type2) return(1);
2099 /* simplify subsequent compares by making sure type1 < type2 */
2100 if (type1 > type2) {
2101 xmlRegAtomType tmp = type1;
2102 type1 = type2;
2105 switch (type1) {