Lines Matching refs:nsTab
47 xmlNsPtr *nsTab; /* array of ns in no particular order */
293 if(cur->nsTab != NULL) {
294 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr));
295 xmlFree(cur->nsTab);
309 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) ||
310 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) {
315 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) {
316 cur->nsTab = (xmlNsPtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr));
318 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) {
322 memset(cur->nsTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr));
330 tmp = xmlRealloc(cur->nsTab, tmpSize * sizeof(xmlNsPtr));
335 cur->nsTab = (xmlNsPtr*)tmp;
346 cur->nsTab[cur->nsCurEnd] = ns;
426 if (cur->nsTab != NULL) {
429 xmlNsPtr ns1 = cur->nsTab[i];
459 if (cur->nsTab != NULL) {
462 xmlNsPtr ns1 = cur->nsTab[i];