Searched refs:maxCounters (Results 1 – 1 of 1) sorted by relevance
263 int maxCounters; member1261 if (ctxt->maxCounters == 0) { in xmlRegGetCounter()1262 ctxt->maxCounters = 4; in xmlRegGetCounter()1263 ctxt->counters = (xmlRegCounter *) xmlMalloc(ctxt->maxCounters * in xmlRegGetCounter()1267 ctxt->maxCounters = 0; in xmlRegGetCounter()1270 } else if (ctxt->nbCounters >= ctxt->maxCounters) { in xmlRegGetCounter()1272 ctxt->maxCounters *= 2; in xmlRegGetCounter()1273 tmp = (xmlRegCounter *) xmlRealloc(ctxt->counters, ctxt->maxCounters * in xmlRegGetCounter()1277 ctxt->maxCounters /= 2; in xmlRegGetCounter()