Lines Matching refs:cur_stree

46 static struct stree *cur_stree; /* current states */  variable
74 __print_stree(cur_stree); in __print_cur_stree()
97 if (!cur_stree) in unreachable()
182 ret = set_state_stree(&cur_stree, owner, name, sym, state); in set_state()
205 struct stree *orig = cur_stree; in __swap_cur_stree()
207 cur_stree = stree; in __swap_cur_stree()
288 overwrite_sm_state_stree(&cur_stree, sm); in __set_sm()
311 overwrite_sm_state_stree(&cur_stree, sm); in __set_sm_cur_stree()
402 sms = get_sm_state_stree(cur_stree, owner, name, sym); in get_possible_states()
432 return get_sm_state_stree(cur_stree, owner, name, sym); in get_sm_state()
453 delete_state_stree(&cur_stree, owner, name, sym); in delete_state()
506 delete_all_states_stree_sym(&cur_stree, sym); in __delete_all_states_sym()
541 return get_all_states_from_stree(owner, cur_stree); in get_all_states_stree()
546 return cur_stree; in __get_cur_stree()
551 if (cur_stree) in is_reachable()
644 free_stree(&cur_stree); in nullify_path()
661 if (!cur_stree) in __unnullify_path()
667 if (cur_stree) in __path_is_null()
682 __add_ptr_list(&backup, cur_stree); in save_all_states()
683 cur_stree = NULL; in save_all_states()
747 cur_stree = pop_backup(); in restore_all_states()
848 free_stree(&cur_stree); in __use_cond_stack()
850 cur_stree = pop_stree(&pre_cond_stack); in __use_cond_stack()
851 push_stree(&pre_cond_stack, clone_stree(cur_stree)); in __use_cond_stack()
854 overwrite_stree(stree, &cur_stree); in __use_cond_stack()
860 free_stree(&cur_stree); in __use_pre_cond_states()
861 cur_stree = pop_stree(&pre_cond_stack); in __use_pre_cond_states()
887 or_stree_stack(&pre_cond_stack, cur_stree, &cond_false_stack); in __and_cond_states()
892 or_stree_stack(&pre_cond_stack, cur_stree, &cond_true_stack); in __or_cond_states()
898 push_stree(&pre_cond_stack, clone_stree(cur_stree)); in __save_pre_cond_states()
930 free_stree(&cur_stree); in __use_cond_states()
931 cur_stree = pre; in __use_cond_states()
941 push_stree(&true_stack, clone_stree(cur_stree)); in __push_true_states()
946 free_stree(&cur_stree); in __use_false_states()
947 cur_stree = pop_stree(&false_stack); in __use_false_states()
963 merge_stree(&cur_stree, stree); in __merge_false_states()
1017 merge_stree(&cur_stree, stree); in __merge_true_states()
1041 stree = clone_stree(cur_stree); in __process_continues()
1043 merge_stree(&stree, cur_stree); in __process_continues()
1053 merge_stree(&cur_stree, stree); in __merge_continues()
1070 stree = clone_stree(cur_stree); in __process_breaks()
1072 merge_stree(&stree, cur_stree); in __process_breaks()
1103 merge_stree(&cur_stree, stree); in __merge_breaks()
1122 free_stree(&cur_stree); in __use_breaks()
1123 cur_stree = pop_stree(&break_stack); in __use_breaks()
1143 push_stree(&switch_stack, clone_stree(cur_stree)); in __save_switch_states()
1167 merge_stree(&cur_stree, implied_stree); in __merge_switches()
1220 merge_stree(stree, cur_stree); in __save_gotos()
1225 clone = clone_stree(cur_stree); in __save_gotos()
1237 merge_stree(&cur_stree, *stree); in __merge_gotos()