Lines Matching refs:nsTab
49 xmlNsPtr *nsTab; /* array of ns in no particular order */ member
300 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()
337 tmp = xmlRealloc(cur->nsTab, tmpSize * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()
342 cur->nsTab = (xmlNsPtr*)tmp; in xmlC14NVisibleNsStackAdd()
353 cur->nsTab[cur->nsCurEnd] = ns; in xmlC14NVisibleNsStackAdd()
433 if (cur->nsTab != NULL) { in xmlC14NVisibleNsStackFind()
436 xmlNsPtr ns1 = cur->nsTab[i]; in xmlC14NVisibleNsStackFind()
466 if (cur->nsTab != NULL) { in xmlExcC14NVisibleNsStackFind()
469 xmlNsPtr ns1 = cur->nsTab[i]; in xmlExcC14NVisibleNsStackFind()