Home
last modified time | relevance | path

Searched refs:nodeTab (Results 1 – 25 of 46) sorted by relevance

12

/external/chromium_org/third_party/libxslt/libexslt/
Dmath.c47 ret = xmlXPathCastNodeToNumber(ns->nodeTab[0]); in exsltMathMin()
51 cur = xmlXPathCastNodeToNumber(ns->nodeTab[i]); in exsltMathMin()
116 ret = xmlXPathCastNodeToNumber(ns->nodeTab[0]); in exsltMathMax()
120 cur = xmlXPathCastNodeToNumber(ns->nodeTab[i]); in exsltMathMax()
185 max = xmlXPathCastNodeToNumber(ns->nodeTab[0]); in exsltMathHighest()
189 xmlXPathNodeSetAddUnique(ret, ns->nodeTab[0]); in exsltMathHighest()
192 cur = xmlXPathCastNodeToNumber(ns->nodeTab[i]); in exsltMathHighest()
202 xmlXPathNodeSetAddUnique(ret, ns->nodeTab[i]); in exsltMathHighest()
205 xmlXPathNodeSetAddUnique(ret, ns->nodeTab[i]); in exsltMathHighest()
265 min = xmlXPathCastNodeToNumber(ns->nodeTab[0]); in exsltMathLowest()
[all …]
Dsaxon.c226 cur = nodelist->nodeTab[0]; in exsltSaxonLineNumberFunction()
228 int ret = xmlXPathCmpNodes(cur, nodelist->nodeTab[i]); in exsltSaxonLineNumberFunction()
230 cur = nodelist->nodeTab[i]; in exsltSaxonLineNumberFunction()
Ddynamic.c172 ctxt->context->node = nodeset->nodeTab[i]; in exsltDynMapFunction()
173 ctxt->context->doc = nodeset->nodeTab[i]->doc; in exsltDynMapFunction()
184 nodeTab[j]); in exsltDynMapFunction()
Dstrings.c495 tmp = xmlXPathCastNodeToString(obj->nodesetval->nodeTab[i]); in exsltStrConcatFunction()
595 searchStr = xmlXPathCastNodeToString(searchSet->nodeTab[i]); in exsltStrReplaceFunction()
600 replaceStr = xmlXPathCastNodeToString(replaceSet->nodeTab[i]); in exsltStrReplaceFunction()
/external/chromium_org/third_party/libxml/src/
Dxpath.c941 xmlXPathDebugDumpNode(output, cur->nodeTab[i], depth + 1); in xmlXPathDebugDumpNodeSet()
955 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree()
964 xmlXPathDebugDumpNodeList(output, cur->nodeTab[0]->children, depth + 1); in xmlXPathDebugDumpValueTree()
1825 if (obj->nodesetval->nodeTab != NULL) in xmlXPathCacheFreeObjectList()
1826 xmlFree(obj->nodesetval->nodeTab); in xmlXPathCacheFreeObjectList()
2032 ret->nodesetval->nodeTab[0] = val; in xmlXPathCacheNewNodeSet()
3292 if (xmlXPathCmpNodesExt(set->nodeTab[j], in xmlXPathNodeSetSort()
3293 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort()
3295 if (xmlXPathCmpNodes(set->nodeTab[j], in xmlXPathNodeSetSort()
3296 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort()
[all …]
Dc14n.c48 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member
302 if(cur->nodeTab != NULL) { in xmlC14NVisibleNsStackDestroy()
303 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy()
304 xmlFree(cur->nodeTab); in xmlC14NVisibleNsStackDestroy()
314 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()
315 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()
320 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
322 cur->nodeTab = (xmlNodePtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd()
323 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
328 memset(cur->nodeTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd()
[all …]
Dxinclude.c1136 if (set->nodeTab[i] == NULL) in xmlXIncludeCopyXPointer()
1138 switch (set->nodeTab[i]->type) { in xmlXIncludeCopyXPointer()
1154 xmlNodePtr tmp, cur = set->nodeTab[i]; in xmlXIncludeCopyXPointer()
1196 set->nodeTab[i]); in xmlXIncludeCopyXPointer()
1200 set->nodeTab[i])); in xmlXIncludeCopyXPointer()
1621 if (set->nodeTab[i] == NULL) in xmlXIncludeLoadDoc()
1623 switch (set->nodeTab[i]->type) { in xmlXIncludeLoadDoc()
1643 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc()
1650 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc()
1665 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc()
[all …]
Dxpointer.c585 ret->user2 = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject()
840 xmlXPtrNewCollapsedRange(set->nodeTab[i])); in xmlXPtrNewLocationSetNodeSet()
934 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo()
940 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo()
1401 (set->nodeTab[0] != (xmlNodePtr) ctx->doc)) in xmlXPtrEval()
1616 if (set->nodeTab[i] == NULL) in xmlXPtrBuildNodeList()
1618 switch (set->nodeTab[i]->type) { in xmlXPtrBuildNodeList()
1646 list = last = xmlCopyNode(set->nodeTab[i], 1); in xmlXPtrBuildNodeList()
1648 xmlAddNextSibling(last, xmlCopyNode(set->nodeTab[i], 1)); in xmlXPtrBuildNodeList()
2253 ctxt->context->node = oldset->nodeTab[i]; in xmlXPtrRangeToFunction()
[all …]
DparserInternals.c1663 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt()
1664 ctxt->nodeTab = (xmlNodePtr *) xmlMalloc(10 * sizeof(xmlNodePtr)); in xmlInitParserCtxt()
1667 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt()
1784 if (ctxt->nodeTab != NULL) xmlFree(ctxt->nodeTab); in xmlFreeParserCtxt()
1799 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
Dvalid.c441 ctxt->nodeTab = in nodeVPush()
443 sizeof(ctxt->nodeTab[0])); in nodeVPush()
444 if (ctxt->nodeTab == NULL) { in nodeVPush()
452 tmp = (xmlNodePtr *) xmlRealloc(ctxt->nodeTab, in nodeVPush()
453 ctxt->nodeMax * 2 * sizeof(ctxt->nodeTab[0])); in nodeVPush()
459 ctxt->nodeTab = tmp; in nodeVPush()
461 ctxt->nodeTab[ctxt->nodeNr] = value; in nodeVPush()
474 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodeVPop()
477 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodeVPop()
478 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodeVPop()
[all …]
/external/libxml2/
Dxpath.c1022 xmlXPathDebugDumpNode(output, cur->nodeTab[i], depth + 1); in xmlXPathDebugDumpNodeSet()
1036 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree()
1045 xmlXPathDebugDumpNodeList(output, cur->nodeTab[0]->children, depth + 1); in xmlXPathDebugDumpValueTree()
1906 if (obj->nodesetval->nodeTab != NULL) in xmlXPathCacheFreeObjectList()
1907 xmlFree(obj->nodesetval->nodeTab); in xmlXPathCacheFreeObjectList()
2113 ret->nodesetval->nodeTab[0] = val; in xmlXPathCacheNewNodeSet()
3432 if (xmlXPathCmpNodesExt(set->nodeTab[j], in xmlXPathNodeSetSort()
3433 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort()
3435 if (xmlXPathCmpNodes(set->nodeTab[j], in xmlXPathNodeSetSort()
3436 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort()
[all …]
Dc14n.c50 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member
304 if(cur->nodeTab != NULL) { in xmlC14NVisibleNsStackDestroy()
305 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy()
306 xmlFree(cur->nodeTab); in xmlC14NVisibleNsStackDestroy()
316 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()
317 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()
322 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
324 cur->nodeTab = (xmlNodePtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd()
325 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
330 memset(cur->nodeTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd()
[all …]
Dxpointer.c585 ret->user2 = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject()
840 xmlXPtrNewCollapsedRange(set->nodeTab[i])); in xmlXPtrNewLocationSetNodeSet()
934 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo()
940 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo()
1402 (set->nodeTab[0] != (xmlNodePtr) ctx->doc)) in xmlXPtrEval()
1619 if (set->nodeTab[i] == NULL) in xmlXPtrBuildNodeList()
1621 switch (set->nodeTab[i]->type) { in xmlXPtrBuildNodeList()
1649 list = last = xmlCopyNode(set->nodeTab[i], 1); in xmlXPtrBuildNodeList()
1651 xmlAddNextSibling(last, xmlCopyNode(set->nodeTab[i], 1)); in xmlXPtrBuildNodeList()
2256 ctxt->context->node = oldset->nodeTab[i]; in xmlXPtrRangeToFunction()
[all …]
Dxinclude.c1139 if (set->nodeTab[i] == NULL) in xmlXIncludeCopyXPointer()
1141 switch (set->nodeTab[i]->type) { in xmlXIncludeCopyXPointer()
1157 xmlNodePtr tmp, cur = set->nodeTab[i]; in xmlXIncludeCopyXPointer()
1199 set->nodeTab[i]); in xmlXIncludeCopyXPointer()
1203 set->nodeTab[i])); in xmlXIncludeCopyXPointer()
1624 if (set->nodeTab[i] == NULL) in xmlXIncludeLoadDoc()
1626 switch (set->nodeTab[i]->type) { in xmlXIncludeLoadDoc()
1646 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc()
1653 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc()
1668 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc()
[all …]
DparserInternals.c1625 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt()
1626 ctxt->nodeTab = (xmlNodePtr *) xmlMalloc(10 * sizeof(xmlNodePtr)); in xmlInitParserCtxt()
1629 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt()
1749 if (ctxt->nodeTab != NULL) xmlFree(ctxt->nodeTab); in xmlFreeParserCtxt()
1764 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
Dvalid.c441 ctxt->nodeTab = in nodeVPush()
443 sizeof(ctxt->nodeTab[0])); in nodeVPush()
444 if (ctxt->nodeTab == NULL) { in nodeVPush()
452 tmp = (xmlNodePtr *) xmlRealloc(ctxt->nodeTab, in nodeVPush()
453 ctxt->nodeMax * 2 * sizeof(ctxt->nodeTab[0])); in nodeVPush()
459 ctxt->nodeTab = tmp; in nodeVPush()
461 ctxt->nodeTab[ctxt->nodeNr] = value; in nodeVPush()
474 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodeVPop()
477 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodeVPop()
478 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodeVPop()
[all …]
DdebugXML.c1945 list->nodesetval->nodeTab[indx]); in xmlShellPrintXPathResultCtxt()
2999 nodeTab[indx], NULL); in xmlShell()
3111 nodeTab[indx], NULL); in xmlShell()
3115 nodeTab[indx], NULL); in xmlShell()
3191 nodeTab[indx], NULL)) in xmlShell()
3258 ctxt->node = list->nodesetval->nodeTab[0]; in xmlShell()
3350 nodeTab[indx], NULL); in xmlShell()
/external/chromium_org/third_party/WebKit/Source/core/xml/
DXSLTUnicodeSort.cpp232 node = list->nodeTab[j]; in xsltUnicodeSortFunction()
233 list->nodeTab[j] = list->nodeTab[j + incr]; in xsltUnicodeSortFunction()
234 list->nodeTab[j + incr] = node; in xsltUnicodeSortFunction()
/external/chromium_org/third_party/libxslt/libxslt/
Dfunctions.c266 xmlXPathNewNodeSet(obj->nodesetval->nodeTab[i])); in xsltDocumentFunction()
273 nodeTab[i])); in xsltDocumentFunction()
307 IS_XSLT_REAL_NODE(obj2->nodesetval->nodeTab[0])) { in xsltDocumentFunction()
310 target = obj2->nodesetval->nodeTab[0]; in xsltDocumentFunction()
391 xmlXPathNewNodeSet(obj2->nodesetval->nodeTab[i])); in xsltKeyFunction()
681 cur = nodelist->nodeTab[0]; in xsltGenerateIdFunction()
683 ret = xmlXPathCmpNodes(cur, nodelist->nodeTab[i]); in xsltGenerateIdFunction()
685 cur = nodelist->nodeTab[i]; in xsltGenerateIdFunction()
Dxsltutils.c934 tst = xmlXPathCmpNodes(list->nodeTab[i], list->nodeTab[j]); in xsltDocumentSortFunction()
936 node = list->nodeTab[i]; in xsltDocumentSortFunction()
937 list->nodeTab[i] = list->nodeTab[j]; in xsltDocumentSortFunction()
938 list->nodeTab[j] = node; in xsltDocumentSortFunction()
1009 ctxt->node = list->nodeTab[i]; in xsltComputeSortResult()
1288 node = list->nodeTab[j]; in xsltDefaultSortFunction()
1289 list->nodeTab[j] = list->nodeTab[j + incr]; in xsltDefaultSortFunction()
1290 list->nodeTab[j + incr] = node; in xsltDefaultSortFunction()
Dkeys.c744 cur = matchList->nodeTab[i]; in xsltInitCtxtKey()
769 str = xmlXPathCastNodeToString(useRes->nodesetval->nodeTab[0]); in xsltInitCtxtKey()
835 str = xmlXPathCastNodeToString(useRes->nodesetval->nodeTab[k]); in xsltInitCtxtKey()
/external/libxml2/include/libxml/
Dxpath.h84 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member
426 (ns)->nodeTab[(index)] \
437 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
Dvalid.h91 xmlNodePtr *nodeTab; /* array of nodes */ member
/external/chromium_org/third_party/libxml/src/include/libxml/
Dxpath.h82 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member
422 (ns)->nodeTab[(index)] \
433 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
Dvalid.h91 xmlNodePtr *nodeTab; /* array of nodes */ member

12