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:
2219 for sym in sorted(_kconf.unique_defined_syms,
2220 key=lambda sym: sym.name):
2222 cached_nodes += sym.nodes
2554 sym = node.item
2557 _name_info(sym) +
2558 _prompt_info(sym) +
2559 "Type: {}\n".format(TYPE_TO_STR[sym.type]) +
2560 _value_info(sym) +
2561 _help_info(sym) +
2562 _direct_dep_info(sym) +
2563 _defaults_info(sym) +
2564 _select_imply_info(sym) +
2565 _kconfig_def_info(sym)
2605 def _value_info(sym): argument
2610 '"{}"'.format(sym.str_value)
2611 if sym.orig_type == STRING
2612 else sym.str_value)
2621 for sym in choice.syms:
2622 s += " - " + sym.name
2623 if sym is choice.selection:
2725 def _select_imply_info(sym): argument
2743 if sym.rev_dep is not _kconf.n:
2744 s += sis(sym.rev_dep, 2,
2746 s += sis(sym.rev_dep, 1,
2748 s += sis(sym.rev_dep, 0,
2751 if sym.weak_rev_dep is not _kconf.n:
2752 s += sis(sym.weak_rev_dep, 2,
2754 s += sis(sym.weak_rev_dep, 1,
2756 s += sis(sym.weak_rev_dep, 0,
2994 sym = node.item
2999 if sym.user_value is None and sym.orig_type and \
3000 not (sym.choice and sym.choice.tri_value == 2):
3007 sym = node.item.selection
3008 if sym:
3009 for sym_node in sym.nodes:
3018 for sym_node in sym.nodes:
3084 def _check_valid(sym, s): argument
3088 if sym.orig_type not in (INT, HEX):
3091 base = 10 if sym.orig_type == INT else 16
3096 .format(s, TYPE_TO_STR[sym.orig_type]))
3099 for low_sym, high_sym, cond in sym.ranges:
3114 def _range_info(sym): argument
3118 if sym.orig_type in (INT, HEX):
3119 for low, high, cond in sym.ranges: