Searched refs:maxatts (Results 1 – 4 of 4) sorted by relevance
1590 int maxatts; in xmlCtxtGrowAttrs() local1593 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 …]
3598 int maxatts; in htmlParseStartTag() local3614 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()
1630 ctxt->maxatts = 0; in xmlInitParserCtxt()
265 int maxatts; /* the size of the array */ member