Lines Matching refs:sym
124 for sym in kconf.unique_defined_syms:
125 if not has_prompt(sym) and not is_selected_or_implied(sym) and \
126 not has_defaults(sym):
127 print(name_and_locs(sym))
133 for sym in kconf.unique_defined_syms:
134 if not is_selecting_or_implying(sym) and not sym.choice and \
135 sym.name not in referenced:
136 print(name_and_locs(sym))
149 for sym in kconf.unique_defined_syms:
150 if all("defconfig" in node.filename for node in sym.nodes):
151 print(name_and_locs(sym))
173 syms = [sym for sym in kconf.unique_defined_syms
174 if sym.name not in defined]
183 "|".join(sym.name for sym in batch) + r")\b"
269 def has_prompt(sym): argument
270 return any(node.prompt for node in sym.nodes)
273 def is_selected_or_implied(sym): argument
274 return sym.rev_dep is not kconf.n or sym.weak_rev_dep is not kconf.n
277 def has_defaults(sym): argument
278 return bool(sym.defaults)
281 def is_selecting_or_implying(sym): argument
282 return sym.selects or sym.implies
285 def name_and_locs(sym): argument
289 sym.name,
290 ", ".join("{0.filename}:{0.linenr}".format(node) for node in sym.nodes))