Lines Matching refs:ns2
3607 xmlNsPtr ns1, ns2; in xmlXPathNodeSetContains() local
3610 ns2 = (xmlNsPtr) cur->nodeTab[i]; in xmlXPathNodeSetContains()
3611 if (ns1 == ns2) in xmlXPathNodeSetContains()
3613 if ((ns1->next != NULL) && (ns2->next == ns1->next) && in xmlXPathNodeSetContains()
3614 (xmlStrEqual(ns1->prefix, ns2->prefix))) in xmlXPathNodeSetContains()
6597 xmlNodeSetPtr ns2; in xmlXPathCompareNodeSets() local
6612 ns2 = arg2->nodesetval; in xmlXPathCompareNodeSets()
6619 if ((ns2 == NULL) || (ns2->nodeNr <= 0)) { in xmlXPathCompareNodeSets()
6625 values2 = (double *) xmlMalloc(ns2->nodeNr * sizeof(double)); in xmlXPathCompareNodeSets()
6636 for (j = 0;j < ns2->nodeNr;j++) { in xmlXPathCompareNodeSets()
6638 values2[j] = xmlXPathCastNodeToNumber(ns2->nodeTab[j]); in xmlXPathCompareNodeSets()
6853 xmlNodeSetPtr ns2; in xmlXPathEqualNodeSets() local
6863 ns2 = arg2->nodesetval; in xmlXPathEqualNodeSets()
6867 if ((ns2 == NULL) || (ns2->nodeNr <= 0)) in xmlXPathEqualNodeSets()
6875 for (j = 0;j < ns2->nodeNr;j++) in xmlXPathEqualNodeSets()
6876 if (ns1->nodeTab[i] == ns2->nodeTab[j]) in xmlXPathEqualNodeSets()
6891 values2 = (xmlChar **) xmlMalloc(ns2->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets()
6898 hashs2 = (unsigned int *) xmlMalloc(ns2->nodeNr * sizeof(unsigned int)); in xmlXPathEqualNodeSets()
6906 memset(values2, 0, ns2->nodeNr * sizeof(xmlChar *)); in xmlXPathEqualNodeSets()
6909 for (j = 0;j < ns2->nodeNr;j++) { in xmlXPathEqualNodeSets()
6911 hashs2[j] = xmlXPathNodeValHash(ns2->nodeTab[j]); in xmlXPathEqualNodeSets()
6922 values2[j] = xmlNodeGetContent(ns2->nodeTab[j]); in xmlXPathEqualNodeSets()
6934 for (j = 0;j < ns2->nodeNr;j++) in xmlXPathEqualNodeSets()