Lines Matching refs:symbol
160 for symbol in sorted(undefined_b):
162 if symbol not in undefined_a:
163 files = sorted(undefined_b.get(symbol))
164 undefined[symbol] = files
167 files = sorted(undefined_b.get(symbol) -
168 undefined_a.get(symbol))
170 undefined[symbol] = files
180 for symbol in sorted(undefined):
181 print(red(symbol))
183 files = sorted(undefined.get(symbol))
186 sims = find_sims(symbol, args.ignore, defined)
195 commits = find_commits(symbol, args.diff)
234 def find_commits(symbol, diff): argument
238 symbol, diff])
268 def find_sims(symbol, ignore, defined=[]): argument
272 return difflib.get_close_matches(symbol, set(defined), 10)
287 return difflib.get_close_matches(symbol, set(defined), 10)
354 for symbol in symbols:
355 inv_map[symbol] = inv_map.get(symbol, set())
356 inv_map[symbol].add(_file)
360 for symbol in sorted(referenced_symbols):
362 if symbol == "FOO" or symbol == "BAR" or \
363 symbol == "FOO_BAR" or symbol == "XXX":
365 if symbol not in defined_symbols:
366 if symbol.endswith("_MODULE"):
368 if symbol[:-len("_MODULE")] in defined_symbols:
370 undefined[symbol] = referenced_symbols.get(symbol)
398 for symbol in symbols:
399 if not REGEX_FILTER_SYMBOLS.search(symbol):
401 references.append(symbol)
466 for symbol in set(symbols):
467 if REGEX_NUMERIC.match(symbol):
470 references.append(symbol)