Lines Matching refs:sym
763 struct symbol *sym; in build_conf() local
773 sym = menu->sym; in build_conf()
775 if (!sym) { in build_conf()
819 type = sym_get_type(sym); in build_conf()
820 if (sym_is_choice(sym)) { in build_conf()
826 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
830 val = sym_get_tristate_value(sym); in build_conf()
846 val = sym_get_tristate_value(sym); in build_conf()
849 if (sym_is_changeable(sym)) in build_conf()
868 if (sym_is_changeable(sym)) { in build_conf()
869 if (sym->rev_dep.tri == mod) in build_conf()
877 tmp = 2 + strlen(sym_get_string_value(sym)); in build_conf()
879 sym_get_string_value(sym)); in build_conf()
884 (sym_has_value(sym) || in build_conf()
885 !sym_is_changeable(sym)) ? "" : " (NEW)"); in build_conf()
890 (sym_has_value(sym) || !sym_is_changeable(sym)) ? in build_conf()
1059 struct symbol *sym; in selected_conf() local
1160 sym = submenu->sym; in selected_conf()
1165 sym_toggle_tristate_value(sym); in selected_conf()
1180 if (sym_is_choice(sym)) in selected_conf()
1186 sym_toggle_tristate_value(sym); in selected_conf()
1195 if (sym_set_tristate_value(sym, yes)) in selected_conf()
1197 if (sym_set_tristate_value(sym, mod)) in selected_conf()
1203 sym_set_tristate_value(sym, no); in selected_conf()
1207 sym_set_tristate_value(sym, mod); in selected_conf()
1254 if (child->sym == sym_calc_choice(menu)) in conf_choice()
1257 else if (child->sym) in conf_choice()
1264 if (child->sym == active){ in conf_choice()
1331 if (!child || !menu_is_visible(child) || !child->sym) in conf_choice()
1337 choice_set_value(menu, child->sym); in conf_choice()
1342 active = child->sym; in conf_choice()
1358 switch (sym_get_type(menu->sym)) { in conf_string()
1374 sym_get_string_value(menu->sym), in conf_string()
1379 if (sym_set_string_value(menu->sym, in conf_string()