Lines Matching full:symbols
4 """Find Kconfig symbols that are referenced but not defined."""
44 usage = "Run this tool to detect Kconfig symbols that are referenced but " \
56 "undefined Kconfig symbols")
60 help="diff undefined symbols between two commits "
65 help="find and show commits that may cause symbols to be "
74 help="print a list of max. 10 string-similar symbols")
128 print("%s: %s" % (yel("Similar symbols"), ', '.join(sims)))
130 print("%s: no similar symbols found" % yel("Similar symbols"))
133 # dictionary of (un)defined symbols
189 sims_out = yel("Similar symbols")
193 print("%s: %s" % (sims_out, "no similar symbols found"))
271 """Return a list of max. ten Kconfig symbols that are string-similar to
310 """Find undefined Kconfig symbols and return a dict with the symbol as key
312 checked for undefined symbols."""
328 referenced_symbols = dict() # {file: [symbols]}
355 for _file, symbols in referenced_symbols.items():
356 for symbol in symbols:
378 files as keys and lists of references Kconfig symbols as values."""
386 """Parse @sfile and return a list of referenced Kconfig symbols."""
399 symbols = REGEX_SOURCE_SYMBOL.findall(line)
400 for symbol in symbols:
409 """Return mentioned Kconfig symbols in @line."""
415 symbols. Note, @args is a tuple of a list of files and the @ignore
454 symbols = get_symbols_in_line(line)
460 symbols.extend(get_symbols_in_line(line))
461 for symbol in set(symbols):