Lines Matching refs:atom2
2456 xmlFAEqualAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2, int deep) { in xmlFAEqualAtoms() argument
2459 if (atom1 == atom2) in xmlFAEqualAtoms()
2461 if ((atom1 == NULL) || (atom2 == NULL)) in xmlFAEqualAtoms()
2464 if (atom1->type != atom2->type) in xmlFAEqualAtoms()
2472 ret = (atom1->valuep == atom2->valuep); in xmlFAEqualAtoms()
2475 (xmlChar *)atom2->valuep); in xmlFAEqualAtoms()
2478 ret = (atom1->codepoint == atom2->codepoint); in xmlFAEqualAtoms()
2501 xmlFACompareAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2, int deep) { in xmlFACompareAtoms() argument
2504 if (atom1 == atom2) in xmlFACompareAtoms()
2506 if ((atom1 == NULL) || (atom2 == NULL)) in xmlFACompareAtoms()
2510 (atom2->type == XML_REGEXP_ANYCHAR)) in xmlFACompareAtoms()
2513 if (atom1->type > atom2->type) { in xmlFACompareAtoms()
2516 atom1 = atom2; in xmlFACompareAtoms()
2517 atom2 = tmp; in xmlFACompareAtoms()
2519 if (atom1->type != atom2->type) { in xmlFACompareAtoms()
2520 ret = xmlFACompareAtomTypes(atom1->type, atom2->type); in xmlFACompareAtoms()
2528 ret = (atom1->valuep != atom2->valuep); in xmlFACompareAtoms()
2531 (xmlChar *)atom2->valuep); in xmlFACompareAtoms()
2536 if (atom2->type == XML_REGEXP_CHARVAL) { in xmlFACompareAtoms()
2537 ret = (atom1->codepoint == atom2->codepoint); in xmlFACompareAtoms()
2539 ret = xmlRegCheckCharacter(atom2, atom1->codepoint); in xmlFACompareAtoms()
2545 if (atom2->type == XML_REGEXP_RANGES) { in xmlFACompareAtoms()
2553 for (j = 0;j < atom2->nbRanges;j++) { in xmlFACompareAtoms()
2555 r2 = atom2->ranges[j]; in xmlFACompareAtoms()
2570 if (atom1->neg != atom2->neg) { in xmlFACompareAtoms()