Lines Matching refs:sym
734 struct symbol *sym; in build_conf() local
744 sym = menu->sym; in build_conf()
746 if (!sym) { in build_conf()
791 type = sym_get_type(sym); in build_conf()
792 if (sym_is_choice(sym)) { in build_conf()
793 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf()
798 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
802 val = sym_get_tristate_value(sym); in build_conf()
803 if (sym_is_changable(sym)) { in build_conf()
851 val = sym_get_tristate_value(sym); in build_conf()
852 if (sym_is_choice_value(sym) && val == yes) { in build_conf()
857 if (sym_is_changable(sym)) in build_conf()
876 if (sym_is_changable(sym)) { in build_conf()
877 if (sym->rev_dep.tri == mod) in build_conf()
887 tmp = 2 + strlen(sym_get_string_value(sym)); in build_conf()
889 sym_get_string_value(sym)); in build_conf()
895 (sym_has_value(sym) || in build_conf()
896 !sym_is_changable(sym)) ? "" : in build_conf()
903 (sym_has_value(sym) || !sym_is_changable(sym)) ? in build_conf()
1069 struct symbol *sym; in conf() local
1159 sym = submenu->sym; in conf()
1161 sym = NULL; in conf()
1166 sym_toggle_tristate_value(sym); in conf()
1181 if (sym_is_choice(sym) && in conf()
1182 sym_get_tristate_value(sym) == yes) in conf()
1188 sym_toggle_tristate_value(sym); in conf()
1197 if (sym_set_tristate_value(sym, yes)) in conf()
1199 if (sym_set_tristate_value(sym, mod)) in conf()
1205 sym_set_tristate_value(sym, no); in conf()
1209 sym_set_tristate_value(sym, mod); in conf()
1227 if (menu && menu->sym && menu_has_help(menu)) { in show_help()
1228 if (menu->sym->name) { in show_help()
1229 str_printf(&help, "%s%s:\n\n", CONFIG_, menu->sym->name); in show_help()
1232 get_symbol_str(&help, menu->sym); in show_help()
1257 active = sym_get_choice_value(menu->sym); in conf_choice()
1266 if (child->sym == sym_get_choice_value(menu->sym)) in conf_choice()
1269 else if (child->sym) in conf_choice()
1276 if (child->sym == active){ in conf_choice()
1341 if (!child || !menu_is_visible(child) || !child->sym) in conf_choice()
1347 sym_set_tristate_value(child->sym, yes); in conf_choice()
1352 active = child->sym; in conf_choice()
1369 switch (sym_get_type(menu->sym)) { in conf_string()
1385 sym_get_string_value(menu->sym), in conf_string()
1390 if (sym_set_string_value(menu->sym, in conf_string()