/third_party/libxml2/doc/examples/ |
D | xpath1.c | 215 assert(nodes->nodeTab[i]); in print_xpath_nodes() 217 if(nodes->nodeTab[i]->type == XML_NAMESPACE_DECL) { in print_xpath_nodes() 220 ns = (xmlNsPtr)nodes->nodeTab[i]; in print_xpath_nodes() 229 } else if(nodes->nodeTab[i]->type == XML_ELEMENT_NODE) { in print_xpath_nodes() 230 cur = nodes->nodeTab[i]; in print_xpath_nodes() 239 cur = nodes->nodeTab[i]; in print_xpath_nodes()
|
D | xpath2.c | 160 assert(nodes->nodeTab[i]); in update_xpath_nodes() 162 xmlNodeSetContent(nodes->nodeTab[i], value); in update_xpath_nodes() 180 if (nodes->nodeTab[i]->type != XML_NAMESPACE_DECL) in update_xpath_nodes() 181 nodes->nodeTab[i] = NULL; in update_xpath_nodes()
|
/third_party/gettext/gnulib-local/lib/libxml/ |
D | xpath.c | 1332 xmlXPathDebugDumpNode(output, cur->nodeTab[i], depth + 1); in xmlXPathDebugDumpNodeSet() 1346 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree() 1355 xmlXPathDebugDumpNodeList(output, cur->nodeTab[0]->children, depth + 1); in xmlXPathDebugDumpValueTree() 2222 if (obj->nodesetval->nodeTab != NULL) in xmlXPathCacheFreeObjectList() 2223 xmlFree(obj->nodesetval->nodeTab); in xmlXPathCacheFreeObjectList() 2429 ret->nodesetval->nodeTab[0] = val; in xmlXPathCacheNewNodeSet() 3464 if (xmlXPathCmpNodesExt(set->nodeTab[j], in xmlXPathNodeSetSort() 3465 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort() 3467 if (xmlXPathCmpNodes(set->nodeTab[j], in xmlXPathNodeSetSort() 3468 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort() [all …]
|
D | c14n.c | 80 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member 335 if(cur->nodeTab != NULL) { in xmlC14NVisibleNsStackDestroy() 336 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy() 337 xmlFree(cur->nodeTab); in xmlC14NVisibleNsStackDestroy() 347 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd() 348 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd() 353 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd() 355 cur->nodeTab = (xmlNodePtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd() 356 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd() 361 memset(cur->nodeTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd() [all …]
|
D | xpath.in.h | 113 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member 455 (ns)->nodeTab[(index)] \ 466 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
|
D | xinclude.c | 1169 if (set->nodeTab[i] == NULL) in xmlXIncludeCopyXPointer() 1171 switch (set->nodeTab[i]->type) { in xmlXIncludeCopyXPointer() 1187 xmlNodePtr tmp, cur = set->nodeTab[i]; in xmlXIncludeCopyXPointer() 1229 set->nodeTab[i]); in xmlXIncludeCopyXPointer() 1233 set->nodeTab[i])); in xmlXIncludeCopyXPointer() 1656 if (set->nodeTab[i] == NULL) in xmlXIncludeLoadDoc() 1658 switch (set->nodeTab[i]->type) { in xmlXIncludeLoadDoc() 1678 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() 1685 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() 1700 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() [all …]
|
D | xpointer.c | 583 endNode = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject() 839 xmlXPtrNewCollapsedRange(set->nodeTab[i])); in xmlXPtrNewLocationSetNodeSet() 933 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo() 939 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo() 1406 (set->nodeTab[0] != (xmlNodePtr) ctx->doc)) in xmlXPtrEval() 1623 if (set->nodeTab[i] == NULL) in xmlXPtrBuildNodeList() 1625 switch (set->nodeTab[i]->type) { in xmlXPtrBuildNodeList() 1653 list = last = xmlCopyNode(set->nodeTab[i], 1); in xmlXPtrBuildNodeList() 1655 xmlAddNextSibling(last, xmlCopyNode(set->nodeTab[i], 1)); in xmlXPtrBuildNodeList()
|
D | parserInternals.c | 1679 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt() 1680 ctxt->nodeTab = (xmlNodePtr *) xmlMalloc(10 * sizeof(xmlNodePtr)); in xmlInitParserCtxt() 1683 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt() 1815 if (ctxt->nodeTab != NULL) xmlFree(ctxt->nodeTab); in xmlFreeParserCtxt() 1830 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
|
D | valid.c | 470 ctxt->nodeTab = in nodeVPush() 472 sizeof(ctxt->nodeTab[0])); in nodeVPush() 473 if (ctxt->nodeTab == NULL) { in nodeVPush() 481 tmp = (xmlNodePtr *) xmlRealloc(ctxt->nodeTab, in nodeVPush() 482 ctxt->nodeMax * 2 * sizeof(ctxt->nodeTab[0])); in nodeVPush() 488 ctxt->nodeTab = tmp; in nodeVPush() 490 ctxt->nodeTab[ctxt->nodeNr] = value; in nodeVPush() 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() [all …]
|
D | debugXML.c | 1977 list->nodesetval->nodeTab[indx]); in xmlShellPrintXPathResultCtxt() 3031 nodeTab[indx], NULL); in xmlShell() 3143 nodeTab[indx], NULL); in xmlShell() 3147 nodeTab[indx], NULL); in xmlShell() 3223 nodeTab[indx], NULL)) in xmlShell() 3295 ctxt->node = list->nodesetval->nodeTab[0]; in xmlShell() 3387 nodeTab[indx], NULL); in xmlShell()
|
D | valid.in.h | 119 xmlNodePtr *nodeTab; /* array of nodes */ member
|
/third_party/libxml2/ |
D | xpath.c | 1340 xmlXPathDebugDumpNode(output, cur->nodeTab[i], depth + 1); in xmlXPathDebugDumpNodeSet() 1354 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree() 1363 xmlXPathDebugDumpNodeList(output, cur->nodeTab[0]->children, depth + 1); in xmlXPathDebugDumpValueTree() 2228 if (obj->nodesetval->nodeTab != NULL) in xmlXPathCacheFreeObjectList() 2229 xmlFree(obj->nodesetval->nodeTab); in xmlXPathCacheFreeObjectList() 2436 ret->nodesetval->nodeTab[0] = val; in xmlXPathCacheNewNodeSet() 3478 if (xmlXPathCmpNodesExt(set->nodeTab[j], in xmlXPathNodeSetSort() 3479 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort() 3481 if (xmlXPathCmpNodes(set->nodeTab[j], in xmlXPathNodeSetSort() 3482 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort() [all …]
|
D | c14n.c | 50 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member 305 if(cur->nodeTab != NULL) { in xmlC14NVisibleNsStackDestroy() 306 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy() 307 xmlFree(cur->nodeTab); in xmlC14NVisibleNsStackDestroy() 317 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd() 318 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd() 323 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd() 325 cur->nodeTab = (xmlNodePtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd() 326 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd() 331 memset(cur->nodeTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd() [all …]
|
D | xinclude.c | 1153 if (set->nodeTab[i] == NULL) in xmlXIncludeCopyXPointer() 1155 switch (set->nodeTab[i]->type) { in xmlXIncludeCopyXPointer() 1171 xmlNodePtr tmp, cur = set->nodeTab[i]; in xmlXIncludeCopyXPointer() 1212 set->nodeTab[i]); in xmlXIncludeCopyXPointer() 1216 set->nodeTab[i])); in xmlXIncludeCopyXPointer() 1629 if (set->nodeTab[i] == NULL) in xmlXIncludeLoadDoc() 1631 switch (set->nodeTab[i]->type) { in xmlXIncludeLoadDoc() 1651 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() 1658 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() 1673 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() [all …]
|
D | parserInternals.c | 1652 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt() 1653 ctxt->nodeTab = (xmlNodePtr *) xmlMalloc(10 * sizeof(xmlNodePtr)); in xmlInitParserCtxt() 1656 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt() 1787 if (ctxt->nodeTab != NULL) xmlFree(ctxt->nodeTab); in xmlFreeParserCtxt() 1802 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
|
D | xpointer.c | 554 endNode = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject() 810 xmlXPtrNewCollapsedRange(set->nodeTab[i])); in xmlXPtrNewLocationSetNodeSet() 902 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo() 908 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo() 1376 (set->nodeTab[0] != (xmlNodePtr) ctx->doc)) in xmlXPtrEval() 1592 if (set->nodeTab[i] == NULL) in xmlXPtrBuildNodeList() 1594 switch (set->nodeTab[i]->type) { in xmlXPtrBuildNodeList() 1622 list = last = xmlCopyNode(set->nodeTab[i], 1); in xmlXPtrBuildNodeList() 1624 xmlAddNextSibling(last, xmlCopyNode(set->nodeTab[i], 1)); in xmlXPtrBuildNodeList()
|
D | valid.c | 441 ctxt->nodeTab = in nodeVPush() 443 sizeof(ctxt->nodeTab[0])); in nodeVPush() 444 if (ctxt->nodeTab == NULL) { in nodeVPush() 452 tmp = (xmlNodePtr *) xmlRealloc(ctxt->nodeTab, in nodeVPush() 453 ctxt->nodeMax * 2 * sizeof(ctxt->nodeTab[0])); in nodeVPush() 459 ctxt->nodeTab = tmp; in nodeVPush() 461 ctxt->nodeTab[ctxt->nodeNr] = value; in nodeVPush() 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() [all …]
|
D | debugXML.c | 1948 list->nodesetval->nodeTab[indx]); in xmlShellPrintXPathResultCtxt() 2996 nodeTab[indx], NULL); in xmlShell() 3108 nodeTab[indx], NULL); in xmlShell() 3112 nodeTab[indx], NULL); in xmlShell() 3188 nodeTab[indx], NULL)) in xmlShell() 3260 ctxt->node = list->nodesetval->nodeTab[0]; in xmlShell() 3352 nodeTab[indx], NULL); in xmlShell()
|
/third_party/libxml2/include/libxml/ |
D | xpath.h | 86 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member 433 (ns)->nodeTab[(index)] \ 444 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
|
D | valid.h | 91 xmlNodePtr *nodeTab; /* array of nodes */ member
|
/third_party/libxml2/python/ |
D | types.c | 550 (obj->nodesetval->nodeTab == NULL)) { in libxml_xmlXPathObjectPtrWrap() 556 node = obj->nodesetval->nodeTab[0]->children; in libxml_xmlXPathObjectPtrWrap() 562 node = obj->nodesetval->nodeTab[0]->children; in libxml_xmlXPathObjectPtrWrap() 583 node = obj->nodesetval->nodeTab[i]; in libxml_xmlXPathObjectPtrWrap() 590 obj->nodesetval->nodeTab[i] = NULL; in libxml_xmlXPathObjectPtrWrap()
|
D | libxml.c | 3522 nodeSet->nodeTab in PyxmlNodeSet_Convert() 3525 if (nodeSet->nodeTab == NULL) { in PyxmlNodeSet_Convert() 3530 memset(nodeSet->nodeTab, 0 , in PyxmlNodeSet_Convert() 3541 nodeSet->nodeTab[nodeSet->nodeNr++] = pynode; in PyxmlNodeSet_Convert() 3648 xmlFree(nodes->nodeTab); in libxml_C14NDocDumpMemory() 3663 xmlFree(nodes->nodeTab); in libxml_C14NDocDumpMemory() 3737 xmlFree(nodes->nodeTab); in libxml_C14NDocSaveTo() 3753 xmlFree(nodes->nodeTab); in libxml_C14NDocSaveTo()
|
/third_party/libxml2/os400/iconv/bldcsndfa/ |
D | bldcsndfa.c | 893 !obj->nodesetval->nodeTab || !obj->nodesetval->nodeNr) { in read_assocs() 899 node = obj->nodesetval->nodeTab[i]; in read_assocs() 977 obj->nodesetval->nodeTab && obj->nodesetval->nodeNr) { in read_assocs() 979 node = obj->nodesetval->nodeTab[i]; in read_assocs() 1047 !obj1->nodesetval->nodeTab || obj1->nodesetval->nodeNr <= 1) { in read_iana() 1056 xmlXPathSetContextNode(obj1->nodesetval->nodeTab[0], ctxt); in read_iana() 1081 xmlXPathSetContextNode(obj1->nodesetval->nodeTab[n], ctxt); in read_iana() 1160 if (obj2->nodesetval && obj2->nodesetval->nodeTab) in read_iana() 1162 node = obj2->nodesetval->nodeTab[i]; in read_iana()
|
/third_party/libxml2/doc/tutorial/ |
D | includexpath.c | 64 keyword = xmlNodeListGetString(doc, nodeset->nodeTab[i]->xmlChildrenNode, 1);
|
/third_party/curl/docs/examples/ |
D | crawler.c | 123 const xmlNode *node = nodeset->nodeTab[x]->xmlChildrenNode; in follow_links()
|