Lines Matching refs:file
5 # found in the LICENSE file.
118 help="Output results for each file separately")
138 build_dir), file=sys.stderr)
143 print("Error: Building {} failed.".format(build_dir), file=sys.stderr)
148 compile_commands_file), file=out)
153 compile_commands_file, build_dir), file=sys.stderr)
158 ninja_deps_file), file=out)
163 ninja_deps_file, build_dir), file=sys.stderr)
195 def __init__(self, file, target, loc, in_bytes, expanded, expanded_bytes):
197 self.file = file
201 return "{} {} {}".format(super().to_string(), self.file, self.target)
212 if (self.regexp.match(unit.file)):
284 def printGroupResults(self, file):
286 print(self.groups[key].to_string(self.maxGroupWidth()), file=file)
290 print(unit.to_string(), file=out)
300 return {"file": o.file, "target": o.target, "loc": o.loc, "in_bytes": o.in_bytes,
316 def print(self, statusline, end="\r", file=sys.stdout):
319 end=end, file=file, flush=True)
382 with open(compile_commands_file) as file:
383 compile_commands = json.load(file)
384 with open(ninja_deps_file) as file:
385 source_dependencies, header_dependents = parse_ninja_deps(file)
396 if not result.track(key['file']):
399 i, len(compile_commands), key['file'])
400 status.print(message, file=out)
431 len(compile_commands), end-start), end="\n", file=out)
432 result.printGroupResults(file=out)
452 lambda v: v.file, ARGS['files'], reverse=False, out=out)