Searched refs:nsTab (Results 1 – 5 of 5) sorted by relevance
47 xmlNsPtr *nsTab; /* array of ns in no particular order */ member298 if(cur->nsTab != NULL) { in xmlC14NVisibleNsStackDestroy()299 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()300 xmlFree(cur->nsTab); in xmlC14NVisibleNsStackDestroy()314 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()315 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()320 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()321 cur->nsTab = (xmlNsPtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()323 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()327 memset(cur->nsTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()[all …]
1521 if (ctxt->nsTab[i] == prefix) { in nsPush()1523 if (ctxt->nsTab[i + 1] == URL) in nsPush()1530 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()1533 ctxt->nsTab = (const xmlChar **) in nsPush()1535 if (ctxt->nsTab == NULL) { in nsPush()1543 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()1544 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()1550 ctxt->nsTab = tmp; in nsPush()1552 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()1553 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()[all …]
1802 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
466 const xmlChar * *nsTab; /* the array of prefix/namespace name */529 return(ctxt->nsTab[i + 1]);
281 const xmlChar * *nsTab; /* the array of prefix/namespace name */ member