Lines Matching defs:sym
780 struct symbol *sym;
786 sym = menu->sym;
791 sym_set_string_value(sym, new_def);
801 struct symbol *sym = menu->sym;
804 if (!sym)
816 switch (sym_get_type(sym)) {
819 if (!sym_tristate_within_range(sym, newval))
821 sym_set_tristate_value(sym, newval);
841 if (!menu->sym)
844 sym_toggle_tristate_value(menu->sym);
1033 struct symbol *sym = menu->sym;
1051 sym && !sym_has_value(sym) ? "(NEW)" : "");
1080 if (!sym)
1082 row[COL_NAME] = g_strdup(sym->name);
1084 sym_calc_value(sym);
1085 sym->flags &= ~SYMBOL_CHANGED;
1087 if (sym_is_choice(sym)) { // parse childs for getting final value
1089 struct symbol *def_sym = sym_get_choice_value(sym);
1096 && child->sym == def_sym)
1104 if (sym->flags & SYMBOL_CHOICEVAL)
1107 stype = sym_get_type(sym);
1112 if (sym_is_choice(sym))
1116 val = sym_get_tristate_value(sym);
1137 if (val != no && sym_tristate_within_range(sym, no))
1139 if (val != mod && sym_tristate_within_range(sym, mod))
1141 if (val != yes && sym_tristate_within_range(sym, yes))
1147 def = sym_get_string_value(sym);
1252 struct symbol *sym;
1261 sym = child1->sym;
1317 } else if (sym && (sym->flags & SYMBOL_CHANGED)) {
1333 struct symbol *sym;
1345 sym = child->sym;
1348 if (sym)
1349 sym->flags &= ~SYMBOL_CHANGED;
1368 if (sym) {
1369 printf("%s", sym_type_name(sym->type));
1371 printf("%s", dbg_sym_flags(sym->flags));