Lines Matching refs:atom1
2447 xmlFAEqualAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2, int deep) { in xmlFAEqualAtoms() argument
2450 if (atom1 == atom2) in xmlFAEqualAtoms()
2452 if ((atom1 == NULL) || (atom2 == NULL)) in xmlFAEqualAtoms()
2455 if (atom1->type != atom2->type) in xmlFAEqualAtoms()
2457 switch (atom1->type) { in xmlFAEqualAtoms()
2463 ret = (atom1->valuep == atom2->valuep); in xmlFAEqualAtoms()
2465 ret = xmlStrEqual((xmlChar *)atom1->valuep, in xmlFAEqualAtoms()
2469 ret = (atom1->codepoint == atom2->codepoint); in xmlFAEqualAtoms()
2492 xmlFACompareAtoms(xmlRegAtomPtr atom1, xmlRegAtomPtr atom2, int deep) { in xmlFACompareAtoms() argument
2495 if (atom1 == atom2) in xmlFACompareAtoms()
2497 if ((atom1 == NULL) || (atom2 == NULL)) in xmlFACompareAtoms()
2500 if ((atom1->type == XML_REGEXP_ANYCHAR) || in xmlFACompareAtoms()
2504 if (atom1->type > atom2->type) { in xmlFACompareAtoms()
2506 tmp = atom1; in xmlFACompareAtoms()
2507 atom1 = atom2; in xmlFACompareAtoms()
2510 if (atom1->type != atom2->type) { in xmlFACompareAtoms()
2511 ret = xmlFACompareAtomTypes(atom1->type, atom2->type); in xmlFACompareAtoms()
2516 switch (atom1->type) { in xmlFACompareAtoms()
2519 ret = (atom1->valuep != atom2->valuep); in xmlFACompareAtoms()
2521 ret = xmlRegStrEqualWildcard((xmlChar *)atom1->valuep, in xmlFACompareAtoms()
2528 ret = (atom1->codepoint == atom2->codepoint); in xmlFACompareAtoms()
2530 ret = xmlRegCheckCharacter(atom2, atom1->codepoint); in xmlFACompareAtoms()
2543 for (i = 0;i < atom1->nbRanges;i++) { in xmlFACompareAtoms()
2545 r1 = atom1->ranges[i]; in xmlFACompareAtoms()
2561 if (atom1->neg != atom2->neg) { in xmlFACompareAtoms()