Lines Matching refs:nodeTab
50 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member
305 if(cur->nodeTab != NULL) { in xmlC14NVisibleNsStackDestroy()
306 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy()
307 xmlFree(cur->nodeTab); 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()
325 cur->nodeTab = (xmlNodePtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd()
326 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
331 memset(cur->nodeTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd()
345 tmp = xmlRealloc(cur->nodeTab, tmpSize * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd()
350 cur->nodeTab = (xmlNodePtr*)tmp; in xmlC14NVisibleNsStackAdd()
355 cur->nodeTab[cur->nsCurEnd] = node; in xmlC14NVisibleNsStackAdd()
474 return(xmlC14NIsVisible(ctx, ns1, cur->nodeTab[i])); in xmlExcC14NVisibleNsStackFind()