Searched refs:maxatts (Results 1 – 5 of 5) sorted by relevance
1669 int maxatts; in xmlCtxtGrowAttrs() local1672 maxatts = 55; /* allow for 10 attrs by default */ in xmlCtxtGrowAttrs()1674 xmlMalloc(maxatts * sizeof(xmlChar *)); in xmlCtxtGrowAttrs()1677 attallocs = (int *) xmlMalloc((maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1680 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()1681 } else if (nr + 5 > ctxt->maxatts) { in xmlCtxtGrowAttrs()1682 maxatts = (nr + 5) * 2; in xmlCtxtGrowAttrs()1684 maxatts * sizeof(const xmlChar *)); in xmlCtxtGrowAttrs()1688 (maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1691 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()[all …]
3743 int maxatts; in htmlParseStartTag() local3759 maxatts = ctxt->maxatts; in htmlParseStartTag()3858 maxatts = 22; /* allow for 10 attrs by default */ in htmlParseStartTag()3860 xmlMalloc(maxatts * sizeof(xmlChar *)); in htmlParseStartTag()3868 ctxt->maxatts = maxatts; in htmlParseStartTag()3869 } else if (nbatts + 4 > maxatts) { in htmlParseStartTag()3872 maxatts *= 2; in htmlParseStartTag()3874 maxatts * sizeof(const xmlChar *)); in htmlParseStartTag()3883 ctxt->maxatts = maxatts; in htmlParseStartTag()
1617 ctxt->maxatts = 0; in xmlInitParserCtxt()
265 int maxatts; /* the size of the array */ member
283 d maxatts like(xmlCint) Above array size