Home
last modified time | relevance | path

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

12

/third_party/gettext/gnulib-local/lib/libxml/
Dxpath.c1328 fprintf(output, "Set contains %d nodes:\n", cur->nodeNr); in xmlXPathDebugDumpNodeSet()
1329 for (i = 0;i < cur->nodeNr;i++) { in xmlXPathDebugDumpNodeSet()
1346 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree()
2430 ret->nodesetval->nodeNr = 1; in xmlXPathCacheNewNodeSet()
3458 len = set->nodeNr; in xmlXPathNodeSetSort()
3481 libxml_domnode_tim_sort(set->nodeTab, set->nodeNr); in xmlXPathNodeSetSort()
3578 ret->nodeTab[ret->nodeNr++] = in xmlXPathNodeSetCreate()
3581 ret->nodeTab[ret->nodeNr++] = val; in xmlXPathNodeSetCreate()
3632 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
3646 for (i = 0; i < cur->nodeNr; i++) { in xmlXPathNodeSetContains()
[all …]
Dxpath.in.h111 int nodeNr; /* number of nodes in the set */ member
441 #define xmlXPathNodeSetGetLength(ns) ((ns) ? (ns)->nodeNr : 0)
454 ((index) >= 0) && ((index) < (ns)->nodeNr)) ? \
466 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
Dxpointer.c581 if ((end->nodesetval == NULL) || (end->nodesetval->nodeNr <= 0)) in xmlXPtrNewRangeNodeObject()
583 endNode = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject()
837 for (i = 0;i < set->nodeNr;i++) in xmlXPtrNewLocationSetNodeSet()
928 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo()
1176 if ((loc != NULL) && (loc->nodeNr > 0)) in xmlXPtrEvalFullXPtr()
1405 if ((set == NULL) || (set->nodeNr != 1) || in xmlXPtrEval()
1622 for (i = 0;i < set->nodeNr;i++) { in xmlXPtrBuildNodeList()
DxpathInternals.in.h261 { while ((ns)->nodeNr > 0) (ns)->nodeTab[--(ns)->nodeNr] = NULL; }
DdebugXML.c1974 for (indx = 0; indx < list->nodesetval->nodeNr; in xmlShellPrintXPathResultCtxt()
3027 indx < list->nodesetval->nodeNr; in xmlShell()
3138 indx < list->nodesetval->nodeNr; in xmlShell()
3220 indx < list->nodesetval->nodeNr; in xmlShell()
3294 if (list->nodesetval->nodeNr == 1) { in xmlShell()
3307 list->nodesetval->nodeNr); in xmlShell()
3381 indx < list->nodesetval->nodeNr; in xmlShell()
DparserInternals.c1685 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1693 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1703 ctxt->nodeNr = 0; in xmlInitParserCtxt()
1724 ctxt->nodeNr = 0; in xmlInitParserCtxt()
Dvalid.c479 if (ctxt->nodeNr >= ctxt->nodeMax) { in nodeVPush()
490 ctxt->nodeTab[ctxt->nodeNr] = value; in nodeVPush()
492 return (ctxt->nodeNr++); in nodeVPush()
499 if (ctxt->nodeNr <= 0) in nodeVPop()
501 ctxt->nodeNr--; in nodeVPop()
502 if (ctxt->nodeNr > 0) in nodeVPop()
503 ctxt->node = ctxt->nodeTab[ctxt->nodeNr - 1]; in nodeVPop()
506 ret = ctxt->nodeTab[ctxt->nodeNr]; in nodeVPop()
507 ctxt->nodeTab[ctxt->nodeNr] = NULL; in nodeVPop()
5326 ctxt->nodeNr = 0; in xmlValidateElementContent()
[all …]
Dvalid.in.h117 int nodeNr; /* Depth of the parsing stack */ member
Dxinclude.c1168 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeCopyXPointer()
1642 (xptr->nodesetval->nodeNr <= 0)) { in xmlXIncludeLoadDoc()
1655 for (i = 0;i < set->nodeNr;i++) { in xmlXIncludeLoadDoc()
Dschematron.c1287 (ret->nodesetval != NULL) && (ret->nodesetval->nodeNr > 0)) in xmlSchematronGetNode()
1648 (ret->nodesetval->nodeNr == 0)) in xmlSchematronRunTest()
/third_party/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.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()
5362 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()
/third_party/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
/third_party/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()
/third_party/libxml2/doc/tutorial/
Dincludexpath.c63 for (i=0; i < nodeset->nodeNr; i++) {
/third_party/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()
/third_party/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()
/third_party/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()

12