/art/compiler/driver/ |
D | compiler_options.cc | 110 void CompilerOptions::ParseHugeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseHugeMethodMax() argument 111 ParseUintOption(option, "--huge-method-max", &huge_method_threshold_, Usage); in ParseHugeMethodMax() 114 void CompilerOptions::ParseLargeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseLargeMethodMax() argument 115 ParseUintOption(option, "--large-method-max", &large_method_threshold_, Usage); in ParseLargeMethodMax() 118 void CompilerOptions::ParseSmallMethodMax(const StringPiece& option, UsageFn Usage) { in ParseSmallMethodMax() argument 119 ParseUintOption(option, "--small-method-max", &small_method_threshold_, Usage); in ParseSmallMethodMax() 122 void CompilerOptions::ParseTinyMethodMax(const StringPiece& option, UsageFn Usage) { in ParseTinyMethodMax() argument 123 ParseUintOption(option, "--tiny-method-max", &tiny_method_threshold_, Usage); in ParseTinyMethodMax() 126 void CompilerOptions::ParseNumDexMethods(const StringPiece& option, UsageFn Usage) { in ParseNumDexMethods() argument 127 ParseUintOption(option, "--num-dex-methods", &num_dex_methods_threshold_, Usage); in ParseNumDexMethods() [all …]
|
D | compiler_options.h | 238 bool ParseCompilerOption(const StringPiece& option, UsageFn Usage); 261 void ParseDumpInitFailures(const StringPiece& option, UsageFn Usage); 262 void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage); 263 void ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage); 264 void ParseNumDexMethods(const StringPiece& option, UsageFn Usage); 265 void ParseTinyMethodMax(const StringPiece& option, UsageFn Usage); 266 void ParseSmallMethodMax(const StringPiece& option, UsageFn Usage); 267 void ParseLargeMethodMax(const StringPiece& option, UsageFn Usage); 268 void ParseHugeMethodMax(const StringPiece& option, UsageFn Usage); 269 void ParseRegisterAllocationStrategy(const StringPiece& option, UsageFn Usage);
|
/art/test/909-attach-agent/ |
D | run | 24 ./default-run "$@" --android-runtime-option -Xplugin:${plugin} \ 25 --android-runtime-option -Xcompiler-option \ 26 --android-runtime-option --debuggable \ 29 ./default-run "$@" --android-runtime-option -Xcompiler-option \ 30 --android-runtime-option --debuggable \
|
/art/test/119-noimage-patchoat/ |
D | run | 34 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xpatchoat:${false_bin} 38 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xpatchoat:${false_bin… 42 ${RUN} ${flags} ${BPATH} --runtime-option -Ximage-dex2oat
|
/art/runtime/ |
D | compiler_filter.cc | 184 bool CompilerFilter::ParseCompilerFilter(const char* option, Filter* filter) { in ParseCompilerFilter() argument 187 if (strcmp(option, "verify-none") == 0) { in ParseCompilerFilter() 191 } else if (strcmp(option, "interpret-only") == 0) { in ParseCompilerFilter() 195 } else if (strcmp(option, "verify-profile") == 0) { in ParseCompilerFilter() 199 } else if (strcmp(option, "verify-at-runtime") == 0) { in ParseCompilerFilter() 203 } else if (strcmp(option, "balanced") == 0) { in ParseCompilerFilter() 207 } else if (strcmp(option, "time") == 0) { in ParseCompilerFilter() 211 } else if (strcmp(option, "assume-verified") == 0) { in ParseCompilerFilter() 213 } else if (strcmp(option, "extract") == 0) { in ParseCompilerFilter() 215 } else if (strcmp(option, "verify") == 0) { in ParseCompilerFilter() [all …]
|
D | utils.h | 224 static void ParseIntOption(const StringPiece& option, 230 DCHECK(option.starts_with(option_prefix)) << option << " " << option_prefix; 231 const char* value_string = option.substr(option_prefix.size()).data(); 240 static void ParseUintOption(const StringPiece& option, 245 ParseIntOption(option, option_name, out, usage, is_long_option); 252 void ParseDouble(const std::string& option,
|
/art/test/118-noimage-dex2oat/ |
D | run | 50 ${RUN} ${flags} ${bpath_arg} --runtime-option -Xnoimage-dex2oat --runtime-option -Xnodex2oat 54 ${RUN} ${flags} ${bpath_arg} --runtime-option -Xnoimage-dex2oat --runtime-option -Xnodex2oat --runt… 58 ${RUN} ${flags} ${bpath_arg} --runtime-option -Ximage-dex2oat
|
/art/test/595-profile-saving/ |
D | run | 23 -Xcompiler-option --compiler-filter=quicken \ 24 --runtime-option '-Xcompiler-option --compiler-filter=quicken' \ 25 --runtime-option -Xjitsaveprofilinginfo \ 26 --runtime-option -Xusejit:false \
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 140 const StringPiece option(argv[i]); in ParseArgs() local 141 if (option == "--assume-profile-changed") { in ParseArgs() 143 } else if (option.starts_with("--dex-file=")) { in ParseArgs() 144 dex_file_ = option.substr(strlen("--dex-file=")).ToString(); in ParseArgs() 145 } else if (option.starts_with("--compiler-filter=")) { in ParseArgs() 146 std::string filter_str = option.substr(strlen("--compiler-filter=")).ToString(); in ParseArgs() 148 Usage("Invalid compiler filter '%s'", option.data()); in ParseArgs() 150 } else if (option.starts_with("--isa=")) { in ParseArgs() 151 std::string isa_str = option.substr(strlen("--isa=")).ToString(); in ParseArgs() 154 Usage("Invalid isa '%s'", option.data()); in ParseArgs() [all …]
|
/art/dex2oat/ |
D | dex2oat.cc | 603 void ParseZipFd(const StringPiece& option) { in ParseZipFd() argument 604 ParseUintOption(option, "--zip-fd", &zip_fd_, Usage); in ParseZipFd() 607 void ParseInputVdexFd(const StringPiece& option) { in ParseInputVdexFd() argument 609 ParseIntOption(option, "--input-vdex-fd", &input_vdex_fd_, Usage); in ParseInputVdexFd() 612 void ParseOutputVdexFd(const StringPiece& option) { in ParseOutputVdexFd() argument 613 ParseUintOption(option, "--output-vdex-fd", &output_vdex_fd_, Usage); in ParseOutputVdexFd() 616 void ParseOatFd(const StringPiece& option) { in ParseOatFd() argument 617 ParseUintOption(option, "--oat-fd", &oat_fd_, Usage); in ParseOatFd() 620 void ParseFdForCollection(const StringPiece& option, in ParseFdForCollection() argument 624 ParseUintOption(option, arg_name, &fd, Usage); in ParseFdForCollection() [all …]
|
/art/test/157-void-class/ |
D | run | 21 --runtime-option -Ximage-compiler-option \ 22 --runtime-option --compiler-filter=verify
|
/art/test/900-hello-plugin/ |
D | run | 21 ./default-run "$@" --runtime-option -agentpath:${plugin}=test_900 \ 22 --runtime-option -agentpath:${plugin}=test_900_round_2 \ 23 --android-runtime-option -Xplugin:${plugin}
|
/art/compiler/jit/ |
D | jit_compiler.cc | 121 for (const StringPiece option : Runtime::Current()->GetCompilerOptions()) { in JitCompiler() local 122 VLOG(compiler) << "JIT compiler option " << option; in JitCompiler() 124 if (option.starts_with("--instruction-set-variant=")) { in JitCompiler() 125 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler() 130 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler() 132 } else if (option.starts_with("--instruction-set-features=")) { in JitCompiler() 133 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler() 139 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler() 145 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler()
|
/art/profman/ |
D | profman.cc | 187 const StringPiece option(argv[i]); in ParseArgs() local 192 if (option == "--dump-only") { in ParseArgs() 194 } else if (option == "--dump-classes-and-methods") { in ParseArgs() 196 } else if (option.starts_with("--create-profile-from=")) { in ParseArgs() 197 create_profile_from_file_ = option.substr(strlen("--create-profile-from=")).ToString(); in ParseArgs() 198 } else if (option.starts_with("--dump-output-to-fd=")) { in ParseArgs() 199 ParseUintOption(option, "--dump-output-to-fd", &dump_output_to_fd_, Usage); in ParseArgs() 200 } else if (option.starts_with("--profile-file=")) { in ParseArgs() 201 profile_files_.push_back(option.substr(strlen("--profile-file=")).ToString()); in ParseArgs() 202 } else if (option.starts_with("--profile-file-fd=")) { in ParseArgs() [all …]
|
/art/cmdline/ |
D | cmdline_types.h | 480 static gc::CollectorType ParseCollectorType(const std::string& option) { 481 if (option == "MS" || option == "nonconcurrent") { 483 } else if (option == "CMS" || option == "concurrent") { 485 } else if (option == "SS") { 487 } else if (option == "GSS") { 489 } else if (option == "CC") { 491 } else if (option == "MC") { 515 Result Parse(const std::string& option) { // -Xgc: already stripped 519 Split(option, ',', &gc_options); 705 Result ParseAndAppend(const std::string& option, ProfileSaverOptions& existing) { [all …]
|
D | cmdline.h | 143 const StringPiece option(argv[i]); in Parse() 144 if (option.starts_with("--boot-image=")) { in Parse() 145 boot_image_location_ = option.substr(strlen("--boot-image=")).data(); in Parse() 146 } else if (option.starts_with("--instruction-set=")) { in Parse() 147 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in Parse() 154 } else if (option.starts_with("--output=")) { in Parse() 155 output_name_ = option.substr(strlen("--output=")).ToString(); in Parse() 165 ParseStatus parse_status = ParseCustom(option, &error_msg); in Parse() 168 fprintf(stderr, "Unknown argument %s\n", option.data()); in Parse() 285 virtual ParseStatus ParseCustom(const StringPiece& option ATTRIBUTE_UNUSED, in ParseCustom()
|
/art/test/159-app-image-fields/ |
D | run | 19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \ 20 -Xcompiler-option -j1
|
/art/test/134-nodex2oat-nofallback/ |
D | run | 20 ${RUN} ${flags} --runtime-option -Xnodex2oat --runtime-option -Xno-dex-file-fallback
|
/art/test/304-method-tracing/ |
D | run | 18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
|
/art/test/116-nodex2oat/ |
D | run | 29 ${RUN} ${flags} --runtime-option -Xnodex2oat 33 ${RUN} ${flags} --runtime-option -Xdex2oat
|
/art/test/117-nopatchoat/ |
D | run | 39 ${RUN} ${flags} --runtime-option -Xnodex2oat 43 ${RUN} ${flags} --runtime-option -Xdex2oat
|
/art/test/137-cfi/ |
D | run | 19 ${RUN} "$@" -Xcompiler-option --generate-debug-info \ 25 ${RUN} "$@" -Xcompiler-option --generate-mini-debug-info --args --test-remote
|
/art/test/115-native-bridge/ |
D | run | 34 exec ${RUN} --runtime-option -Xforce-nb-testing --runtime-option -XX:NativeBridge=libnativebridgete…
|
/art/test/etc/ |
D | run-test-jar | 114 option="$1" 115 FLAGS="${FLAGS} -Xcompiler-option $option" 116 COMPILE_FLAGS="${COMPILE_FLAGS} $option" 120 option="$1" 121 ANDROID_FLAGS="${ANDROID_FLAGS} $option" 125 option="$1" 126 FLAGS="${FLAGS} $option" 274 option="$1" 275 VDEX_FILTER="--compiler-filter=$option"
|
/art/test/160-read-barrier-stress/ |
D | run | 18 exec ${RUN} $@ --runtime-option -Xmx16m
|