Lines Matching refs:def2
3795 xmlRelaxNGDefinePtr def2) in xmlRelaxNGCompareNameClasses() argument
3808 if (def2->type == XML_RELAXNG_TEXT) in xmlRelaxNGCompareNameClasses()
3825 if (xmlRelaxNGElementMatch(&ctxt, def2, &node)) { in xmlRelaxNGCompareNameClasses()
3827 ret = xmlRelaxNGCompareNameClasses(def1->nameClass, def2); in xmlRelaxNGCompareNameClasses()
3835 if (def2->type == XML_RELAXNG_TEXT) in xmlRelaxNGCompareNameClasses()
3839 ret = xmlRelaxNGCompareNameClasses(def1->content, def2); in xmlRelaxNGCompareNameClasses()
3849 if ((def2->type == XML_RELAXNG_ELEMENT) || in xmlRelaxNGCompareNameClasses()
3850 (def2->type == XML_RELAXNG_ATTRIBUTE)) { in xmlRelaxNGCompareNameClasses()
3851 if (def2->name != NULL) { in xmlRelaxNGCompareNameClasses()
3852 node.name = def2->name; in xmlRelaxNGCompareNameClasses()
3857 if (def2->ns != NULL) { in xmlRelaxNGCompareNameClasses()
3858 if (def2->ns[0] == 0) { in xmlRelaxNGCompareNameClasses()
3861 ns.href = def2->ns; in xmlRelaxNGCompareNameClasses()
3867 if (def2->nameClass != NULL) { in xmlRelaxNGCompareNameClasses()
3868 ret = xmlRelaxNGCompareNameClasses(def2->nameClass, def1); in xmlRelaxNGCompareNameClasses()
3897 xmlRelaxNGDefinePtr * def2) in xmlRelaxNGCompareElemDefLists() argument
3899 xmlRelaxNGDefinePtr *basedef2 = def2; in xmlRelaxNGCompareElemDefLists()
3901 if ((def1 == NULL) || (def2 == NULL)) in xmlRelaxNGCompareElemDefLists()
3903 if ((*def1 == NULL) || (*def2 == NULL)) in xmlRelaxNGCompareElemDefLists()
3906 while ((*def2) != NULL) { in xmlRelaxNGCompareElemDefLists()
3907 if (xmlRelaxNGCompareNameClasses(*def1, *def2) == 0) in xmlRelaxNGCompareElemDefLists()
3909 def2++; in xmlRelaxNGCompareElemDefLists()
3911 def2 = basedef2; in xmlRelaxNGCompareElemDefLists()