Home
last modified time | relevance | path

Searched refs:nodeNr (Results 1 – 15 of 15) sorted by relevance

/external/libxml2/
Dxpath.c937 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr); in xmlXPathDebugDumpNodeSet()
938 for (i = 0;i < cur->nodeNr;i++) { in xmlXPathDebugDumpNodeSet()
955 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree()
2033 ret->nodesetval->nodeNr = 1; in xmlXPathCacheNewNodeSet()
3286 len = set->nodeNr; in xmlXPathNodeSetSort()
3403 ret->nodeTab[ret->nodeNr++] = in xmlXPathNodeSetCreate()
3406 ret->nodeTab[ret->nodeNr++] = val; in xmlXPathNodeSetCreate()
3457 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
3471 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
3501 for (i = 0;i < cur->nodeNr;i++) { in xmlXPathNodeSetAddNs()
[all …]
Dxpointer.c558 if (end->nodesetval->nodeNr <= 0) in xmlXPtrNewRangeNodeObject()
585 ret->user2 = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject()
838 for (i = 0;i < set->nodeNr;i++) in xmlXPtrNewLocationSetNodeSet()
929 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo()
1177 if ((loc != NULL) && (loc->nodeNr > 0)) in xmlXPtrEvalFullXPtr()
1398 if ((set->nodeNr != 1) || in xmlXPtrEval()
1613 for (i = 0;i < set->nodeNr;i++) { in xmlXPtrBuildNodeList()
2244 for (i = 0; i < oldset->nodeNr; i++) { in xmlXPtrRangeToFunction()
DparserInternals.c1583 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1591 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1601 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1622 ctxt->nodeNr = 0; in xmlInitParserCtxt()
Dvalid.c450 if (ctxt->nodeNr >= ctxt->nodeMax) { in nodeVPush()
461 ctxt->nodeTab[ctxt->nodeNr] = value; in nodeVPush()
463 return (ctxt->nodeNr++); in nodeVPush()
470 if (ctxt->nodeNr <= 0) in nodeVPop()
472 ctxt->nodeNr--; in nodeVPop()
473 if (ctxt->nodeNr > 0) in nodeVPop()
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()
5307 ctxt->nodeNr = 0; in xmlValidateElementContent()
[all …]
DdebugXML.c1938 for (indx = 0; indx < list->nodesetval->nodeNr; in xmlShellPrintXPathResultCtxt()
3028 indx < list->nodesetval->nodeNr; in xmlShell()
3102 if (list->nodesetval->nodeNr == 1) { in xmlShell()
3115 list->nodesetval->nodeNr); in xmlShell()
3189 indx < list->nodesetval->nodeNr; in xmlShell()
Dxinclude.c1129 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeCopyXPointer()
1601 (xptr->nodesetval->nodeNr <= 0)) { in xmlXIncludeLoadDoc()
1614 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeLoadDoc()
Dschematron.c1256 (ret->nodesetval != NULL) && (ret->nodesetval->nodeNr > 0)) in xmlSchematronGetNode()
1617 (ret->nodesetval->nodeNr == 0)) in xmlSchematronRunTest()
Dparser.c1536 if (ctxt->nodeNr >= ctxt->nodeMax) { in nodePush()
1549 if ((((unsigned int) ctxt->nodeNr) > xmlParserMaxDepth) && in nodePush()
1557 ctxt->nodeTab[ctxt->nodeNr] = value; in nodePush()
1559 return (ctxt->nodeNr++); in nodePush()
1576 if (ctxt->nodeNr <= 0) in nodePop()
1578 ctxt->nodeNr--; in nodePop()
1579 if (ctxt->nodeNr > 0) in nodePop()
1580 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodePop()
1583 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodePop()
1584 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodePop()
[all …]
Dxmlreader.c559 reader->base, reader->cur, reader->ctxt->nodeNr); in xmlTextReaderDebug()
1186 if (reader->ctxt->nodeNr < reader->depth) in xmlTextReaderDoExpand()
1312 olddepth = reader->ctxt->nodeNr; in xmlTextReaderRead()
1329 (reader->ctxt->nodeNr == olddepth) && in xmlTextReaderRead()
DHTMLparser.c4299 ctxt->nodeNr = 0; in htmlInitParserCtxt()
4307 ctxt->nodeNr = 0; in htmlInitParserCtxt()
4318 ctxt->nodeNr = 0; in htmlInitParserCtxt()
5869 ctxt->nodeNr = 0; in htmlCtxtReset()
/external/libxml2/include/libxml/
Dxpath.h80 int nodeNr; /* number of nodes in the set */ member
408 #define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
421 ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
433 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
DxpathInternals.h232 { while ((ns)->nodeNr > 0) (ns)->nodeTab[(ns)->nodeNr--] = NULL; }
Dvalid.h89 int nodeNr; /* Depth of the parsing stack */ member
Dparser.h203 int nodeNr; /* Depth of the parsing stack */ member
/external/webkit/WebCore/xml/
DXSLTUnicodeSort.cpp102 if ((list == NULL) || (list->nodeNr <= 1)) in xsltUnicodeSortFunction()
149 len = list->nodeNr; in xsltUnicodeSortFunction()