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