Lines Matching refs:locTab
618 ret->locTab = (xmlXPathObjectPtr *) xmlMalloc(XML_RANGESET_DEFAULT * in xmlXPtrLocationSetCreate()
620 if (ret->locTab == NULL) { in xmlXPtrLocationSetCreate()
625 memset(ret->locTab, 0 , in xmlXPtrLocationSetCreate()
628 ret->locTab[ret->locNr++] = val; in xmlXPtrLocationSetCreate()
651 if (xmlXPtrRangesEqual(cur->locTab[i], val)) { in xmlXPtrLocationSetAdd()
661 cur->locTab = (xmlXPathObjectPtr *) xmlMalloc(XML_RANGESET_DEFAULT * in xmlXPtrLocationSetAdd()
663 if (cur->locTab == NULL) { in xmlXPtrLocationSetAdd()
667 memset(cur->locTab, 0 , in xmlXPtrLocationSetAdd()
674 temp = (xmlXPathObjectPtr *) xmlRealloc(cur->locTab, cur->locMax * in xmlXPtrLocationSetAdd()
680 cur->locTab = temp; in xmlXPtrLocationSetAdd()
682 cur->locTab[cur->locNr++] = val; in xmlXPtrLocationSetAdd()
707 xmlXPtrLocationSetAdd(val1, val2->locTab[i]); in xmlXPtrLocationSetMerge()
730 if (cur->locTab[i] == val) break; in xmlXPtrLocationSetDel()
741 cur->locTab[i] = cur->locTab[i + 1]; in xmlXPtrLocationSetDel()
742 cur->locTab[cur->locNr] = NULL; in xmlXPtrLocationSetDel()
758 cur->locTab[val] = cur->locTab[val + 1]; in xmlXPtrLocationSetRemove()
759 cur->locTab[cur->locNr] = NULL; in xmlXPtrLocationSetRemove()
773 if (obj->locTab != NULL) { in xmlXPtrFreeLocationSet()
775 xmlXPathFreeObject(obj->locTab[i]); in xmlXPtrFreeLocationSet()
777 xmlFree(obj->locTab); in xmlXPtrFreeLocationSet()
1666 list = last = xmlXPtrBuildNodeList(set->locTab[i]); in xmlXPtrBuildNodeList()
1669 xmlXPtrBuildNodeList(set->locTab[i])); in xmlXPtrBuildNodeList()
1827 tmp = oldset->locTab[i]; in xmlXPtrStartPointFunction()
1923 tmp = oldset->locTab[i]; in xmlXPtrEndPointFunction()
2078 xmlXPtrCoveringRange(ctxt, oldset->locTab[i])); in xmlXPtrRangeFunction()
2230 xmlXPtrInsideRange(ctxt, oldset->locTab[i])); in xmlXPtrRangeInsideFunction()
2848 xmlXPathDebugDumpObject(stdout, oldset->locTab[i], 0); in xmlXPtrStringRangeFunction()
2851 xmlXPtrGetStartPoint(oldset->locTab[i], &start, &startindex); in xmlXPtrStringRangeFunction()
2852 xmlXPtrGetEndPoint(oldset->locTab[i], &end, &endindex); in xmlXPtrStringRangeFunction()
2979 ctxt->context->node = oldset->locTab[i]->user; in xmlXPtrEvalRangePredicate()
2995 xmlXPathObjectCopy(oldset->locTab[i])); in xmlXPtrEvalRangePredicate()