Lines Matching refs:values2
6613 double *values2; in xmlXPathCompareNodeSets() local
6644 values2 = (double *) xmlMalloc(ns2->nodeNr * sizeof(double)); in xmlXPathCompareNodeSets()
6645 if (values2 == NULL) { in xmlXPathCompareNodeSets()
6657 values2[j] = xmlXPathCastNodeToNumber(ns2->nodeTab[j]); in xmlXPathCompareNodeSets()
6659 if (xmlXPathIsNaN(values2[j])) in xmlXPathCompareNodeSets()
6662 ret = (val1 < values2[j]); in xmlXPathCompareNodeSets()
6664 ret = (val1 <= values2[j]); in xmlXPathCompareNodeSets()
6666 ret = (val1 > values2[j]); in xmlXPathCompareNodeSets()
6668 ret = (val1 >= values2[j]); in xmlXPathCompareNodeSets()
6676 xmlFree(values2); in xmlXPathCompareNodeSets()
6875 xmlChar **values2; in xmlXPathEqualNodeSets() local
6916 values2 = (xmlChar **) xmlMalloc(ns2->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets()
6917 if (values2 == NULL) { in xmlXPathEqualNodeSets()
6928 xmlFree(values2); in xmlXPathEqualNodeSets()
6931 memset(values2, 0, ns2->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets()
6946 if (values2[j] == NULL) in xmlXPathEqualNodeSets()
6947 values2[j] = xmlNodeGetContent(ns2->nodeTab[j]); in xmlXPathEqualNodeSets()
6948 ret = xmlStrEqual(values1[i], values2[j]) ^ neq; in xmlXPathEqualNodeSets()
6960 if (values2[j] != NULL) in xmlXPathEqualNodeSets()
6961 xmlFree(values2[j]); in xmlXPathEqualNodeSets()
6963 xmlFree(values2); in xmlXPathEqualNodeSets()