Lines Matching refs:freeStates
379 xmlRelaxNGStatesPtr *freeStates; /* the pool of free state groups */ member
1012 (ctxt->freeStates != NULL) && (ctxt->freeStatesNr > 0)) { in xmlRelaxNGNewStates()
1014 ret = ctxt->freeStates[ctxt->freeStatesNr]; in xmlRelaxNGNewStates()
1140 if ((ctxt != NULL) && (ctxt->freeStates == NULL)) { in xmlRelaxNGFreeStates()
1143 ctxt->freeStates = (xmlRelaxNGStatesPtr *) in xmlRelaxNGFreeStates()
1145 if (ctxt->freeStates == NULL) { in xmlRelaxNGFreeStates()
1152 tmp = (xmlRelaxNGStatesPtr *) xmlRealloc(ctxt->freeStates, in xmlRelaxNGFreeStates()
1162 ctxt->freeStates = tmp; in xmlRelaxNGFreeStates()
1165 if ((ctxt == NULL) || (ctxt->freeStates == NULL)) { in xmlRelaxNGFreeStates()
1169 ctxt->freeStates[ctxt->freeStatesNr++] = states; in xmlRelaxNGFreeStates()
10881 ret->freeStates = NULL; in xmlRelaxNGNewValidCtxt()
10907 if (ctxt->freeStates != NULL) { in xmlRelaxNGFreeValidCtxt()
10909 xmlRelaxNGFreeStates(NULL, ctxt->freeStates[k]); in xmlRelaxNGFreeValidCtxt()
10911 xmlFree(ctxt->freeStates); in xmlRelaxNGFreeValidCtxt()