Lines Matching refs:cur_state

973   re_dfastate_t *cur_state;
975 cur_state = acquire_init_state_context (&err, preg, mctx, cur_str_idx);
977 if (BE (cur_state == NULL, 0))
980 mctx->state_log[cur_str_idx] = cur_state;
986 err = check_subexp_matching_top (dfa, mctx, &cur_state->nodes, 0);
991 if (cur_state->has_backref)
993 err = transit_state_bkref (preg, &cur_state->nodes, mctx);
999 if (cur_state->halt)
1001 if (!cur_state->has_constraint
1002 || check_halt_state_context (preg, cur_state, mctx, cur_str_idx))
1016 cur_state = transit_state (&err, preg, mctx, cur_state,
1018 if (cur_state == NULL) /* Reached at the invalid state or an error. */
1031 cur_state = acquire_init_state_context (&err, preg, mctx,
1033 if (BE (cur_state == NULL && err != REG_NOERROR, 0))
1036 mctx->state_log[cur_str_idx] = cur_state;
1056 if (cur_state != NULL && cur_state->halt)
1060 if (!cur_state->has_constraint
1061 || check_halt_state_context (preg, cur_state, mctx,
1940 re_dfastate_t *cur_state;
1968 cur_state = local_sctx.sifted_states[str_idx];
1980 local_sctx.sifted_states[str_idx] = cur_state;
2652 re_dfastate_t *cur_state = NULL;
2697 cur_state = mctx->state_log[str_idx];
2698 if (cur_state && cur_state->has_backref)
2700 err = re_node_set_init_copy (&next_nodes, &cur_state->nodes);
2707 if (str_idx == top_str || (cur_state && cur_state->has_backref))
2719 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context);
2720 if (BE (cur_state == NULL && err != REG_NOERROR, 0))
2725 mctx->state_log[str_idx] = cur_state;
2741 if (cur_state)
2744 &cur_state->nodes, &next_nodes);
2771 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context);
2772 if (BE (cur_state == NULL && err != REG_NOERROR, 0))
2777 mctx->state_log[str_idx] = cur_state;
2778 null_cnt = cur_state == NULL ? null_cnt + 1 : 0;