Home | History | Annotate | Download | only in libxml2

Lines Matching refs:ns2

3459 		xmlNsPtr ns1, ns2;
3462 ns2 = (xmlNsPtr) cur->nodeTab[i];
3463 if (ns1 == ns2)
3465 if ((ns1->next != NULL) && (ns2->next == ns1->next) &&
3466 (xmlStrEqual(ns1->prefix, ns2->prefix)))
6475 xmlNodeSetPtr ns2;
6490 ns2 = arg2->nodesetval;
6497 if ((ns2 == NULL) || (ns2->nodeNr <= 0)) {
6503 values2 = (double *) xmlMalloc(ns2->nodeNr * sizeof(double));
6514 for (j = 0;j < ns2->nodeNr;j++) {
6516 values2[j] = xmlXPathCastNodeToNumber(ns2->nodeTab[j]);
6731 xmlNodeSetPtr ns2;
6741 ns2 = arg2->nodesetval;
6745 if ((ns2 == NULL) || (ns2->nodeNr <= 0))
6753 for (j = 0;j < ns2->nodeNr;j++)
6754 if (ns1->nodeTab[i] == ns2->nodeTab[j])
6769 values2 = (xmlChar **) xmlMalloc(ns2->nodeNr * sizeof(xmlChar *));
6776 hashs2 = (unsigned int *) xmlMalloc(ns2->nodeNr * sizeof(unsigned int));
6784 memset(values2, 0, ns2->nodeNr * sizeof(xmlChar *));
6787 for (j = 0;j < ns2->nodeNr;j++) {
6789 hashs2[j] = xmlXPathNodeValHash(ns2->nodeTab[j]);
6800 values2[j] = xmlNodeGetContent(ns2->nodeTab[j]);
6812 for (j = 0;j < ns2->nodeNr;j++)