Lines Matching refs:symbol
162 for symbol in sorted(undefined_b):
164 if symbol not in undefined_a:
165 files = sorted(undefined_b.get(symbol))
166 undefined[symbol] = files
169 files = sorted(undefined_b.get(symbol) -
170 undefined_a.get(symbol))
172 undefined[symbol] = files
182 for symbol in sorted(undefined):
183 print(red(symbol))
185 files = sorted(undefined.get(symbol))
188 sims = find_sims(symbol, args.ignore, defined)
197 commits = find_commits(symbol, args.diff)
236 def find_commits(symbol, diff): argument
240 symbol, diff])
270 def find_sims(symbol, ignore, defined=[]): argument
274 return difflib.get_close_matches(symbol, set(defined), 10)
289 return difflib.get_close_matches(symbol, set(defined), 10)
356 for symbol in symbols:
357 inv_map[symbol] = inv_map.get(symbol, set())
358 inv_map[symbol].add(_file)
362 for symbol in sorted(referenced_symbols):
364 if symbol == "FOO" or symbol == "BAR" or \
365 symbol == "FOO_BAR" or symbol == "XXX":
367 if symbol not in defined_symbols:
368 if symbol.endswith("_MODULE"):
370 if symbol[:-len("_MODULE")] in defined_symbols:
372 undefined[symbol] = referenced_symbols.get(symbol)
400 for symbol in symbols:
401 if not REGEX_FILTER_SYMBOLS.search(symbol):
403 references.append(symbol)
461 for symbol in set(symbols):
462 if REGEX_NUMERIC.match(symbol):
465 references.append(symbol)