Searched refs:maxatts (Results 1 – 9 of 9) sorted by relevance
1698 int maxatts; in xmlCtxtGrowAttrs() local1701 maxatts = 55; /* allow for 10 attrs by default */ in xmlCtxtGrowAttrs()1703 xmlMalloc(maxatts * sizeof(xmlChar *)); in xmlCtxtGrowAttrs()1706 attallocs = (int *) xmlMalloc((maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1709 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()1710 } else if (nr + 5 > ctxt->maxatts) { in xmlCtxtGrowAttrs()1711 maxatts = (nr + 5) * 2; in xmlCtxtGrowAttrs()1713 maxatts * sizeof(const xmlChar *)); in xmlCtxtGrowAttrs()1717 (maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1720 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()[all …]
3772 int maxatts; in htmlParseStartTag() local3788 maxatts = ctxt->maxatts; in htmlParseStartTag()3887 maxatts = 22; /* allow for 10 attrs by default */ in htmlParseStartTag()3889 xmlMalloc(maxatts * sizeof(xmlChar *)); in htmlParseStartTag()3897 ctxt->maxatts = maxatts; in htmlParseStartTag()3898 } else if (nbatts + 4 > maxatts) { in htmlParseStartTag()3901 maxatts *= 2; in htmlParseStartTag()3903 maxatts * sizeof(const xmlChar *)); in htmlParseStartTag()3912 ctxt->maxatts = maxatts; in htmlParseStartTag()
294 int maxatts; /* the size of the array */ member
1646 ctxt->maxatts = 0; in xmlInitParserCtxt()
1714 int maxatts; in xmlCtxtGrowAttrs() local1717 maxatts = 55; /* allow for 10 attrs by default */ in xmlCtxtGrowAttrs()1719 xmlMalloc(maxatts * sizeof(xmlChar *)); in xmlCtxtGrowAttrs()1722 attallocs = (int *) xmlMalloc((maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1725 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()1726 } else if (nr + 5 > ctxt->maxatts) { in xmlCtxtGrowAttrs()1727 maxatts = (nr + 5) * 2; in xmlCtxtGrowAttrs()1729 maxatts * sizeof(const xmlChar *)); in xmlCtxtGrowAttrs()1733 (maxatts / 5) * sizeof(int)); in xmlCtxtGrowAttrs()1736 ctxt->maxatts = maxatts; in xmlCtxtGrowAttrs()[all …]
3939 int maxatts; in htmlParseStartTag() local3955 maxatts = ctxt->maxatts; in htmlParseStartTag()4064 maxatts = 22; /* allow for 10 attrs by default */ in htmlParseStartTag()4066 xmlMalloc(maxatts * sizeof(xmlChar *)); in htmlParseStartTag()4074 ctxt->maxatts = maxatts; in htmlParseStartTag()4075 } else if (nbatts + 4 > maxatts) { in htmlParseStartTag()4078 maxatts *= 2; in htmlParseStartTag()4080 maxatts * sizeof(const xmlChar *)); in htmlParseStartTag()4089 ctxt->maxatts = maxatts; in htmlParseStartTag()
1619 ctxt->maxatts = 0; in xmlInitParserCtxt()
267 int maxatts; /* the size of the array */ member
283 d maxatts like(xmlCint) Above array size