Lines Matching full:symbols
4 """Find Kconfig symbols that are referenced but not defined."""
45 usage = "Run this tool to detect Kconfig symbols that are referenced but " \
57 "undefined Kconfig symbols")
61 help="diff undefined symbols between two commits "
66 help="find and show commits that may cause symbols to be "
75 help="print a list of max. 10 string-similar symbols")
126 print("%s: %s" % (yel("Similar symbols"), ', '.join(sims)))
128 print("%s: no similar symbols found" % yel("Similar symbols"))
131 # dictionary of (un)defined symbols
187 sims_out = yel("Similar symbols")
191 print("%s: %s" % (sims_out, "no similar symbols found"))
269 """Return a list of max. ten Kconfig symbols that are string-similar to
308 """Find undefined Kconfig symbols and return a dict with the symbol as key
310 checked for undefined symbols."""
326 referenced_symbols = dict() # {file: [symbols]}
353 for _file, symbols in referenced_symbols.items():
354 for symbol in symbols:
376 files as keys and lists of references Kconfig symbols as values."""
384 """Parse @sfile and return a list of referenced Kconfig symbols."""
397 symbols = REGEX_SOURCE_SYMBOL.findall(line)
398 for symbol in symbols:
407 """Return mentioned Kconfig symbols in @line."""
413 symbols. Note, @args is a tuple of a list of files and the @ignore
459 symbols = get_symbols_in_line(line)
465 symbols.extend(get_symbols_in_line(line))
466 for symbol in set(symbols):