Lines Matching refs:csym
1053 static bool randomize_choice_values(struct symbol *csym) in randomize_choice_values() argument
1065 if (csym->curr.tri != yes) in randomize_choice_values()
1068 prop = sym_get_choice_prop(csym); in randomize_choice_values()
1085 csym->def[S_DEF_USER].val = sym; in randomize_choice_values()
1094 csym->flags |= SYMBOL_DEF_USER; in randomize_choice_values()
1096 csym->flags &= ~(SYMBOL_VALID); in randomize_choice_values()
1101 void set_all_choice_values(struct symbol *csym) in set_all_choice_values() argument
1107 prop = sym_get_choice_prop(csym); in set_all_choice_values()
1116 csym->flags |= SYMBOL_DEF_USER; in set_all_choice_values()
1118 csym->flags &= ~(SYMBOL_VALID | SYMBOL_NEED_SET_CHOICE_VALUES); in set_all_choice_values()
1123 struct symbol *sym, *csym; in conf_set_all_new_symbols() local
1226 for_all_symbols(i, csym) { in conf_set_all_new_symbols()
1227 if ((sym_is_choice(csym) && !sym_has_value(csym)) || in conf_set_all_new_symbols()
1228 sym_is_choice_value(csym)) in conf_set_all_new_symbols()
1229 csym->flags |= SYMBOL_NEED_SET_CHOICE_VALUES; in conf_set_all_new_symbols()
1233 for_all_symbols(i, csym) { in conf_set_all_new_symbols()
1234 if (sym_has_value(csym) || !sym_is_choice(csym)) in conf_set_all_new_symbols()
1237 sym_calc_value(csym); in conf_set_all_new_symbols()
1239 has_changed = randomize_choice_values(csym); in conf_set_all_new_symbols()
1241 set_all_choice_values(csym); in conf_set_all_new_symbols()