Lines Matching defs:attr1
874 * @attr1: the pointer tls o first attr
879 * Returns -1 if attr1 < attr2, 0 if attr1 == attr2 or 1 if attr1 > attr2.
882 xmlC14NAttrsCompare(xmlAttrPtr attr1, xmlAttrPtr attr2)
889 if (attr1 == attr2)
891 if (attr1 == NULL)
895 if (attr1->ns == attr2->ns) {
896 return (xmlStrcmp(attr1->name, attr2->name));
904 if (attr1->ns == NULL)
908 if (attr1->ns->prefix == NULL)
913 ret = xmlStrcmp(attr1->ns->href, attr2->ns->href);
915 ret = xmlStrcmp(attr1->name, attr2->name);