Searched refs:maxatts (Results 1 – 4 of 4) sorted by relevance
1435 int maxatts; in xmlCtxtGrowAttrs() local1438 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 …]
3444 int maxatts; in htmlParseStartTag() local3458 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()
1544 ctxt->maxatts = 0; in xmlInitParserCtxt()
262 int maxatts; /* the size of the array */ member