Home
last modified time | relevance | path

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

/external/libxml2/
Dparser.c1590 int maxatts; in xmlCtxtGrowAttrs() local
1593 maxatts = 55; /* allow for 10 attrs by default */ in xmlCtxtGrowAttrs()
1595 xmlMalloc(maxatts * sizeof(xmlChar *)); in xmlCtxtGrowAttrs()
1598 attallocs = (int *) xmlMalloc((maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()
1601 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()
1602 } else if (nr + 5 > ctxt->maxatts) { in xmlCtxtGrowAttrs()
1603 maxatts = (nr + 5) * 2; in xmlCtxtGrowAttrs()
1605 maxatts * sizeof(const xmlChar *)); in xmlCtxtGrowAttrs()
1609 (maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()
1612 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()
[all …]
DHTMLparser.c3598 int maxatts; in htmlParseStartTag() local
3614 maxatts = ctxt->maxatts; in htmlParseStartTag()
3705 maxatts = 22; /* allow for 10 attrs by default */ in htmlParseStartTag()
3707 xmlMalloc(maxatts * sizeof(xmlChar *)); in htmlParseStartTag()
3715 ctxt->maxatts = maxatts; in htmlParseStartTag()
3716 } else if (nbatts + 4 > maxatts) { in htmlParseStartTag()
3719 maxatts *= 2; in htmlParseStartTag()
3721 maxatts * sizeof(const xmlChar *)); in htmlParseStartTag()
3730 ctxt->maxatts = maxatts; in htmlParseStartTag()
DparserInternals.c1630 ctxt->maxatts = 0; in xmlInitParserCtxt()
/external/libxml2/include/libxml/
Dparser.h265 int maxatts; /* the size of the array */ member