Lines Matching defs:sym
787 struct symbol *sym;
793 sym = menu->sym;
798 sym_set_string_value(sym, new_def);
808 struct symbol *sym = menu->sym;
811 if (!sym)
823 switch (sym_get_type(sym)) {
826 if (!sym_tristate_within_range(sym, newval))
828 sym_set_tristate_value(sym, newval);
848 if (!menu->sym)
851 sym_toggle_tristate_value(menu->sym);
1040 struct symbol *sym = menu->sym;
1053 sym && !sym_has_value(sym) ? "(NEW)" : "");
1083 if (!sym)
1085 row[COL_NAME] = g_strdup(sym->name);
1087 sym_calc_value(sym);
1088 sym->flags &= ~SYMBOL_CHANGED;
1090 if (sym_is_choice(sym)) { // parse childs for getting final value
1092 struct symbol *def_sym = sym_get_choice_value(sym);
1099 && child->sym == def_sym)
1107 if (sym->flags & SYMBOL_CHOICEVAL)
1110 stype = sym_get_type(sym);
1115 if (sym_is_choice(sym))
1119 val = sym_get_tristate_value(sym);
1140 if (val != no && sym_tristate_within_range(sym, no))
1142 if (val != mod && sym_tristate_within_range(sym, mod))
1144 if (val != yes && sym_tristate_within_range(sym, yes))
1150 def = sym_get_string_value(sym);
1255 struct symbol *sym;
1264 sym = child1->sym;
1320 } else if (sym && (sym->flags & SYMBOL_CHANGED)) {
1336 struct symbol *sym;
1348 sym = child->sym;
1351 if (sym)
1352 sym->flags &= ~SYMBOL_CHANGED;
1371 if (sym) {
1372 printf("%s", sym_type_name(sym->type));
1374 printf("%s", dbg_sym_flags(sym->flags));