Lines Matching refs:args
104 args = [
109 print("Running: {}".format(run_print(args)))
111 res = subprocess.run(args, capture_output=True, text=True)
115 args = [
120 print("Running: {}".format(run_print(args)))
122 res = subprocess.run(args, capture_output=True, text=True)
158 def get_profile_args(args, location_base): argument
160 if args.profile_file is None and len(args.profile_line) == 0:
162 if args.profile_file:
163 with open(args.profile_file, "rb") as prof:
167 return ['--profile-file={}'.format(args.profile_file)]
168 if args.debug_profman:
169 profman_args = ["lldb-server", "g", ":5039", "--", args.profman]
171 profman_args = [args.profman]
172 if args.save_profile:
173 prof_out_fd = args.save_profile.fileno()
177 if args.debug_profman:
182 if args.profile_file:
183 profman_args.append("--create-profile-from={}".format(args.profile_file))
188 for l in args.profile_line:
191 for f in args.dex_files:
199 if args.debug:
206 args, extra = parse_args()
207 if args.arch == "host32" or args.arch == "host64":
209 real_arch = "x86" if args.arch == "host32" else "x86_64"
213 for f in args.dex_files:
219 real_arch = args.arch
225 for f in args.dex_files:
229 extra += get_bcp_runtime_args(args.add_bcp, boot_image, args.arch)
230 extra += get_profile_args(args, location_base)
235 if args.odex_file is not None:
236 extra.append("--oat-file={}".format(args.odex_file))
238 if args.debug:
245 if args.debug:
247 pre_args.append(args.dex2oat)