• Home
  • Raw
  • Download

Lines Matching refs:sym

106 	struct symbol* sym;  in updateMenu()  local
119 sym = menu->sym; in updateMenu()
129 if (sym && list->rootEntry == menu) in updateMenu()
133 if (sym) in updateMenu()
144 if (!sym) in updateMenu()
147 setText(nameColIdx, QString::fromLocal8Bit(sym->name)); in updateMenu()
149 type = sym_get_type(sym); in updateMenu()
155 if (!sym_is_changeable(sym) && list->optMode == normalOpt) { in updateMenu()
162 expr = sym_get_tristate_value(sym); in updateMenu()
165 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu()
178 if (sym_is_choice_value(sym) && type == S_BOOLEAN) in updateMenu()
187 setText(noColIdx, sym_tristate_within_range(sym, no) ? "_" : 0); in updateMenu()
189 setText(modColIdx, sym_tristate_within_range(sym, mod) ? "_" : 0); in updateMenu()
191 setText(yesColIdx, sym_tristate_within_range(sym, yes) ? "_" : 0); in updateMenu()
200 data = sym_get_string_value(sym); in updateMenu()
209 if (!sym_has_value(sym) && visible) in updateMenu()
223 sym_calc_value(menu->sym); in testUpdateMenu()
246 sym_calc_value(menu->sym); in init()
276 if (sym_get_string_value(item->menu->sym)) in show()
277 setText(QString::fromLocal8Bit(sym_get_string_value(item->menu->sym))); in show()
291 sym_set_string_value(item->menu->sym, text().toLatin1()); in keyPressEvent()
447 rootEntry->sym && rootEntry->prompt) { in updateList()
467 struct symbol* sym; in setValue() local
471 sym = item->menu ? item->menu->sym : 0; in setValue()
472 if (!sym) in setValue()
475 type = sym_get_type(sym); in setValue()
479 oldval = sym_get_tristate_value(sym); in setValue()
481 if (!sym_set_tristate_value(sym, val)) in setValue()
492 struct symbol* sym; in changeValue() local
499 sym = menu->sym; in changeValue()
500 if (!sym) { in changeValue()
506 type = sym_get_type(sym); in changeValue()
510 oldexpr = sym_get_tristate_value(sym); in changeValue()
511 newexpr = sym_toggle_tristate_value(sym); in changeValue()
616 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
681 if (!child->sym && !child->list && !child->prompt) in updateMenuList()
848 else if (menu->sym) in mouseDoubleClickEvent()
1009 : Parent(parent), sym(0), _menu(0) in ConfigInfoView()
1037 else if (sym) in setShowDebug()
1048 sym = NULL; in setInfo()
1060 str += print_filter(sym->name); in symbolInfo()
1062 str += print_filter(sym_get_string_value(sym)); in symbolInfo()
1064 str += sym->visible == yes ? "y" : sym->visible == mod ? "m" : "n"; in symbolInfo()
1066 str += debug_info(sym); in symbolInfo()
1073 struct symbol* sym; in menuInfo() local
1076 sym = _menu->sym; in menuInfo()
1077 if (sym) { in menuInfo()
1082 if (sym->name) { in menuInfo()
1085 head += QString().sprintf("<a href=\"s%p\">", sym); in menuInfo()
1086 head += print_filter(sym->name); in menuInfo()
1091 } else if (sym->name) { in menuInfo()
1094 head += QString().sprintf("<a href=\"s%p\">", sym); in menuInfo()
1095 head += print_filter(sym->name); in menuInfo()
1103 debug = debug_info(sym); in menuInfo()
1127 QString ConfigInfoView::debug_info(struct symbol *sym) in debug_info() argument
1132 debug += print_filter(sym_type_name(sym->type)); in debug_info()
1133 if (sym_is_choice(sym)) in debug_info()
1136 if (sym->rev_dep.expr) { in debug_info()
1138 expr_print(sym->rev_dep.expr, expr_print_help, &debug, E_NONE); in debug_info()
1141 for (struct property *prop = sym->prop; prop; prop = prop->next) { in debug_info()
1158 if (sym_is_choice(sym)) { in debug_info()
1211 void ConfigInfoView::expr_print_help(void *data, struct symbol *sym, const char *str) in expr_print_help() argument
1216 if (sym && sym->name && !(sym->flags & SYMBOL_CONST)) { in expr_print_help()
1217 *text += QString().sprintf("<a href=\"s%p\">", sym); in expr_print_help()