Lines Matching refs:freeStates
380 xmlRelaxNGStatesPtr *freeStates; /* the pool of free state groups */ member
1013 (ctxt->freeStates != NULL) && (ctxt->freeStatesNr > 0)) { in xmlRelaxNGNewStates()
1015 ret = ctxt->freeStates[ctxt->freeStatesNr]; in xmlRelaxNGNewStates()
1141 if ((ctxt != NULL) && (ctxt->freeStates == NULL)) { in xmlRelaxNGFreeStates()
1144 ctxt->freeStates = (xmlRelaxNGStatesPtr *) in xmlRelaxNGFreeStates()
1146 if (ctxt->freeStates == NULL) { in xmlRelaxNGFreeStates()
1153 tmp = (xmlRelaxNGStatesPtr *) xmlRealloc(ctxt->freeStates, in xmlRelaxNGFreeStates()
1163 ctxt->freeStates = tmp; in xmlRelaxNGFreeStates()
1166 if ((ctxt == NULL) || (ctxt->freeStates == NULL)) { in xmlRelaxNGFreeStates()
1170 ctxt->freeStates[ctxt->freeStatesNr++] = states; in xmlRelaxNGFreeStates()
10907 ret->freeStates = NULL; in xmlRelaxNGNewValidCtxt()
10933 if (ctxt->freeStates != NULL) { in xmlRelaxNGFreeValidCtxt()
10935 xmlRelaxNGFreeStates(NULL, ctxt->freeStates[k]); in xmlRelaxNGFreeValidCtxt()
10937 xmlFree(ctxt->freeStates); in xmlRelaxNGFreeValidCtxt()