Home | History | Annotate | Download | only in libxml2

Lines Matching defs:ns2

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