Lines Matching refs:root_dir
37 def FindAllFiles(root_dir, cmd_executer): argument
43 for dirpath, dirnames, files in os.walk(root_dir)
51 for dirpath, dirnames, files in os.walk(root_dir)
58 def VerifyArgs(compiler, filename, tmp_dir, root_dir, options, parser): argument
63 if options.filename and options.root_dir:
65 if options.all_files and not options.root_dir:
67 if options.root_dir and not options.all_files:
79 if root_dir and not os.path.exists(root_dir):
80 UsageError(parser, '%s does not exist.' % root_dir)
182 root_dir = None
183 if options.root_dir:
184 root_dir = os.path.realpath(os.path.expanduser(options.root_dir))
186 VerifyArgs(compiler, filename, tmp_dir, root_dir, options, parser)
192 file_list = FindAllFiles(root_dir, cmd_executer)