Searched refs:maxAttrs (Results 1 – 4 of 4) sorted by relevance
305 int maxAttrs; /* the size of attrs */ member1230 ret->maxAttrs = 4; in xmlRelaxNGNewValidState()1232 ret->maxAttrs = nbAttrs; in xmlRelaxNGNewValidState()1233 ret->attrs = (xmlAttrPtr *) xmlMalloc(ret->maxAttrs * in xmlRelaxNGNewValidState()1239 } else if (ret->maxAttrs < nbAttrs) { in xmlRelaxNGNewValidState()1249 ret->maxAttrs = nbAttrs; in xmlRelaxNGNewValidState()1281 unsigned int maxAttrs; in xmlRelaxNGCopyValidState() local1300 maxAttrs = ret->maxAttrs; in xmlRelaxNGCopyValidState()1303 ret->maxAttrs = maxAttrs; in xmlRelaxNGCopyValidState()1306 ret->maxAttrs = state->maxAttrs; in xmlRelaxNGCopyValidState()[all …]
1015 int maxAttrs; /* the size of the array */ member1173 defaults->maxAttrs = 4; in xmlAddDefAttrs()1179 } else if (defaults->nbAttrs >= defaults->maxAttrs) { in xmlAddDefAttrs()1183 (2 * defaults->maxAttrs * 5) * sizeof(const xmlChar *)); in xmlAddDefAttrs()1187 defaults->maxAttrs *= 2; in xmlAddDefAttrs()
1005 int maxAttrs; /* the size of the array */ member1163 defaults->maxAttrs = 4; in xmlAddDefAttrs()1169 } else if (defaults->nbAttrs >= defaults->maxAttrs) { in xmlAddDefAttrs()1173 (2 * defaults->maxAttrs * 5) * sizeof(const xmlChar *)); in xmlAddDefAttrs()1177 defaults->maxAttrs *= 2; in xmlAddDefAttrs()