Searched refs:nsTab (Results 1 – 5 of 5) sorted by relevance
49 xmlNsPtr *nsTab; /* array of ns in no particular order */ member300 if(cur->nsTab != NULL) { in xmlC14NVisibleNsStackDestroy()301 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()302 xmlFree(cur->nsTab); in xmlC14NVisibleNsStackDestroy()316 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()317 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()322 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()323 cur->nsTab = (xmlNsPtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()325 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()329 memset(cur->nsTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()[all …]
1588 if (ctxt->nsTab[i] == prefix) { in nsPush()1590 if (ctxt->nsTab[i + 1] == URL) in nsPush()1597 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()1600 ctxt->nsTab = (const xmlChar **) in nsPush()1602 if (ctxt->nsTab == NULL) { in nsPush()1610 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()1611 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()1617 ctxt->nsTab = tmp; in nsPush()1619 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()1620 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()[all …]
1790 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
281 const xmlChar * *nsTab; /* the array of prefix/namespace name */ member
295 d nsTab * const xmlChar *