Lines Matching refs:cur_state

1051   re_dfastate_t *cur_state;  in check_matching()  local
1056 cur_state = acquire_init_state_context (&err, mctx, cur_str_idx); in check_matching()
1058 if (__glibc_unlikely (cur_state == NULL)) in check_matching()
1066 mctx->state_log[cur_str_idx] = cur_state; in check_matching()
1073 err = check_subexp_matching_top (mctx, &cur_state->nodes, 0); in check_matching()
1077 if (cur_state->has_backref) in check_matching()
1079 err = transit_state_bkref (mctx, &cur_state->nodes); in check_matching()
1087 if (__glibc_unlikely (cur_state->halt)) in check_matching()
1089 if (!cur_state->has_constraint in check_matching()
1090 || check_halt_state_context (mctx, cur_state, cur_str_idx)) in check_matching()
1104 re_dfastate_t *old_state = cur_state; in check_matching()
1120 cur_state = transit_state (&err, mctx, cur_state); in check_matching()
1122 cur_state = merge_state_with_log (&err, mctx, cur_state); in check_matching()
1124 if (cur_state == NULL) in check_matching()
1134 || (cur_state = find_recover_state (&err, mctx)) == NULL) in check_matching()
1140 if (old_state == cur_state) in check_matching()
1146 if (cur_state->halt) in check_matching()
1150 if (!cur_state->has_constraint in check_matching()
1151 || check_halt_state_context (mctx, cur_state, in check_matching()
2117 re_dfastate_t *cur_state; in sift_states_bkref() local
2148 cur_state = local_sctx.sifted_states[str_idx]; in sift_states_bkref()
2160 local_sctx.sifted_states[str_idx] = cur_state; in sift_states_bkref()
2349 re_dfastate_t *cur_state; in find_recover_state() local
2363 cur_state = merge_state_with_log (err, mctx, NULL); in find_recover_state()
2365 while (*err == REG_NOERROR && cur_state == NULL); in find_recover_state()
2366 return cur_state; in find_recover_state()
2840 re_dfastate_t *cur_state = NULL; in check_arrival() local
2891 cur_state = mctx->state_log[str_idx]; in check_arrival()
2892 if (cur_state && cur_state->has_backref) in check_arrival()
2894 err = re_node_set_init_copy (&next_nodes, &cur_state->nodes); in check_arrival()
2901 if (str_idx == top_str || (cur_state && cur_state->has_backref)) in check_arrival()
2913 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context); in check_arrival()
2914 if (__glibc_unlikely (cur_state == NULL && err != REG_NOERROR)) in check_arrival()
2919 mctx->state_log[str_idx] = cur_state; in check_arrival()
2935 if (cur_state) in check_arrival()
2938 &cur_state->non_eps_nodes, in check_arrival()
2964 cur_state = re_acquire_state_context (&err, dfa, &next_nodes, context); in check_arrival()
2965 if (__glibc_unlikely (cur_state == NULL && err != REG_NOERROR)) in check_arrival()
2970 mctx->state_log[str_idx] = cur_state; in check_arrival()
2971 null_cnt = cur_state == NULL ? null_cnt + 1 : 0; in check_arrival()