Lines Matching refs:cur_state

1077   re_dfastate_t *cur_state;
1082 cur_state = acquire_init_state_context (&err, mctx, cur_str_idx);
1084 if (BE (cur_state == NULL, 0))
1092 mctx->state_log[cur_str_idx] = cur_state;
1099 err = check_subexp_matching_top (mctx, &cur_state->nodes, 0);
1103 if (cur_state->has_backref)
1105 err = transit_state_bkref (mctx, &cur_state->nodes);
1113 if (BE (cur_state->halt, 0))
1115 if (!cur_state->has_constraint
1116 || check_halt_state_context (mctx, cur_state, cur_str_idx))
1130 re_dfastate_t *old_state = cur_state;
1145 cur_state = transit_state (&err, mctx, cur_state);
1147 cur_state = merge_state_with_log (&err, mctx, cur_state);
1149 if (cur_state == NULL)
1159 || (cur_state = find_recover_state (&err, mctx)) == NULL)
1165 if (old_state == cur_state)
1171 if (cur_state->halt)
1175 if (!cur_state->has_constraint
1176 || check_halt_state_context (mctx, cur_state,
2154 re_dfastate_t *cur_state;
2185 cur_state = local_sctx.sifted_states[str_idx];
2197 local_sctx.sifted_states[str_idx] = cur_state;
2389 re_dfastate_t *cur_state = NULL;
2403 cur_state = merge_state_with_log (err, mctx, NULL);
2405 while (*err == REG_NOERROR && cur_state == NULL);
2406 return cur_state;
2878 re_dfastate_t *cur_state = NULL;
2925 cur_state = mctx->state_log[str_idx];
2926 if (cur_state && cur_state->has_backref)
2928 err = re_node_set_init_copy (&next_nodes, &cur_state->nodes);
2935 if (str_idx == top_str || (cur_state && cur_state->has_backref))
2947 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context);
2948 if (BE (cur_state == NULL && err != REG_NOERROR, 0))
2953 mctx->state_log[str_idx] = cur_state;
2969 if (cur_state)
2972 &cur_state->non_eps_nodes, &next_nodes);
2997 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context);
2998 if (BE (cur_state == NULL && err != REG_NOERROR, 0))
3003 mctx->state_log[str_idx] = cur_state;
3004 null_cnt = cur_state == NULL ? null_cnt + 1 : 0;