Searched refs:nsTab (Results 1 – 8 of 8) sorted by relevance
47 xmlNsPtr *nsTab; /* array of ns in no particular order */ member299 if(cur->nsTab != NULL) { in xmlC14NVisibleNsStackDestroy()300 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()301 xmlFree(cur->nsTab); in xmlC14NVisibleNsStackDestroy()315 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()316 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()321 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()322 cur->nsTab = (xmlNsPtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()324 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()328 memset(cur->nsTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()[all …]
1598 if (ctxt->nsTab[i] == prefix) { in nsPush()1600 if (ctxt->nsTab[i + 1] == URL) in nsPush()1607 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()1610 ctxt->nsTab = (const xmlChar **) in nsPush()1612 if (ctxt->nsTab == NULL) { in nsPush()1620 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()1621 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()1627 ctxt->nsTab = tmp; in nsPush()1629 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()1630 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()[all …]
1833 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
1596 if (ctxt->nsTab[i] == prefix) { in nsPush()1598 if (ctxt->nsTab[i + 1] == URL) in nsPush()1605 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()1608 ctxt->nsTab = (const xmlChar **) in nsPush()1610 if (ctxt->nsTab == NULL) { in nsPush()1618 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()1619 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()1625 ctxt->nsTab = tmp; in nsPush()1627 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()1628 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()[all …]
1818 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
278 const xmlChar * *nsTab; /* the array of prefix/namespace name */ member
297 d nsTab * const xmlChar *