/external/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()
|
/external/libxml2/ |
D | xpath.c | 1313 xmlXPathDebugDumpNode(output, cur->nodeTab[i], depth + 1); in xmlXPathDebugDumpNodeSet() 1327 if ((cur == NULL) || (cur->nodeNr == 0) || (cur->nodeTab[0] == NULL)) { in xmlXPathDebugDumpValueTree() 1336 xmlXPathDebugDumpNodeList(output, cur->nodeTab[0]->children, depth + 1); in xmlXPathDebugDumpValueTree() 2197 if (obj->nodesetval->nodeTab != NULL) in xmlXPathCacheFreeObjectList() 2198 xmlFree(obj->nodesetval->nodeTab); in xmlXPathCacheFreeObjectList() 2404 ret->nodesetval->nodeTab[0] = val; in xmlXPathCacheNewNodeSet() 3437 if (xmlXPathCmpNodesExt(set->nodeTab[j], in xmlXPathNodeSetSort() 3438 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort() 3440 if (xmlXPathCmpNodes(set->nodeTab[j], in xmlXPathNodeSetSort() 3441 set->nodeTab[j + incr]) == -1) in xmlXPathNodeSetSort() [all …]
|
D | c14n.c | 50 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member 304 if(cur->nodeTab != NULL) { in xmlC14NVisibleNsStackDestroy() 305 memset(cur->nodeTab, 0, cur->nsMax * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackDestroy() 306 xmlFree(cur->nodeTab); in xmlC14NVisibleNsStackDestroy() 316 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd() 317 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd() 322 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd() 324 cur->nodeTab = (xmlNodePtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd() 325 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd() 330 memset(cur->nodeTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNodePtr)); in xmlC14NVisibleNsStackAdd() [all …]
|
D | xinclude.c | 1140 if (set->nodeTab[i] == NULL) in xmlXIncludeCopyXPointer() 1142 switch (set->nodeTab[i]->type) { in xmlXIncludeCopyXPointer() 1158 xmlNodePtr tmp, cur = set->nodeTab[i]; in xmlXIncludeCopyXPointer() 1200 set->nodeTab[i]); in xmlXIncludeCopyXPointer() 1204 set->nodeTab[i])); in xmlXIncludeCopyXPointer() 1625 if (set->nodeTab[i] == NULL) in xmlXIncludeLoadDoc() 1627 switch (set->nodeTab[i]->type) { in xmlXIncludeLoadDoc() 1647 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() 1654 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() 1669 set->nodeTab[i] = NULL; in xmlXIncludeLoadDoc() [all …]
|
D | xpointer.c | 585 ret->user2 = end->nodesetval->nodeTab[end->nodesetval->nodeNr - 1]; in xmlXPtrNewRangeNodeObject() 840 xmlXPtrNewCollapsedRange(set->nodeTab[i])); in xmlXPtrNewLocationSetNodeSet() 934 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo() 940 oldset->nodeTab[0] = cur; in xmlXPtrGetChildNo() 1404 (set->nodeTab[0] != (xmlNodePtr) ctx->doc)) in xmlXPtrEval() 1621 if (set->nodeTab[i] == NULL) in xmlXPtrBuildNodeList() 1623 switch (set->nodeTab[i]->type) { in xmlXPtrBuildNodeList() 1651 list = last = xmlCopyNode(set->nodeTab[i], 1); in xmlXPtrBuildNodeList() 1653 xmlAddNextSibling(last, xmlCopyNode(set->nodeTab[i], 1)); in xmlXPtrBuildNodeList() 2278 ctxt->context->node = oldset->nodeTab[i]; in xmlXPtrRangeToFunction() [all …]
|
D | parserInternals.c | 1636 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt() 1637 ctxt->nodeTab = (xmlNodePtr *) xmlMalloc(10 * sizeof(xmlNodePtr)); in xmlInitParserCtxt() 1640 if (ctxt->nodeTab == NULL) { in xmlInitParserCtxt() 1772 if (ctxt->nodeTab != NULL) xmlFree(ctxt->nodeTab); in xmlFreeParserCtxt() 1787 if (ctxt->vctxt.nodeTab != NULL) xmlFree(ctxt->vctxt.nodeTab); in xmlFreeParserCtxt()
|
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 | 1947 list->nodesetval->nodeTab[indx]); in xmlShellPrintXPathResultCtxt() 3001 nodeTab[indx], NULL); in xmlShell() 3113 nodeTab[indx], NULL); in xmlShell() 3117 nodeTab[indx], NULL); in xmlShell() 3193 nodeTab[indx], NULL)) in xmlShell() 3265 ctxt->node = list->nodesetval->nodeTab[0]; in xmlShell() 3357 nodeTab[indx], NULL); in xmlShell()
|
D | runsuite.c | 259 (res->nodesetval->nodeTab != NULL)) in getNext() 260 ret = res->nodesetval->nodeTab[0]; in getNext()
|
D | schematron.c | 1259 node = ret->nodesetval->nodeTab[0]; in xmlSchematronGetNode()
|
D | parser.c | 1761 tmp = (xmlNodePtr *) xmlRealloc(ctxt->nodeTab, in nodePush() 1763 sizeof(ctxt->nodeTab[0])); in nodePush() 1768 ctxt->nodeTab = tmp; in nodePush() 1779 ctxt->nodeTab[ctxt->nodeNr] = value; in nodePush() 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() 13194 ctxt->vctxt.nodeTab = NULL; in xmlParseCtxtExternalEntity()
|
D | xmllint.c | 2096 node = cur->nodesetval->nodeTab[i]; in doXPathDump()
|
D | xmlreader.c | 1334 reader->node = reader->ctxt->nodeTab[0]; in xmlTextReaderRead()
|
/external/libxml2/include/libxml/ |
D | xpath.h | 84 xmlNodePtr *nodeTab; /* array of nodes in no particular order */ member 426 (ns)->nodeTab[(index)] \ 437 (((ns) == NULL) || ((ns)->nodeNr == 0) || ((ns)->nodeTab == NULL))
|
D | valid.h | 91 xmlNodePtr *nodeTab; /* array of nodes */ member
|
D | xpathInternals.h | 232 { while ((ns)->nodeNr > 0) (ns)->nodeTab[(ns)->nodeNr--] = NULL; }
|
D | parser.h | 208 xmlNodePtr *nodeTab; /* array of nodes */ member
|
/external/libxml2/python/ |
D | types.c | 428 (obj->nodesetval->nodeTab == NULL)) { in libxml_xmlXPathObjectPtrWrap() 434 node = obj->nodesetval->nodeTab[0]->children; in libxml_xmlXPathObjectPtrWrap() 440 node = obj->nodesetval->nodeTab[0]->children; in libxml_xmlXPathObjectPtrWrap() 461 node = obj->nodesetval->nodeTab[i]; in libxml_xmlXPathObjectPtrWrap() 468 obj->nodesetval->nodeTab[i] = NULL; in libxml_xmlXPathObjectPtrWrap()
|
D | libxml.c | 3520 nodeSet->nodeTab in PyxmlNodeSet_Convert() 3523 if (nodeSet->nodeTab == NULL) { in PyxmlNodeSet_Convert() 3528 memset(nodeSet->nodeTab, 0 , in PyxmlNodeSet_Convert() 3539 nodeSet->nodeTab[nodeSet->nodeNr++] = pynode; in PyxmlNodeSet_Convert() 3646 xmlFree(nodes->nodeTab); in libxml_C14NDocDumpMemory() 3661 xmlFree(nodes->nodeTab); in libxml_C14NDocDumpMemory() 3732 xmlFree(nodes->nodeTab); in libxml_C14NDocSaveTo() 3747 xmlFree(nodes->nodeTab); in libxml_C14NDocSaveTo()
|
/external/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()
|
/external/libxml2/doc/tutorial/ |
D | includexpath.c | 64 keyword = xmlNodeListGetString(doc, nodeset->nodeTab[i]->xmlChildrenNode, 1);
|
/external/libxml2/os400/libxmlrpg/ |
D | valid.rpgle | 68 d nodeTab * xmlNodePtr *
|
D | xpath.rpgle | 100 d nodeTab * xmlNodePtr *
|
D | parser.rpgle | 222 d nodeTab * xmlNodePtr *
|