Lines Matching refs:atom1
2446 * @atom1: an atom
2456 xmlFAEqualAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2, int deep) {
2459 if (atom1 == atom2)
2461 if ((atom1 == NULL) || (atom2 == NULL))
2464 if (atom1->type != atom2->type)
2466 switch (atom1->type) {
2472 ret = (atom1->valuep == atom2->valuep);
2474 ret = xmlStrEqual((xmlChar *)atom1->valuep,
2478 ret = (atom1->codepoint == atom2->codepoint);
2491 * @atom1: an atom
2501 xmlFACompareAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2, int deep) {
2504 if (atom1 == atom2)
2506 if ((atom1 == NULL) || (atom2 == NULL))
2509 if ((atom1->type == XML_REGEXP_ANYCHAR) ||
2513 if (atom1->type > atom2->type) {
2515 tmp = atom1;
2516 atom1 = atom2;
2519 if (atom1->type != atom2->type) {
2520 ret = xmlFACompareAtomTypes(atom1->type, atom2->type);
2525 switch (atom1->type) {
2528 ret = (atom1->valuep != atom2->valuep);
2530 ret = xmlRegStrEqualWildcard((xmlChar *)atom1->valuep,
2537 ret = (atom1->codepoint == atom2->codepoint);
2539 ret = xmlRegCheckCharacter(atom2, atom1->codepoint);
2552 for (i = 0;i < atom1->nbRanges;i++) {
2554 r1 = atom1->ranges[i];
2570 if (atom1->neg != atom2->neg) {