Lines Matching defs:args
34 def clean(args):
35 if len(args) < 2:
41 for path in args[0:-1]:
42 for filename in findFilesWithExtension(path, args[-1]):
47 def merge(args):
48 if len(args) < 3:
54 cmd = [args[0], "merge", "-o", args[1]]
55 for path in args[2:]:
61 def merge_fdata(args):
62 if len(args) != 3:
68 cmd = [args[0], "-o", args[1]]
69 cmd.extend(findFilesWithExtension(args[2], "fdata"))
74 def perf(args):
83 opts = parser.parse_args(args)
105 def perf2bolt(args):
114 opts = parser.parse_args(args)
130 def dtrace(args):
165 first_cmd = next(arg for arg in args if not arg.startswith("--"))
166 last_arg_idx = args.index(first_cmd)
168 opts = parser.parse_args(args[:last_arg_idx])
169 cmd = args[last_arg_idx:]
257 def cc1(args):
265 first_cmd = next(arg for arg in args if not arg.startswith("--"))
266 last_arg_idx = args.index(first_cmd)
268 opts = parser.parse_args(args[:last_arg_idx])
269 cmd = args[last_arg_idx:]
453 def genOrderFile(args):
493 opts = parser.parse_args(args)
563 def bolt_optimize(args):
575 opts = parser.parse_args(args)
601 print(process.args)
617 print(process.args)
652 print(process.args)