Home
last modified time | relevance | path

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

/external/libxml2/
Dc14n.c47 xmlNsPtr *nsTab; /* array of ns in no particular order */ member
293 if(cur->nsTab != NULL) { in xmlC14NVisibleNsStackDestroy()
294 memset(cur->nsTab, 0, cur->nsMax * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackDestroy()
295 xmlFree(cur->nsTab); in xmlC14NVisibleNsStackDestroy()
309 ((cur->nsTab == NULL) && (cur->nodeTab != NULL)) || in xmlC14NVisibleNsStackAdd()
310 ((cur->nsTab != NULL) && (cur->nodeTab == NULL))) { in xmlC14NVisibleNsStackAdd()
315 if ((cur->nsTab == NULL) && (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
316 cur->nsTab = (xmlNsPtr*) xmlMalloc(XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()
318 if ((cur->nsTab == NULL) || (cur->nodeTab == NULL)) { in xmlC14NVisibleNsStackAdd()
322 memset(cur->nsTab, 0 , XML_NAMESPACES_DEFAULT * sizeof(xmlNsPtr)); in xmlC14NVisibleNsStackAdd()
[all …]
Dparser.c1372 if (ctxt->nsTab[i] == prefix) { in nsPush()
1374 if (ctxt->nsTab[i + 1] == URL) in nsPush()
1381 if ((ctxt->nsMax == 0) || (ctxt->nsTab == NULL)) { in nsPush()
1384 ctxt->nsTab = (const xmlChar **) in nsPush()
1386 if (ctxt->nsTab == NULL) { in nsPush()
1394 tmp = (const xmlChar **) xmlRealloc((char *) ctxt->nsTab, in nsPush()
1395 ctxt->nsMax * sizeof(ctxt->nsTab[0])); in nsPush()
1401 ctxt->nsTab = tmp; in nsPush()
1403 ctxt->nsTab[ctxt->nsNr++] = prefix; in nsPush()
1404 ctxt->nsTab[ctxt->nsNr++] = URL; in nsPush()
[all …]
DparserInternals.c1715 if (ctxt->nsTab != NULL) xmlFree((char *) ctxt->nsTab); in xmlFreeParserCtxt()
/external/libxml2/patches/
D0001-Add-ICU-support-for-libxml.patch466 const xmlChar * *nsTab; /* the array of prefix/namespace name */
529 return(ctxt->nsTab[i + 1]);
/external/libxml2/include/libxml/
Dparser.h278 const xmlChar * *nsTab; /* the array of prefix/namespace name */ member