Lines Matching refs:sym

757     for sym in _kconf.unique_defined_syms:
758 if sym.user_value is None:
759 if sym.config_string:
762 elif sym.orig_type in (BOOL, TRISTATE):
763 if sym.tri_value != sym.user_value:
766 elif sym.str_value != sym.user_value:
2213 for sym in sorted(_kconf.unique_defined_syms,
2214 key=lambda sym: sym.name):
2216 cached_nodes += sym.nodes
2548 sym = node.item
2551 _name_info(sym) +
2552 _prompt_info(sym) +
2553 "Type: {}\n".format(TYPE_TO_STR[sym.type]) +
2554 _value_info(sym) +
2555 _help_info(sym) +
2556 _direct_dep_info(sym) +
2557 _defaults_info(sym) +
2558 _select_imply_info(sym) +
2559 _kconfig_def_info(sym)
2599 def _value_info(sym): argument
2604 '"{}"'.format(sym.str_value)
2605 if sym.orig_type == STRING
2606 else sym.str_value)
2615 for sym in choice.syms:
2616 s += " - " + sym.name
2617 if sym is choice.selection:
2719 def _select_imply_info(sym): argument
2737 if sym.rev_dep is not _kconf.n:
2738 s += sis(sym.rev_dep, 2,
2740 s += sis(sym.rev_dep, 1,
2742 s += sis(sym.rev_dep, 0,
2745 if sym.weak_rev_dep is not _kconf.n:
2746 s += sis(sym.weak_rev_dep, 2,
2748 s += sis(sym.weak_rev_dep, 1,
2750 s += sis(sym.weak_rev_dep, 0,
2988 sym = node.item
2993 if sym.user_value is None and sym.orig_type and \
2994 not (sym.choice and sym.choice.tri_value == 2):
3001 sym = node.item.selection
3002 if sym:
3003 for sym_node in sym.nodes:
3012 for sym_node in sym.nodes:
3078 def _check_valid(sym, s): argument
3082 if sym.orig_type not in (INT, HEX):
3085 base = 10 if sym.orig_type == INT else 16
3090 .format(s, TYPE_TO_STR[sym.orig_type]))
3093 for low_sym, high_sym, cond in sym.ranges:
3108 def _range_info(sym): argument
3112 if sym.orig_type in (INT, HEX):
3113 for low, high, cond in sym.ranges: