Lines Matching refs:sym
735 struct symbol *sym; in build_conf() local
745 sym = menu->sym; in build_conf()
747 if (!sym) { in build_conf()
792 type = sym_get_type(sym); in build_conf()
793 if (sym_is_choice(sym)) { in build_conf()
794 struct symbol *def_sym = sym_get_choice_value(sym); in build_conf()
799 if (menu_is_visible(child) && child->sym == def_sym) in build_conf()
803 val = sym_get_tristate_value(sym); in build_conf()
804 if (sym_is_changable(sym)) { in build_conf()
852 val = sym_get_tristate_value(sym); in build_conf()
853 if (sym_is_choice_value(sym) && val == yes) { in build_conf()
858 if (sym_is_changable(sym)) in build_conf()
877 if (sym_is_changable(sym)) { in build_conf()
878 if (sym->rev_dep.tri == mod) in build_conf()
888 tmp = 2 + strlen(sym_get_string_value(sym)); in build_conf()
890 sym_get_string_value(sym)); in build_conf()
896 (sym_has_value(sym) || in build_conf()
897 !sym_is_changable(sym)) ? "" : in build_conf()
904 (sym_has_value(sym) || !sym_is_changable(sym)) ? in build_conf()
1070 struct symbol *sym; in conf() local
1157 sym = submenu->sym; in conf()
1162 sym_toggle_tristate_value(sym); in conf()
1177 if (sym_is_choice(sym) && in conf()
1178 sym_get_tristate_value(sym) == yes) in conf()
1184 sym_toggle_tristate_value(sym); in conf()
1193 if (sym_set_tristate_value(sym, yes)) in conf()
1195 if (sym_set_tristate_value(sym, mod)) in conf()
1201 sym_set_tristate_value(sym, no); in conf()
1205 sym_set_tristate_value(sym, mod); in conf()
1246 active = sym_get_choice_value(menu->sym); in conf_choice()
1255 if (child->sym == sym_get_choice_value(menu->sym)) in conf_choice()
1258 else if (child->sym) in conf_choice()
1265 if (child->sym == active){ in conf_choice()
1330 if (!child || !menu_is_visible(child) || !child->sym) in conf_choice()
1336 sym_set_tristate_value(child->sym, yes); in conf_choice()
1341 active = child->sym; in conf_choice()
1357 switch (sym_get_type(menu->sym)) { in conf_string()
1373 sym_get_string_value(menu->sym), in conf_string()
1378 if (sym_set_string_value(menu->sym, in conf_string()