Lines Matching refs:argv

390 bool CommonRuntimeTestImpl::StartDex2OatCommandLine(/*out*/std::vector<std::string>* argv,  in StartDex2OatCommandLine()  argument
393 DCHECK(argv != nullptr); in StartDex2OatCommandLine()
394 DCHECK(argv->empty()); in StartDex2OatCommandLine()
402 argv->push_back(runtime->GetCompilerExecutable()); in StartDex2OatCommandLine()
404 argv->push_back("--debuggable"); in StartDex2OatCommandLine()
406 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(argv); in StartDex2OatCommandLine()
409 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
410 argv->push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames())); in StartDex2OatCommandLine()
411 argv->push_back("--runtime-arg"); in StartDex2OatCommandLine()
412 argv->push_back(GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations())); in StartDex2OatCommandLine()
417 argv->push_back("--boot-image=" + image_spaces[0]->GetImageLocation()); in StartDex2OatCommandLine()
421 argv->insert(argv->end(), compiler_options.begin(), compiler_options.end()); in StartDex2OatCommandLine()
432 std::vector<std::string> argv { in CompileBootImage() local
443 argv.push_back("--dex-file=" + dex_file); in CompileBootImage()
446 argv.push_back("--dex-location=" + dex_location); in CompileBootImage()
449 argv.push_back("--debuggable"); in CompileBootImage()
451 runtime->AddCurrentRuntimeFeaturesAsDex2OatArguments(&argv); in CompileBootImage()
454 argv.push_back("--host"); in CompileBootImage()
464 argv.push_back("--image-fd=" + std::to_string(art_file->Fd())); in CompileBootImage()
465 argv.push_back("--output-vdex-fd=" + std::to_string(vdex_file->Fd())); in CompileBootImage()
466 argv.push_back("--oat-fd=" + std::to_string(oat_file->Fd())); in CompileBootImage()
467 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
469 argv.push_back("--image=" + image_file_name_prefix + ".art"); in CompileBootImage()
470 argv.push_back("--oat-file=" + image_file_name_prefix + ".oat"); in CompileBootImage()
471 argv.push_back("--oat-location=" + image_file_name_prefix + ".oat"); in CompileBootImage()
475 argv.insert(argv.end(), compiler_options.begin(), compiler_options.end()); in CompileBootImage()
480 argv.push_back("--android-root=" + std::string(android_root)); in CompileBootImage()
481 argv.insert(argv.end(), extra_args.begin(), extra_args.end()); in CompileBootImage()
483 bool result = RunDex2Oat(argv, error_msg); in CompileBootImage()