Lines Matching defs:atom2
2425 * @atom2: an atom
2433 xmlFAEqualAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2) {
2436 if (atom1 == atom2)
2438 if ((atom1 == NULL) || (atom2 == NULL))
2441 if (atom1->type != atom2->type)
2449 (xmlChar *)atom2->valuep);
2452 ret = (atom1->codepoint == atom2->codepoint);
2466 * @atom2: an atom
2474 xmlFACompareAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2) {
2477 if (atom1 == atom2)
2479 if ((atom1 == NULL) || (atom2 == NULL))
2483 (atom2->type == XML_REGEXP_ANYCHAR))
2486 if (atom1->type > atom2->type) {
2489 atom1 = atom2;
2490 atom2 = tmp;
2492 if (atom1->type != atom2->type) {
2493 ret = xmlFACompareAtomTypes(atom1->type, atom2->type);
2501 (xmlChar *)atom2->valuep);
2506 if (atom2->type == XML_REGEXP_CHARVAL) {
2507 ret = (atom1->codepoint == atom2->codepoint);
2509 ret = xmlRegCheckCharacter(atom2, atom1->codepoint);
2515 if (atom2->type == XML_REGEXP_RANGES) {
2523 for (j = 0;j < atom2->nbRanges;j++) {
2525 r2 = atom2->ranges[j];
2540 if (atom1->neg != atom2->neg) {