Searched refs:nsMax (Results 1 – 7 of 7) sorted by relevance
48 int nsMax; /* size of the array as allocated */ member302 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()306 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy()332 cur->nsMax = XML_NAMESPACES_DEFAULT; in xmlC14NVisibleNsStackAdd()333 } else if(cur->nsMax == cur->nsCurEnd) { in xmlC14NVisibleNsStackAdd()337 tmpSize = 2 * cur->nsMax; in xmlC14NVisibleNsStackAdd()352 cur->nsMax = tmpSize; in xmlC14NVisibleNsStackAdd()
1654 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()1655 ctxt->nsMax = 10; in nsPush()1658 xmlMalloc(ctxt->nsMax * sizeof(xmlChar *)); in nsPush()1661 ctxt->nsMax = 0; in nsPush()1664 } else if (ctxt->nsNr >= ctxt->nsMax) { in nsPush()1666 ctxt->nsMax *= 2; in nsPush()1668 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()1671 ctxt->nsMax /= 2; in nsPush()
78 int nsMax; /* size of the array as allocated */ member332 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()336 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy()362 cur->nsMax = XML_NAMESPACES_DEFAULT; in xmlC14NVisibleNsStackAdd()363 } else if(cur->nsMax == cur->nsCurEnd) { in xmlC14NVisibleNsStackAdd()367 tmpSize = 2 * cur->nsMax; in xmlC14NVisibleNsStackAdd()382 cur->nsMax = tmpSize; in xmlC14NVisibleNsStackAdd()
309 int nsMax; /* the size of the arrays */ member
1638 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()1639 ctxt->nsMax = 10; in nsPush()1642 xmlMalloc(ctxt->nsMax * sizeof(xmlChar *)); in nsPush()1645 ctxt->nsMax = 0; in nsPush()1648 } else if (ctxt->nsNr >= ctxt->nsMax) { in nsPush()1650 ctxt->nsMax *= 2; in nsPush()1652 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()1655 ctxt->nsMax /= 2; in nsPush()
282 int nsMax; /* the size of the arrays */ member
296 d nsMax like(xmlCint) Array size