Lines Matching refs:sym

264     for sym in _kconf.unique_defined_syms:
265 if sym.user_value is None:
266 if sym.config_string:
269 elif sym.orig_type in (BOOL, TRISTATE):
270 if sym.tri_value != sym.user_value:
273 elif sym.str_value != sym.user_value:
805 sym = node.item
810 if sym.user_value is None and sym.type and not \
811 (sym.choice and sym.choice.tri_value == 2):
826 sym = node.item
827 if sym.orig_type == STRING:
828 s += ": " + sym.str_value
829 elif sym.orig_type in (INT, HEX):
830 s = "({}) {}".format(sym.str_value, s)
835 sym = node.item.selection
836 if sym:
837 for sym_node in sym.nodes:
846 for sym_node in sym.nodes:
1188 if sym.type == HEX and not s.startswith(("0x", "0X")):
1191 if _check_valid(dialog, entry, sym, s):
1200 sym = node.item
1203 dialog.title("Enter {} value".format(TYPE_TO_STR[sym.type]))
1214 entry.insert(0, sym.str_value)
1219 range_info = _range_info(sym)
1296 def _check_valid(dialog, entry, sym, s): argument
1300 if sym.type not in (INT, HEX):
1304 base = 10 if sym.type == INT else 16
1311 s, TYPE_TO_STR[sym.type]),
1316 for low_sym, high_sym, cond in sym.ranges:
1334 def _range_info(sym): argument
1338 if sym.type in (INT, HEX):
1339 for low, high, cond in sym.ranges:
1960 for sym in sorted(_kconf.unique_defined_syms,
1961 key=lambda sym: sym.name):
1963 cached_nodes += sym.nodes
2045 sym = node.item
2048 _name_info(sym) +
2049 _help_info(sym) +
2050 _direct_dep_info(sym) +
2051 _defaults_info(sym) +
2052 _select_imply_info(sym) +
2053 _kconfig_def_info(sym)
2080 def _value_info(sym): argument
2085 '"{}"'.format(sym.str_value)
2086 if sym.orig_type == STRING
2087 else sym.str_value)
2096 for sym in choice.syms:
2097 s += " - " + sym.name
2098 if sym is choice.selection:
2200 def _select_imply_info(sym): argument
2218 if sym.rev_dep is not _kconf.n:
2219 s += sis(sym.rev_dep, 2,
2221 s += sis(sym.rev_dep, 1,
2223 s += sis(sym.rev_dep, 0,
2226 if sym.weak_rev_dep is not _kconf.n:
2227 s += sis(sym.weak_rev_dep, 2,
2229 s += sis(sym.weak_rev_dep, 1,
2231 s += sis(sym.weak_rev_dep, 0,