Searched defs:maxStates (Results 1 - 1 of 1) sorted by relevance

/vbox/src/libs/libxml2-2.6.31/
H A Dxmlregexp.c253 int maxStates; member in struct:_xmlAutomata
1418 if (ctxt->maxStates == 0) {
1419 ctxt->maxStates = 4;
1420 ctxt->states = (xmlRegStatePtr *) xmlMalloc(ctxt->maxStates *
1424 ctxt->maxStates = 0;
1427 } else if (ctxt->nbStates >= ctxt->maxStates) {
1429 ctxt->maxStates *= 2;
1430 tmp = (xmlRegStatePtr *) xmlRealloc(ctxt->states, ctxt->maxStates *
1434 ctxt->maxStates /= 2;

Completed in 52 milliseconds