Home
last modified time | relevance | path

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

12

/external/libxml2/
Dxpath.c1336 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr); in xmlXPathDebugDumpNodeSet()
1337 for (i = 0;i < cur->nodeNr;i++) { in xmlXPathDebugDumpNodeSet()
1354 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree()
2437 ret->nodesetval->nodeNr = 1; in xmlXPathCacheNewNodeSet()
3472 len = set->nodeNr; in xmlXPathNodeSetSort()
3495 libxml_domnode_tim_sort(set->nodeTab, set->nodeNr); in xmlXPathNodeSetSort()
3593 ret->nodeTab[ret->nodeNr++] = in xmlXPathNodeSetCreate()
3596 ret->nodeTab[ret->nodeNr++] = val; in xmlXPathNodeSetCreate()
3616 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
3630 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
[all …]
Dxpointer.c552 if ((end->nodesetval == NULL) || (end->nodesetval->nodeNr <= 0)) in xmlXPtrNewRangeNodeObject()
554 endNode = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject()
808 for (i = 0;i < set->nodeNr;i++) in xmlXPtrNewLocationSetNodeSet()
897 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo()
1136 if ((loc != NULL) && (loc->nodeNr > 0)) in xmlXPtrEvalFullXPtr()
1375 if ((set == NULL) || (set->nodeNr != 1) || in xmlXPtrEval()
1591 for (i = 0;i < set->nodeNr;i++) { in xmlXPtrBuildNodeList()
DdebugXML.c1945 for (indx = 0; indx < list->nodesetval->nodeNr; in xmlShellPrintXPathResultCtxt()
2992 indx < list->nodesetval->nodeNr; in xmlShell()
3103 indx < list->nodesetval->nodeNr; in xmlShell()
3185 indx < list->nodesetval->nodeNr; in xmlShell()
3259 if (list->nodesetval->nodeNr == 1) { in xmlShell()
3272 list->nodesetval->nodeNr); in xmlShell()
3346 indx < list->nodesetval->nodeNr; in xmlShell()
DparserInternals.c1658 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1666 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1676 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1697 ctxt->nodeNr = 0; in xmlInitParserCtxt()
Dvalid.c445 if (ctxt->nodeNr >= ctxt->nodeMax) { in nodeVPush()
456 ctxt->nodeTab[ctxt->nodeNr] = value; in nodeVPush()
458 return (ctxt->nodeNr++); in nodeVPush()
465 if (ctxt->nodeNr <= 0) in nodeVPop()
467 ctxt->nodeNr--; in nodeVPop()
468 if (ctxt->nodeNr > 0) in nodeVPop()
469 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodeVPop()
472 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodeVPop()
473 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodeVPop()
5359 ctxt->nodeNr = 0; in xmlValidateElementContent()
[all …]
Dxinclude.c1152 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeCopyXPointer()
1614 (xptr->nodesetval->nodeNr <= 0)) { in xmlXIncludeLoadDoc()
1628 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.c2090 if ((cur->nodesetval == NULL) || (cur->nodesetval->nodeNr <= 0)) { in doXPathDump()
2101 for (i = 0;i < cur->nodesetval->nodeNr;i++) { in doXPathDump()
2108 printf("xpath returned %d nodes\n", cur->nodesetval->nodeNr); in doXPathDump()
Dparser.c1819 if (ctxt->nodeNr >= ctxt->nodeMax) { in nodePush()
1832 if ((((unsigned int) ctxt->nodeNr) > xmlParserMaxDepth) && in nodePush()
1840 ctxt->nodeTab[ctxt->nodeNr] = value; in nodePush()
1842 return (ctxt->nodeNr++); in nodePush()
1859 if (ctxt->nodeNr <= 0) in nodePop()
1861 ctxt->nodeNr--; in nodePop()
1862 if (ctxt->nodeNr > 0) in nodePop()
1863 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodePop()
1866 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodePop()
1867 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodePop()
[all …]
Drunsuite.c258 (res->nodesetval->nodeNr > 0) && in getNext()
Dxmlreader.c524 reader->base, reader->cur, reader->ctxt->nodeNr); in xmlTextReaderDebug()
1153 if (reader->ctxt->nodeNr < reader->depth) in xmlTextReaderDoExpand()
1280 olddepth = reader->ctxt->nodeNr; in xmlTextReaderRead()
1297 (reader->ctxt->nodeNr == olddepth) && in xmlTextReaderRead()
DHTMLparser.c5066 ctxt->nodeNr = 0; in htmlInitParserCtxt()
5074 ctxt->nodeNr = 0; in htmlInitParserCtxt()
5085 ctxt->nodeNr = 0; in htmlInitParserCtxt()
6741 ctxt->nodeNr = 0; in htmlCtxtReset()
/external/libxml2/include/libxml/
Dxpath.h84 int nodeNr; /* number of nodes in the set */ member
419 #define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
432 ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
444 (((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.h208 int nodeNr; /* Depth of the parsing stack */ member
/external/curl/docs/examples/
Dcrawler.c120 for(i = 0; i < nodeset->nodeNr; i++) { in follow_links()
122 int x = r * nodeset->nodeNr / RAND_MAX; in follow_links()
/external/libxml2/doc/tutorial/
Dincludexpath.c63 for (i=0; i < nodeset->nodeNr; i++) {
/external/libxml2/python/
Dtypes.c549 (obj->nodesetval->nodeNr == 0) || in libxml_xmlXPathObjectPtrWrap()
575 || (obj->nodesetval->nodeNr == 0)) { in libxml_xmlXPathObjectPtrWrap()
581 ret = PyList_New(obj->nodesetval->nodeNr); in libxml_xmlXPathObjectPtrWrap()
582 for (i = 0; i < obj->nodesetval->nodeNr; i++) { in libxml_xmlXPathObjectPtrWrap()
Dlibxml.c3520 nodeSet->nodeNr = 0; in PyxmlNodeSet_Convert()
3543 nodeSet->nodeTab[nodeSet->nodeNr++] = pynode; in PyxmlNodeSet_Convert()
/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/
Dxpath.rpgle99 d nodeNr like(xmlCint) Set node count
Dvalid.rpgle67 d nodeNr like(xmlCint) Parsing stack depth

12