Searched refs:maxTrans (Results 1 – 1 of 1) sorted by relevance
234 int maxTrans; member1414 if (state->maxTrans == 0) { in xmlRegStateAddTrans()1415 state->maxTrans = 8; in xmlRegStateAddTrans()1416 state->trans = (xmlRegTrans *) xmlMalloc(state->maxTrans * in xmlRegStateAddTrans()1420 state->maxTrans = 0; in xmlRegStateAddTrans()1423 } else if (state->nbTrans >= state->maxTrans) { in xmlRegStateAddTrans()1425 state->maxTrans *= 2; in xmlRegStateAddTrans()1426 tmp = (xmlRegTrans *) xmlRealloc(state->trans, state->maxTrans * in xmlRegStateAddTrans()1430 state->maxTrans /= 2; in xmlRegStateAddTrans()