Searched refs:maxatts (Results 1 – 4 of 4) sorted by relevance
1192 int maxatts; in xmlCtxtGrowAttrs() local1195 maxatts = 55; /* allow for 10 attrs by default */ in xmlCtxtGrowAttrs()1197 xmlMalloc(maxatts * sizeof(xmlChar *)); in xmlCtxtGrowAttrs()1200 attallocs = (int *) xmlMalloc((maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1203 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()1204 } else if (nr + 5 > ctxt->maxatts) { in xmlCtxtGrowAttrs()1205 maxatts = (nr + 5) * 2; in xmlCtxtGrowAttrs()1207 maxatts * sizeof(const xmlChar *)); in xmlCtxtGrowAttrs()1211 (maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1214 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()[all …]
3436 int maxatts; in htmlParseStartTag() local3449 maxatts = ctxt->maxatts; in htmlParseStartTag()3538 maxatts = 22; /* allow for 10 attrs by default */ in htmlParseStartTag()3540 xmlMalloc(maxatts * sizeof(xmlChar *)); in htmlParseStartTag()3548 ctxt->maxatts = maxatts; in htmlParseStartTag()3549 } else if (nbatts + 4 > maxatts) { in htmlParseStartTag()3552 maxatts *= 2; in htmlParseStartTag()3554 maxatts * sizeof(const xmlChar *)); in htmlParseStartTag()3563 ctxt->maxatts = maxatts; in htmlParseStartTag()
1543 ctxt->maxatts = 0; in xmlInitParserCtxt()
262 int maxatts; /* the size of the array */ member