Lines Matching refs:nodeMax
2396 if ((ret->nodesetval->nodeMax == 0) || in xmlXPathCacheNewNodeSet()
3546 ret->nodeMax = XML_NODESET_DEFAULT; in xmlXPathNodeSetCreate()
3585 ret->nodeMax = size; in xmlXPathNodeSetCreateSize()
3661 if (cur->nodeMax == 0) { in xmlXPathNodeSetAddNs()
3670 cur->nodeMax = XML_NODESET_DEFAULT; in xmlXPathNodeSetAddNs()
3671 } else if (cur->nodeNr == cur->nodeMax) { in xmlXPathNodeSetAddNs()
3674 if (cur->nodeMax >= XPATH_MAX_NODESET_LENGTH) { in xmlXPathNodeSetAddNs()
3678 temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 * in xmlXPathNodeSetAddNs()
3684 cur->nodeMax *= 2; in xmlXPathNodeSetAddNs()
3716 if (cur->nodeMax == 0) { in xmlXPathNodeSetAdd()
3725 cur->nodeMax = XML_NODESET_DEFAULT; in xmlXPathNodeSetAdd()
3726 } else if (cur->nodeNr == cur->nodeMax) { in xmlXPathNodeSetAdd()
3729 if (cur->nodeMax >= XPATH_MAX_NODESET_LENGTH) { in xmlXPathNodeSetAdd()
3733 temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 * in xmlXPathNodeSetAdd()
3739 cur->nodeMax *= 2; in xmlXPathNodeSetAdd()
3770 if (cur->nodeMax == 0) { in xmlXPathNodeSetAddUnique()
3779 cur->nodeMax = XML_NODESET_DEFAULT; in xmlXPathNodeSetAddUnique()
3780 } else if (cur->nodeNr == cur->nodeMax) { in xmlXPathNodeSetAddUnique()
3783 if (cur->nodeMax >= XPATH_MAX_NODESET_LENGTH) { in xmlXPathNodeSetAddUnique()
3787 temp = (xmlNodePtr *) xmlRealloc(cur->nodeTab, cur->nodeMax * 2 * in xmlXPathNodeSetAddUnique()
3794 cur->nodeMax *= 2; in xmlXPathNodeSetAddUnique()
3886 if (val1->nodeMax == 0) { in xmlXPathNodeSetMerge()
3895 val1->nodeMax = XML_NODESET_DEFAULT; in xmlXPathNodeSetMerge()
3896 } else if (val1->nodeNr == val1->nodeMax) { in xmlXPathNodeSetMerge()
3899 if (val1->nodeMax >= XPATH_MAX_NODESET_LENGTH) { in xmlXPathNodeSetMerge()
3903 temp = (xmlNodePtr *) xmlRealloc(val1->nodeTab, val1->nodeMax * 2 * in xmlXPathNodeSetMerge()
3910 val1->nodeMax *= 2; in xmlXPathNodeSetMerge()
3997 if (set1->nodeMax == 0) { in xmlXPathNodeSetMergeAndClear()
4006 set1->nodeMax = XML_NODESET_DEFAULT; in xmlXPathNodeSetMergeAndClear()
4007 } else if (set1->nodeNr >= set1->nodeMax) { in xmlXPathNodeSetMergeAndClear()
4010 if (set1->nodeMax >= XPATH_MAX_NODESET_LENGTH) { in xmlXPathNodeSetMergeAndClear()
4015 set1->nodeTab, set1->nodeMax * 2 * sizeof(xmlNodePtr)); in xmlXPathNodeSetMergeAndClear()
4021 set1->nodeMax *= 2; in xmlXPathNodeSetMergeAndClear()
4079 if (set1->nodeMax == 0) { in xmlXPathNodeSetMergeAndClearNoDupls()
4088 set1->nodeMax = XML_NODESET_DEFAULT; in xmlXPathNodeSetMergeAndClearNoDupls()
4089 } else if (set1->nodeNr >= set1->nodeMax) { in xmlXPathNodeSetMergeAndClearNoDupls()
4092 if (set1->nodeMax >= XPATH_MAX_NODESET_LENGTH) { in xmlXPathNodeSetMergeAndClearNoDupls()
4097 set1->nodeTab, set1->nodeMax * 2 * sizeof(xmlNodePtr)); in xmlXPathNodeSetMergeAndClearNoDupls()
4103 set1->nodeMax *= 2; in xmlXPathNodeSetMergeAndClearNoDupls()
5565 } else if ((obj->nodesetval->nodeMax <= 40) && in xmlXPathReleaseObject()