Home
last modified time | relevance | path

Searched refs:nsTab (Results 1 – 8 of 8) sorted by relevance

/external/libxml2/
Dc14n.c47 xmlNsPtr *nsTab; /* array of ns in no particular order */ member
299 if(cur->nsTab != NULL) { in xmlC14NVisibleNsStackDestroy()
300 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()
301 xmlFree(cur->nsTab); in xmlC14NVisibleNsStackDestroy()
315 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()
316 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()
321 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
322 cur->nsTab = (xmlNsPtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()
324 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
328 memset(cur->nsTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()
[all …]
Dparser.c1598 if (ctxt->nsTab[i] == prefix) { in nsPush()
1600 if (ctxt->nsTab[i + 1] == URL) in nsPush()
1607 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()
1610 ctxt->nsTab = (const xmlChar **) in nsPush()
1612 if (ctxt->nsTab == NULL) { in nsPush()
1620 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()
1621 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()
1627 ctxt->nsTab = tmp; in nsPush()
1629 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()
1630 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()
[all …]
DparserInternals.c1833 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
/external/cronet/third_party/libxml/src/
Dparser.c1596 if (ctxt->nsTab[i] == prefix) { in nsPush()
1598 if (ctxt->nsTab[i + 1] == URL) in nsPush()
1605 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()
1608 ctxt->nsTab = (const xmlChar **) in nsPush()
1610 if (ctxt->nsTab == NULL) { in nsPush()
1618 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()
1619 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()
1625 ctxt->nsTab = tmp; in nsPush()
1627 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()
1628 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()
[all …]
DparserInternals.c1818 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
/external/libxml2/include/libxml/
Dparser.h278 const xmlChar * *nsTab; /* the array of prefix/namespace name */ member
/external/cronet/third_party/libxml/src/include/libxml/
Dparser.h278 const xmlChar * *nsTab; /* the array of prefix/namespace name */ member
/external/libxml2/os400/libxmlrpg/
Dparser.rpgle297 d nsTab * const xmlChar *