Lines Matching refs:args
104 args = [
110 print("Running: {}".format(run_print(args)))
112 res = subprocess.run(args, capture_output=True, text=True)
116 args = [
122 print("Running: {}".format(run_print(args)))
124 res = subprocess.run(args, capture_output=True, text=True)
160 def get_profile_args(args, location_base): argument
162 if args.profile_file is None and len(args.profile_line) == 0:
164 if args.profile_file:
165 with open(args.profile_file, "rb") as prof:
169 return ['--profile-file={}'.format(args.profile_file)]
170 if args.debug_profman:
171 profman_args = ["lldb-server", "g", ":5039", "--", args.profman]
173 profman_args = [args.profman]
174 if args.save_profile:
175 prof_out_fd = args.save_profile.fileno()
179 if args.debug_profman:
184 if args.profile_file:
185 profman_args.append("--create-profile-from={}".format(args.profile_file))
190 for l in args.profile_line:
193 for f in args.dex_files:
201 if args.debug:
208 args, extra = parse_args()
209 if args.arch == "host32" or args.arch == "host64":
211 real_arch = "x86" if args.arch == "host32" else "x86_64"
215 for f in args.dex_files:
221 real_arch = args.arch
227 for f in args.dex_files:
231 extra += get_bcp_runtime_args(args.add_bcp, boot_image, args.arch)
232 extra += get_profile_args(args, location_base)
237 if args.odex_file is not None:
238 extra.append("--oat-file={}".format(args.odex_file))
240 if args.debug:
247 if args.debug:
249 pre_args.append(args.dex2oat)