Lines Matching defs:sym
811 struct symbol *sym;
817 sym = menu->sym;
822 sym_set_string_value(sym, new_def);
832 struct symbol *sym = menu->sym;
835 if (!sym)
847 switch (sym_get_type(sym)) {
850 if (!sym_tristate_within_range(sym, newval))
852 sym_set_tristate_value(sym, newval);
872 if (!menu->sym)
875 sym_toggle_tristate_value(menu->sym);
1064 struct symbol *sym = menu->sym;
1077 sym && !sym_has_value(sym) ? "(NEW)" : "");
1107 if (!sym)
1109 row[COL_NAME] = g_strdup(sym->name);
1111 sym_calc_value(sym);
1112 sym->flags &= ~SYMBOL_CHANGED;
1114 if (sym_is_choice(sym)) { // parse childs for getting final value
1116 struct symbol *def_sym = sym_get_choice_value(sym);
1123 && child->sym == def_sym)
1131 if (sym->flags & SYMBOL_CHOICEVAL)
1134 stype = sym_get_type(sym);
1139 if (sym_is_choice(sym))
1143 val = sym_get_tristate_value(sym);
1164 if (val != no && sym_tristate_within_range(sym, no))
1166 if (val != mod && sym_tristate_within_range(sym, mod))
1168 if (val != yes && sym_tristate_within_range(sym, yes))
1174 def = sym_get_string_value(sym);
1279 struct symbol *sym;
1288 sym = child1->sym;
1344 } else if (sym && (sym->flags & SYMBOL_CHANGED)) {
1360 struct symbol *sym;
1372 sym = child->sym;
1375 if (sym)
1376 sym->flags &= ~SYMBOL_CHANGED;
1395 if (sym) {
1396 printf("%s", sym_type_name(sym->type));
1398 printf("%s", dbg_sym_flags(sym->flags));