• Home
  • Raw
  • Download

Lines Matching refs:nodesetval

1422 	    xmlXPathDebugDumpNodeSet(output, cur->nodesetval, depth);  in xmlXPathDebugDumpObject()
1426 xmlXPathDebugDumpValueTree(output, cur->nodesetval, depth); in xmlXPathDebugDumpObject()
2227 if (obj->nodesetval != NULL) { in xmlXPathCacheFreeObjectList()
2228 if (obj->nodesetval->nodeTab != NULL) in xmlXPathCacheFreeObjectList()
2229 xmlFree(obj->nodesetval->nodeTab); in xmlXPathCacheFreeObjectList()
2230 xmlFree(obj->nodesetval); in xmlXPathCacheFreeObjectList()
2338 ret->nodesetval = val; in xmlXPathCacheWrapNodeSet()
2430 if ((ret->nodesetval->nodeMax == 0) || in xmlXPathCacheNewNodeSet()
2434 xmlXPathNodeSetAddUnique(ret->nodesetval, val); in xmlXPathCacheNewNodeSet()
2436 ret->nodesetval->nodeTab[0] = val; in xmlXPathCacheNewNodeSet()
2437 ret->nodesetval->nodeNr = 1; in xmlXPathCacheNewNodeSet()
2457 ret->nodesetval = xmlXPathNodeSetCreate(val); in xmlXPathCacheNewNodeSet()
2458 if (ret->nodesetval == NULL) { in xmlXPathCacheNewNodeSet()
2698 res = xmlXPathCastNodeSetToString(val->nodesetval); in xmlXPathCacheConvertString()
2741 xmlXPathNodeSetMerge(NULL, val->nodesetval))); in xmlXPathCacheObjectCopy()
3024 ret = obj->nodesetval; in xmlXPathPopNodeSet()
3030 obj->nodesetval = NULL; in xmlXPathPopNodeSet()
4312 ret->nodesetval = xmlXPathNodeSetCreate(val); in xmlXPathNewNodeSet()
4342 ret->nodesetval = xmlXPathNodeSetCreate(val); in xmlXPathNewValueTree()
4373 if (xmlXPathNodeSetAddUnique(ret->nodesetval, val->nodeTab[i]) in xmlXPathNewNodeSetList()
4401 ret->nodesetval = val; in xmlXPathWrapNodeSet()
5403 if ((val->nodesetval != NULL) && in xmlXPathObjectCopy()
5404 (val->nodesetval->nodeTab != NULL)) { in xmlXPathObjectCopy()
5411 xmlStrdup(val->nodesetval->nodeTab[0]->name); in xmlXPathObjectCopy()
5415 cur = val->nodesetval->nodeTab[0]->children; in xmlXPathObjectCopy()
5423 ret->nodesetval = xmlXPathNodeSetCreate((xmlNodePtr) top); in xmlXPathObjectCopy()
5425 ret->nodesetval = xmlXPathNodeSetCreate(NULL); in xmlXPathObjectCopy()
5431 ret->nodesetval = xmlXPathNodeSetMerge(NULL, val->nodesetval); in xmlXPathObjectCopy()
5468 xmlXPathFreeNodeSet(obj->nodesetval); in xmlXPathFreeObject()
5473 if (obj->nodesetval != NULL) in xmlXPathFreeObject()
5474 xmlXPathFreeValueTree(obj->nodesetval); in xmlXPathFreeObject()
5476 if (obj->nodesetval != NULL) in xmlXPathFreeObject()
5477 xmlXPathFreeNodeSet(obj->nodesetval); in xmlXPathFreeObject()
5526 if (obj->nodesetval != NULL) { in xmlXPathReleaseObject()
5534 xmlXPathFreeValueTree(obj->nodesetval); in xmlXPathReleaseObject()
5535 obj->nodesetval = NULL; in xmlXPathReleaseObject()
5536 } else if ((obj->nodesetval->nodeMax <= 40) && in xmlXPathReleaseObject()
5543 xmlXPathFreeNodeSet(obj->nodesetval); in xmlXPathReleaseObject()
5544 obj->nodesetval = NULL; in xmlXPathReleaseObject()
5594 if (obj->nodesetval != NULL) { in xmlXPathReleaseObject()
5595 xmlNodeSetPtr tmpset = obj->nodesetval; in xmlXPathReleaseObject()
5622 obj->nodesetval = tmpset; in xmlXPathReleaseObject()
5632 if (obj->nodesetval != NULL) in xmlXPathReleaseObject()
5633 xmlXPathFreeNodeSet(obj->nodesetval); in xmlXPathReleaseObject()
5760 ret = xmlXPathCastNodeSetToString(val->nodesetval); in xmlXPathCastToString()
5806 res = xmlXPathCastNodeSetToString(val->nodesetval); in xmlXPathConvertString()
5925 ret = xmlXPathCastNodeSetToNumber(val->nodesetval); in xmlXPathCastToNumber()
6037 ret = xmlXPathCastNodeSetToBoolean(val->nodesetval); in xmlXPathCastToBoolean()
6476 ns = arg->nodesetval; in xmlXPathCompareNodeSetFloat()
6531 ns = arg->nodesetval; in xmlXPathCompareNodeSetString()
6601 ns1 = arg1->nodesetval; in xmlXPathCompareNodeSets()
6602 ns2 = arg2->nodesetval; in xmlXPathCompareNodeSets()
6732 ns = arg->nodesetval; in xmlXPathEqualNodeSetString()
6793 ns = arg->nodesetval; in xmlXPathEqualNodeSetFloat()
6859 ns1 = arg1->nodesetval; in xmlXPathEqualNodeSets()
6860 ns2 = arg2->nodesetval; in xmlXPathEqualNodeSets()
7189 if ((arg1->nodesetval == NULL) || in xmlXPathEqualValues()
7190 (arg1->nodesetval->nodeNr == 0)) ret = 0; in xmlXPathEqualValues()
7274 if ((arg1->nodesetval == NULL) || in xmlXPathNotEqualValues()
7275 (arg1->nodesetval->nodeNr == 0)) ret = 0; in xmlXPathNotEqualValues()
8540 if ((cur == NULL) || (cur->nodesetval == NULL)) in xmlXPathCountFunction()
8544 (double) cur->nodesetval->nodeNr)); in xmlXPathCountFunction()
8640 if (obj->nodesetval != NULL) { in xmlXPathIdFunction()
8641 for (i = 0; i < obj->nodesetval->nodeNr; i++) { in xmlXPathIdFunction()
8643 xmlXPathCastNodeToString(obj->nodesetval->nodeTab[i]); in xmlXPathIdFunction()
8696 if ((cur->nodesetval == NULL) || (cur->nodesetval->nodeNr == 0)) { in xmlXPathLocalNameFunction()
8700 switch (cur->nodesetval->nodeTab[i]->type) { in xmlXPathLocalNameFunction()
8704 if (cur->nodesetval->nodeTab[i]->name[0] == ' ') in xmlXPathLocalNameFunction()
8709 cur->nodesetval->nodeTab[i]->name)); in xmlXPathLocalNameFunction()
8713 ((xmlNsPtr)cur->nodesetval->nodeTab[i])->prefix)); in xmlXPathLocalNameFunction()
8754 if ((cur->nodesetval == NULL) || (cur->nodesetval->nodeNr == 0)) { in xmlXPathNamespaceURIFunction()
8758 switch (cur->nodesetval->nodeTab[i]->type) { in xmlXPathNamespaceURIFunction()
8761 if (cur->nodesetval->nodeTab[i]->ns == NULL) in xmlXPathNamespaceURIFunction()
8765 cur->nodesetval->nodeTab[i]->ns->href)); in xmlXPathNamespaceURIFunction()
8814 if ((cur->nodesetval == NULL) || (cur->nodesetval->nodeNr == 0)) { in xmlXPathNameFunction()
8819 switch (cur->nodesetval->nodeTab[i]->type) { in xmlXPathNameFunction()
8822 if (cur->nodesetval->nodeTab[i]->name[0] == ' ') in xmlXPathNameFunction()
8825 else if ((cur->nodesetval->nodeTab[i]->ns == NULL) || in xmlXPathNameFunction()
8826 (cur->nodesetval->nodeTab[i]->ns->prefix == NULL)) { in xmlXPathNameFunction()
8829 cur->nodesetval->nodeTab[i]->name)); in xmlXPathNameFunction()
8833 fullname = xmlBuildQName(cur->nodesetval->nodeTab[i]->name, in xmlXPathNameFunction()
8834 cur->nodesetval->nodeTab[i]->ns->prefix, in xmlXPathNameFunction()
8836 if (fullname == cur->nodesetval->nodeTab[i]->name) in xmlXPathNameFunction()
8837 fullname = xmlStrdup(cur->nodesetval->nodeTab[i]->name); in xmlXPathNameFunction()
8847 cur->nodesetval->nodeTab[i])); in xmlXPathNameFunction()
9572 if ((cur->nodesetval != NULL) && (cur->nodesetval->nodeNr != 0)) { in xmlXPathSumFunction()
9573 for (i = 0; i < cur->nodesetval->nodeNr; i++) { in xmlXPathSumFunction()
9574 res += xmlXPathCastNodeToNumber(cur->nodesetval->nodeTab[i]); in xmlXPathSumFunction()
11381 else if (ctxt->value->nodesetval == NULL) in xmlXPathCompStep()
11384 xmlGenericErrorContextNodeSet(stdout, ctxt->value->nodesetval); in xmlXPathCompStep()
11413 else if (ctxt->value->nodesetval == NULL) in xmlXPathCompStep()
11417 ctxt->value->nodesetval); in xmlXPathCompStep()
12126 (obj->nodesetval != NULL) ? obj->nodesetval->nodeNr : 0); in xmlXPathNodeCollectAndTest()
12133 contextSeq = obj->nodesetval; in xmlXPathNodeCollectAndTest()
12620 && (ctxt->value->nodesetval != NULL) in xmlXPathCompOpEvalFirst()
12621 && (ctxt->value->nodesetval->nodeNr >= 1)) { in xmlXPathCompOpEvalFirst()
12632 if (ctxt->value->nodesetval->nodeNr > 1) in xmlXPathCompOpEvalFirst()
12633 xmlXPathNodeSetSort(ctxt->value->nodesetval); in xmlXPathCompOpEvalFirst()
12634 *first = ctxt->value->nodesetval->nodeTab[0]; in xmlXPathCompOpEvalFirst()
12650 (((arg1->nodesetval != NULL) && in xmlXPathCompOpEvalFirst()
12652 arg1->nodesetval->nodeNr) < 0)) || in xmlXPathCompOpEvalFirst()
12653 ((arg2->nodesetval != NULL) && in xmlXPathCompOpEvalFirst()
12655 arg2->nodesetval->nodeNr) < 0)))) { in xmlXPathCompOpEvalFirst()
12662 arg1->nodesetval = xmlXPathNodeSetMerge(arg1->nodesetval, in xmlXPathCompOpEvalFirst()
12663 arg2->nodesetval); in xmlXPathCompOpEvalFirst()
12707 && (ctxt->value->nodesetval != NULL) in xmlXPathCompOpEvalFirst()
12708 && (ctxt->value->nodesetval->nodeNr > 1)) in xmlXPathCompOpEvalFirst()
12709 xmlXPathNodeSetSort(ctxt->value->nodesetval); in xmlXPathCompOpEvalFirst()
12760 && (ctxt->value->nodesetval != NULL) in xmlXPathCompOpEvalLast()
12761 && (ctxt->value->nodesetval->nodeNr >= 1)) { in xmlXPathCompOpEvalLast()
12765 if (ctxt->value->nodesetval->nodeNr > 1) in xmlXPathCompOpEvalLast()
12766 xmlXPathNodeSetSort(ctxt->value->nodesetval); in xmlXPathCompOpEvalLast()
12768 ctxt->value->nodesetval->nodeTab[ctxt->value-> in xmlXPathCompOpEvalLast()
12769 nodesetval->nodeNr - in xmlXPathCompOpEvalLast()
12777 && (ctxt->value->nodesetval != NULL) in xmlXPathCompOpEvalLast()
12778 && (ctxt->value->nodesetval->nodeNr >= 1)) { /* TODO: NOP ? */ in xmlXPathCompOpEvalLast()
12790 (((arg1->nodesetval != NULL) && in xmlXPathCompOpEvalLast()
12792 arg1->nodesetval->nodeNr) < 0)) || in xmlXPathCompOpEvalLast()
12793 ((arg2->nodesetval != NULL) && in xmlXPathCompOpEvalLast()
12795 arg2->nodesetval->nodeNr) < 0)))) { in xmlXPathCompOpEvalLast()
12802 arg1->nodesetval = xmlXPathNodeSetMerge(arg1->nodesetval, in xmlXPathCompOpEvalLast()
12803 arg2->nodesetval); in xmlXPathCompOpEvalLast()
12847 && (ctxt->value->nodesetval != NULL) in xmlXPathCompOpEvalLast()
12848 && (ctxt->value->nodesetval->nodeNr > 1)) in xmlXPathCompOpEvalLast()
12849 xmlXPathNodeSetSort(ctxt->value->nodesetval); in xmlXPathCompOpEvalLast()
12899 (ctxt->value->nodesetval != NULL) && in xmlXPathCompOpEvalFilterFirst()
12900 (ctxt->value->nodesetval->nodeTab != NULL) && in xmlXPathCompOpEvalFilterFirst()
12901 (ctxt->value->nodesetval->nodeNr > 1)) { in xmlXPathCompOpEvalFilterFirst()
12902 xmlXPathNodeSetKeepLast(ctxt->value->nodesetval); in xmlXPathCompOpEvalFilterFirst()
12903 *first = *(ctxt->value->nodesetval->nodeTab); in xmlXPathCompOpEvalFilterFirst()
12935 set = ctxt->value->nodesetval; in xmlXPathCompOpEvalFilterFirst()
13070 (((arg1->nodesetval != NULL) && in xmlXPathCompOpEval()
13072 arg1->nodesetval->nodeNr) < 0)) || in xmlXPathCompOpEval()
13073 ((arg2->nodesetval != NULL) && in xmlXPathCompOpEval()
13075 arg2->nodesetval->nodeNr) < 0)))) { in xmlXPathCompOpEval()
13081 if ((arg1->nodesetval == NULL) || in xmlXPathCompOpEval()
13082 ((arg2->nodesetval != NULL) && in xmlXPathCompOpEval()
13083 (arg2->nodesetval->nodeNr != 0))) in xmlXPathCompOpEval()
13086 arg1->nodesetval = xmlXPathNodeSetMerge(arg1->nodesetval, in xmlXPathCompOpEval()
13087 arg2->nodesetval); in xmlXPathCompOpEval()
13278 (ctxt->value->nodesetval != NULL) && in xmlXPathCompOpEval()
13279 (ctxt->value->nodesetval->nodeNr > 1)) in xmlXPathCompOpEval()
13280 xmlXPathNodeSetClearFromPos(ctxt->value->nodesetval, in xmlXPathCompOpEval()
13313 (ctxt->value->nodesetval != NULL) && in xmlXPathCompOpEval()
13314 (ctxt->value->nodesetval->nodeTab != NULL) && in xmlXPathCompOpEval()
13315 (ctxt->value->nodesetval->nodeNr > 1)) in xmlXPathCompOpEval()
13316 xmlXPathNodeSetKeepLast(ctxt->value->nodesetval); in xmlXPathCompOpEval()
13353 set = ctxt->value->nodesetval; in xmlXPathCompOpEval()
13365 (ctxt->value->nodesetval != NULL) && in xmlXPathCompOpEval()
13366 (ctxt->value->nodesetval->nodeNr > 1)) in xmlXPathCompOpEval()
13368 xmlXPathNodeSetSort(ctxt->value->nodesetval); in xmlXPathCompOpEval()
13469 oldset = obj->nodesetval; in xmlXPathCompOpEval()
13686 xmlXPathNodeSetAddUnique((*resultSeq)->nodesetval, in xmlXPathRunStreamEval()
13693 xmlXPathNodeSetAddUnique((*resultSeq)->nodesetval, ctxt->node); in xmlXPathRunStreamEval()
13754 xmlXPathNodeSetAddUnique((*resultSeq)->nodesetval, cur); in xmlXPathRunStreamEval()
13792 if (xmlXPathNodeSetAddUnique((*resultSeq)->nodesetval, cur) in xmlXPathRunStreamEval()
13866 nb_nodes, retObj->nodesetval->nodeNr); in xmlXPathRunStreamEval()
13991 if (res->nodesetval == NULL) in xmlXPathEvalPredicate()
13993 return(res->nodesetval->nodeNr != 0); in xmlXPathEvalPredicate()
14035 if (res->nodesetval == NULL) in xmlXPathEvaluatePredicateResult()
14037 return(res->nodesetval->nodeNr != 0); in xmlXPathEvaluatePredicateResult()