Searched refs:nsTab (Results 1 – 5 of 5) sorted by relevance
49 xmlNsPtr *nsTab; /* array of ns in no particular order */ member301 if(cur->nsTab != NULL) { in xmlC14NVisibleNsStackDestroy()302 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()303 xmlFree(cur->nsTab); in xmlC14NVisibleNsStackDestroy()317 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()318 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()323 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()324 cur->nsTab = (xmlNsPtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()326 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()330 memset(cur->nsTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()[all …]
1600 if (ctxt->nsTab[i] == prefix) { in nsPush()1602 if (ctxt->nsTab[i + 1] == URL) in nsPush()1609 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()1612 ctxt->nsTab = (const xmlChar **) in nsPush()1614 if (ctxt->nsTab == NULL) { in nsPush()1622 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()1623 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()1629 ctxt->nsTab = tmp; in nsPush()1631 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()1632 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()[all …]
1794 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
281 const xmlChar * *nsTab; /* the array of prefix/namespace name */ member
297 d nsTab * const xmlChar *