Home
last modified time | relevance | path

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

12

/external/libxml2/
Dxpath.c1300 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr); in xmlXPathDebugDumpNodeSet()
1301 for (i = 0;i < cur->nodeNr;i++) { in xmlXPathDebugDumpNodeSet()
1318 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree()
2402 ret->nodesetval->nodeNr = 1; in xmlXPathCacheNewNodeSet()
3430 len = set->nodeNr; in xmlXPathNodeSetSort()
3453 libxml_domnode_tim_sort(set->nodeTab, set->nodeNr); in xmlXPathNodeSetSort()
3550 ret->nodeTab[ret->nodeNr++] = in xmlXPathNodeSetCreate()
3553 ret->nodeTab[ret->nodeNr++] = val; in xmlXPathNodeSetCreate()
3604 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
3618 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()
899 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo()
1147 if ((loc != NULL) && (loc->nodeNr > 0)) in xmlXPtrEvalFullXPtr()
1376 if ((set == NULL) || (set->nodeNr != 1) || in xmlXPtrEval()
1593 for (i = 0;i < set->nodeNr;i++) { in xmlXPtrBuildNodeList()
DdebugXML.c1945 for (indx = 0; indx < list->nodesetval->nodeNr; in xmlShellPrintXPathResultCtxt()
2998 indx < list->nodesetval->nodeNr; in xmlShell()
3109 indx < list->nodesetval->nodeNr; in xmlShell()
3191 indx < list->nodesetval->nodeNr; in xmlShell()
3265 if (list->nodesetval->nodeNr == 1) { in xmlShell()
3278 list->nodesetval->nodeNr); in xmlShell()
3352 indx < list->nodesetval->nodeNr; in xmlShell()
DparserInternals.c1656 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1664 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1674 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1695 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()
5297 ctxt->nodeNr = 0; in xmlValidateElementContent()
[all …]
Dxinclude.c1139 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeCopyXPointer()
1613 (xptr->nodesetval->nodeNr <= 0)) { in xmlXIncludeLoadDoc()
1626 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.c2076 if ((cur->nodesetval == NULL) || (cur->nodesetval->nodeNr <= 0)) { in doXPathDump()
2087 for (i = 0;i < cur->nodesetval->nodeNr;i++) { in doXPathDump()
2094 printf("xpath returned %d nodes\n", cur->nodesetval->nodeNr); in doXPathDump()
Dparser.c1770 if (ctxt->nodeNr >= ctxt->nodeMax) { in nodePush()
1783 if ((((unsigned int) ctxt->nodeNr) > xmlParserMaxDepth) && in nodePush()
1791 ctxt->nodeTab[ctxt->nodeNr] = value; in nodePush()
1793 return (ctxt->nodeNr++); in nodePush()
1810 if (ctxt->nodeNr <= 0) in nodePop()
1812 ctxt->nodeNr--; in nodePop()
1813 if (ctxt->nodeNr > 0) in nodePop()
1814 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodePop()
1817 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodePop()
1818 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodePop()
[all …]
Drunsuite.c258 (res->nodesetval->nodeNr > 0) && in getNext()
Dxmlreader.c580 reader->base, reader->cur, reader->ctxt->nodeNr); in xmlTextReaderDebug()
1220 if (reader->ctxt->nodeNr < reader->depth) in xmlTextReaderDoExpand()
1347 olddepth = reader->ctxt->nodeNr; in xmlTextReaderRead()
1364 (reader->ctxt->nodeNr == olddepth) && in xmlTextReaderRead()
DHTMLparser.c4903 ctxt->nodeNr = 0; in htmlInitParserCtxt()
4911 ctxt->nodeNr = 0; in htmlInitParserCtxt()
4922 ctxt->nodeNr = 0; in htmlInitParserCtxt()
6631 ctxt->nodeNr = 0; in htmlCtxtReset()
/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/curl/docs/examples/
Dcrawler.c119 for(int i = 0; i < nodeset->nodeNr; i++) { in follow_links()
121 int x = r * nodeset->nodeNr / RAND_MAX; in follow_links()
/external/libxml2/python/
Dtypes.c425 (obj->nodesetval->nodeNr == 0) || in libxml_xmlXPathObjectPtrWrap()
451 || (obj->nodesetval->nodeNr == 0)) { in libxml_xmlXPathObjectPtrWrap()
457 ret = PyList_New(obj->nodesetval->nodeNr); in libxml_xmlXPathObjectPtrWrap()
458 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/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/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/libxmlrpg/
Dvalid.rpgle67 d nodeNr like(xmlCint) Parsing stack depth
Dxpath.rpgle99 d nodeNr like(xmlCint) Set node count

12