Home
last modified time | relevance | path

Searched refs:maxatts (Results 1 – 4 of 4) sorted by relevance

/external/libxml2/
Dparser.c1435 int maxatts; in xmlCtxtGrowAttrs() local
1438 maxatts = 55; /* allow for 10 attrs by default */ in xmlCtxtGrowAttrs()
1440 xmlMalloc(maxatts * sizeof(xmlChar *)); in xmlCtxtGrowAttrs()
1443 attallocs = (int *) xmlMalloc((maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()
1446 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()
1447 } else if (nr + 5 > ctxt->maxatts) { in xmlCtxtGrowAttrs()
1448 maxatts = (nr + 5) * 2; in xmlCtxtGrowAttrs()
1450 maxatts * sizeof(const xmlChar *)); in xmlCtxtGrowAttrs()
1454 (maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()
1457 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()
[all …]
DHTMLparser.c3444 int maxatts; in htmlParseStartTag() local
3458 maxatts = ctxt->maxatts; in htmlParseStartTag()
3548 maxatts = 22; /* allow for 10 attrs by default */ in htmlParseStartTag()
3550 xmlMalloc(maxatts * sizeof(xmlChar *)); in htmlParseStartTag()
3558 ctxt->maxatts = maxatts; in htmlParseStartTag()
3559 } else if (nbatts + 4 > maxatts) { in htmlParseStartTag()
3562 maxatts *= 2; in htmlParseStartTag()
3564 maxatts * sizeof(const xmlChar *)); in htmlParseStartTag()
3573 ctxt->maxatts = maxatts; in htmlParseStartTag()
DparserInternals.c1544 ctxt->maxatts = 0; in xmlInitParserCtxt()
/external/libxml2/include/libxml/
Dparser.h262 int maxatts; /* the size of the array */ member