Home
last modified time | relevance | path

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

/external/libxml2/
Dxpath.c1309 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr); in xmlXPathDebugDumpNodeSet()
1310 for (i = 0;i < cur->nodeNr;i++) { in xmlXPathDebugDumpNodeSet()
1327 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree()
2405 ret->nodesetval->nodeNr = 1; in xmlXPathCacheNewNodeSet()
3431 len = set->nodeNr; in xmlXPathNodeSetSort()
3454 libxml_domnode_tim_sort(set->nodeTab, set->nodeNr); in xmlXPathNodeSetSort()
3551 ret->nodeTab[ret->nodeNr++] = in xmlXPathNodeSetCreate()
3554 ret->nodeTab[ret->nodeNr++] = val; in xmlXPathNodeSetCreate()
3605 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
3619 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
[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()
1172 if ((loc != NULL) && (loc->nodeNr > 0)) in xmlXPtrEvalFullXPtr()
1403 if ((set->nodeNr != 1) || in xmlXPtrEval()
1620 for (i = 0;i < set->nodeNr;i++) { in xmlXPtrBuildNodeList()
2271 for (i = 0; i < oldset->nodeNr; i++) { in xmlXPtrRangeToFunction()
DdebugXML.c1944 for (indx = 0; indx < list->nodesetval->nodeNr; in xmlShellPrintXPathResultCtxt()
2997 indx < list->nodesetval->nodeNr; in xmlShell()
3108 indx < list->nodesetval->nodeNr; in xmlShell()
3190 indx < list->nodesetval->nodeNr; in xmlShell()
3264 if (list->nodesetval->nodeNr == 1) { in xmlShell()
3277 list->nodesetval->nodeNr); in xmlShell()
3351 indx < list->nodesetval->nodeNr; in xmlShell()
DparserInternals.c1642 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1650 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1660 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1681 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()
5258 ctxt->nodeNr = 0; in xmlValidateElementContent()
[all …]
Dxinclude.c1139 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeCopyXPointer()
1611 (xptr->nodesetval->nodeNr <= 0)) { in xmlXIncludeLoadDoc()
1624 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeLoadDoc()
Dschematron.c1258 (ret->nodesetval != NULL) && (ret->nodesetval->nodeNr > 0)) in xmlSchematronGetNode()
1619 (ret->nodesetval->nodeNr == 0)) in xmlSchematronRunTest()
Dxmllint.c2084 if ((cur->nodesetval == NULL) || (cur->nodesetval->nodeNr <= 0)) { in doXPathDump()
2095 for (i = 0;i < cur->nodesetval->nodeNr;i++) { in doXPathDump()
2101 printf("xpath returned %d nodes\n", cur->nodesetval->nodeNr); in doXPathDump()
Dparser.c1758 if (ctxt->nodeNr >= ctxt->nodeMax) { in nodePush()
1771 if ((((unsigned int) ctxt->nodeNr) > xmlParserMaxDepth) && in nodePush()
1779 ctxt->nodeTab[ctxt->nodeNr] = value; in nodePush()
1781 return (ctxt->nodeNr++); in nodePush()
1798 if (ctxt->nodeNr <= 0) in nodePop()
1800 ctxt->nodeNr--; in nodePop()
1801 if (ctxt->nodeNr > 0) in nodePop()
1802 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodePop()
1805 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodePop()
1806 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodePop()
[all …]
Drunsuite.c258 (res->nodesetval->nodeNr > 0) && in getNext()
Dxmlreader.c575 reader->base, reader->cur, reader->ctxt->nodeNr); in xmlTextReaderDebug()
1215 if (reader->ctxt->nodeNr < reader->depth) in xmlTextReaderDoExpand()
1342 olddepth = reader->ctxt->nodeNr; in xmlTextReaderRead()
1359 (reader->ctxt->nodeNr == olddepth) && in xmlTextReaderRead()
/external/libxml2/include/libxml/
Dxpath.h82 int nodeNr; /* number of nodes in the set */ member
412 #define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
425 ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
437 (((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.h206 int nodeNr; /* Depth of the parsing stack */ member
/external/libxml2/python/
Dtypes.c427 (obj->nodesetval->nodeNr == 0) || in libxml_xmlXPathObjectPtrWrap()
453 || (obj->nodesetval->nodeNr == 0)) { in libxml_xmlXPathObjectPtrWrap()
459 ret = PyList_New(obj->nodesetval->nodeNr); in libxml_xmlXPathObjectPtrWrap()
460 for (i = 0; i < obj->nodesetval->nodeNr; i++) { in libxml_xmlXPathObjectPtrWrap()
Dlibxml.c3516 nodeSet->nodeNr = 0; in PyxmlNodeSet_Convert()
3539 nodeSet->nodeTab[nodeSet->nodeNr++] = pynode; in PyxmlNodeSet_Convert()
/external/libxml2/doc/tutorial/
Dincludexpath.c63 for (i=0; i < nodeset->nodeNr; i++) {
/external/libxml2/doc/examples/
Dxpath2.c149 size = (nodes) ? nodes->nodeNr : 0; in update_xpath_nodes()
Dxpath1.c211 size = (nodes) ? nodes->nodeNr : 0; in print_xpath_nodes()
/external/libxml2/os400/iconv/bldcsndfa/
Dbldcsndfa.c893 !obj->nodesetval->nodeTab || !obj->nodesetval->nodeNr) { in read_assocs()
898 for (i = 0; i < obj->nodesetval->nodeNr; i++) { in read_assocs()
977 obj->nodesetval->nodeTab && obj->nodesetval->nodeNr) { in read_assocs()
978 for (i = 0; i < obj->nodesetval->nodeNr; i++) { in read_assocs()
1047 !obj1->nodesetval->nodeTab || obj1->nodesetval->nodeNr <= 1) { in read_iana()
1080 for (n = 1; n < obj1->nodesetval->nodeNr; n++) { in read_iana()
1161 for (i = 0; i < obj2->nodesetval->nodeNr; i++) { in read_iana()
/external/libxml2/os400/libxmlrpg/
Dvalid.rpgle66 d nodeNr 10i 0 Parsing stack depth
Dxpath.rpgle98 d nodeNr 10i 0 Set node count
Dparser.rpgle220 d nodeNr 10i 0 Parsing stack depth