Lines Matching refs:rollbacks
318 xmlRegExecRollback *rollbacks;
3034 exec->rollbacks = (xmlRegExecRollback *) xmlMalloc(exec->maxRollbacks *
3036 if (exec->rollbacks == NULL) {
3041 memset(exec->rollbacks, 0,
3048 tmp = (xmlRegExecRollback *) xmlRealloc(exec->rollbacks,
3055 exec->rollbacks = tmp;
3056 tmp = &exec->rollbacks[len];
3059 exec->rollbacks[exec->nbRollbacks].state = exec->state;
3060 exec->rollbacks[exec->nbRollbacks].index = exec->index;
3061 exec->rollbacks[exec->nbRollbacks].nextbranch = exec->transno + 1;
3063 if (exec->rollbacks[exec->nbRollbacks].counts == NULL) {
3064 exec->rollbacks[exec->nbRollbacks].counts = (int *)
3066 if (exec->rollbacks[exec->nbRollbacks].counts == NULL) {
3072 memcpy(exec->rollbacks[exec->nbRollbacks].counts, exec->counts,
3088 exec->state = exec->rollbacks[exec->nbRollbacks].state;
3089 exec->index = exec->rollbacks[exec->nbRollbacks].index;
3090 exec->transno = exec->rollbacks[exec->nbRollbacks].nextbranch;
3092 if (exec->rollbacks[exec->nbRollbacks].counts == NULL) {
3097 memcpy(exec->counts, exec->rollbacks[exec->nbRollbacks].counts,
3125 exec->rollbacks = NULL;
3385 if (exec->rollbacks != NULL) {
3390 if (exec->rollbacks[i].counts != NULL)
3391 xmlFree(exec->rollbacks[i].counts);
3393 xmlFree(exec->rollbacks);
3446 exec->rollbacks = NULL;
3493 if (exec->rollbacks != NULL) {
3498 if (exec->rollbacks[i].counts != NULL)
3499 xmlFree(exec->rollbacks[i].counts);
3501 xmlFree(exec->rollbacks);