Lines Matching refs:sym

456 	struct symbol *sym;  in build_conf()  local
474 sym = menu->sym; in build_conf()
476 if (!sym) { in build_conf()
516 type = sym_get_type(sym); in build_conf()
517 if (sym_is_choice(sym)) { in build_conf()
523 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
543 val = sym_get_tristate_value(sym); in build_conf()
546 if (sym_is_changeable(sym)) in build_conf()
559 if (sym_is_changeable(sym)) { in build_conf()
560 if (sym->rev_dep.tri == mod) in build_conf()
570 tmp = 2 + strlen(sym_get_string_value(sym)); /* () = 2 */ in build_conf()
571 item_make("(%s)", sym_get_string_value(sym)); in build_conf()
576 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf()
583 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf()
614 if (child->sym) in conf_choice()
621 if (child->sym == active) in conf_choice()
623 if (child->sym == sym_calc_choice(menu)) in conf_choice()
637 if (!child->sym) in conf_choice()
640 choice_set_value(menu, child->sym); in conf_choice()
647 active = child->sym; in conf_choice()
667 switch (sym_get_type(menu->sym)) { in conf_string()
683 sym_get_string_value(menu->sym)); in conf_string()
686 if (sym_set_string_value(menu->sym, dialog_input_result)) in conf_string()
758 struct symbol *sym; in conf() local
790 sym = submenu->sym; in conf()
792 sym = NULL; in conf()
804 if (sym_is_choice(sym)) in conf()
815 if (sym) in conf()
832 if (sym_set_tristate_value(sym, yes)) in conf()
834 if (sym_set_tristate_value(sym, mod)) in conf()
840 sym_set_tristate_value(sym, no); in conf()
844 sym_set_tristate_value(sym, mod); in conf()
848 sym_toggle_tristate_value(sym); in conf()