Searched refs:maxTrans (Results 1 – 1 of 1) sorted by relevance
228 int maxTrans; member1382 if (state->maxTrans == 0) { in xmlRegStateAddTrans()1383 state->maxTrans = 8; in xmlRegStateAddTrans()1384 state->trans = (xmlRegTrans *) xmlMalloc(state->maxTrans * in xmlRegStateAddTrans()1388 state->maxTrans = 0; in xmlRegStateAddTrans()1391 } else if (state->nbTrans >= state->maxTrans) { in xmlRegStateAddTrans()1393 state->maxTrans *= 2; in xmlRegStateAddTrans()1394 tmp = (xmlRegTrans *) xmlRealloc(state->trans, state->maxTrans * in xmlRegStateAddTrans()1398 state->maxTrans /= 2; in xmlRegStateAddTrans()