Lines Matching refs:cur_state

1105   re_dfastate_t *cur_state;
1110 cur_state = acquire_init_state_context (&err, mctx, cur_str_idx);
1112 if (BE (cur_state == NULL, 0))
1120 mctx->state_log[cur_str_idx] = cur_state;
1127 err = check_subexp_matching_top (mctx, &cur_state->nodes, 0);
1131 if (cur_state->has_backref)
1133 err = transit_state_bkref (mctx, &cur_state->nodes);
1141 if (BE (cur_state->halt, 0))
1143 if (!cur_state->has_constraint
1144 || check_halt_state_context (mctx, cur_state, cur_str_idx))
1158 re_dfastate_t *old_state = cur_state;
1174 cur_state = transit_state (&err, mctx, cur_state);
1176 cur_state = merge_state_with_log (&err, mctx, cur_state);
1178 if (cur_state == NULL)
1188 || (cur_state = find_recover_state (&err, mctx)) == NULL)
1194 if (old_state == cur_state)
1200 if (cur_state->halt)
1204 if (!cur_state->has_constraint
1205 || check_halt_state_context (mctx, cur_state,
2183 re_dfastate_t *cur_state;
2214 cur_state = local_sctx.sifted_states[str_idx];
2226 local_sctx.sifted_states[str_idx] = cur_state;
2418 re_dfastate_t *cur_state;
2432 cur_state = merge_state_with_log (err, mctx, NULL);
2434 while (*err == REG_NOERROR && cur_state == NULL);
2435 return cur_state;
2910 re_dfastate_t *cur_state = NULL;
2957 cur_state = mctx->state_log[str_idx];
2958 if (cur_state && cur_state->has_backref)
2960 err = re_node_set_init_copy (&next_nodes, &cur_state->nodes);
2967 if (str_idx == top_str || (cur_state && cur_state->has_backref))
2979 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context);
2980 if (BE (cur_state == NULL && err != REG_NOERROR, 0))
2985 mctx->state_log[str_idx] = cur_state;
3001 if (cur_state)
3004 &cur_state->non_eps_nodes,
3030 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context);
3031 if (BE (cur_state == NULL && err != REG_NOERROR, 0))
3036 mctx->state_log[str_idx] = cur_state;
3037 null_cnt = cur_state == NULL ? null_cnt + 1 : 0;