Lines Matching refs:freeState
377 xmlRelaxNGStatesPtr freeState; /* the pool of free valid states */ member
1206 if ((ctxt->freeState != NULL) && (ctxt->freeState->nbState > 0)) { in xmlRelaxNGNewValidState()
1207 ctxt->freeState->nbState--; in xmlRelaxNGNewValidState()
1208 ret = ctxt->freeState->tabState[ctxt->freeState->nbState]; in xmlRelaxNGNewValidState()
1288 if ((ctxt->freeState != NULL) && (ctxt->freeState->nbState > 0)) { in xmlRelaxNGCopyValidState()
1289 ctxt->freeState->nbState--; in xmlRelaxNGCopyValidState()
1290 ret = ctxt->freeState->tabState[ctxt->freeState->nbState]; in xmlRelaxNGCopyValidState()
1389 if ((ctxt != NULL) && (ctxt->freeState == NULL)) { in xmlRelaxNGFreeValidState()
1390 ctxt->freeState = xmlRelaxNGNewStates(ctxt, 40); in xmlRelaxNGFreeValidState()
1392 if ((ctxt == NULL) || (ctxt->freeState == NULL)) { in xmlRelaxNGFreeValidState()
1397 xmlRelaxNGAddStatesUniq(ctxt, ctxt->freeState, state); in xmlRelaxNGFreeValidState()
10932 ret->freeState = NULL; in xmlRelaxNGNewValidCtxt()
10953 if (ctxt->freeState != NULL) { in xmlRelaxNGFreeValidCtxt()
10954 for (k = 0; k < ctxt->freeState->nbState; k++) { in xmlRelaxNGFreeValidCtxt()
10955 xmlRelaxNGFreeValidState(NULL, ctxt->freeState->tabState[k]); in xmlRelaxNGFreeValidCtxt()
10957 xmlRelaxNGFreeStates(NULL, ctxt->freeState); in xmlRelaxNGFreeValidCtxt()