Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 65) sorted by relevance

123

/art/compiler/driver/
Dcompiler_options.cc58 void CompilerOptions::ParseHugeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseHugeMethodMax() argument
59 ParseUintOption(option, "--huge-method-max", &huge_method_threshold_, Usage); in ParseHugeMethodMax()
62 void CompilerOptions::ParseLargeMethodMax(const StringPiece& option, UsageFn Usage) { in ParseLargeMethodMax() argument
63 ParseUintOption(option, "--large-method-max", &large_method_threshold_, Usage); in ParseLargeMethodMax()
66 void CompilerOptions::ParseSmallMethodMax(const StringPiece& option, UsageFn Usage) { in ParseSmallMethodMax() argument
67 ParseUintOption(option, "--small-method-max", &small_method_threshold_, Usage); in ParseSmallMethodMax()
70 void CompilerOptions::ParseTinyMethodMax(const StringPiece& option, UsageFn Usage) { in ParseTinyMethodMax() argument
71 ParseUintOption(option, "--tiny-method-max", &tiny_method_threshold_, Usage); in ParseTinyMethodMax()
74 void CompilerOptions::ParseNumDexMethods(const StringPiece& option, UsageFn Usage) { in ParseNumDexMethods() argument
75 ParseUintOption(option, "--num-dex-methods", &num_dex_methods_threshold_, Usage); in ParseNumDexMethods()
[all …]
Dcompiler_options.h222 bool ParseCompilerOption(const StringPiece& option, UsageFn Usage);
249 void ParseDumpInitFailures(const StringPiece& option, UsageFn Usage);
250 void ParseDumpCfgPasses(const StringPiece& option, UsageFn Usage);
251 void ParseInlineMaxCodeUnits(const StringPiece& option, UsageFn Usage);
252 void ParseNumDexMethods(const StringPiece& option, UsageFn Usage);
253 void ParseTinyMethodMax(const StringPiece& option, UsageFn Usage);
254 void ParseSmallMethodMax(const StringPiece& option, UsageFn Usage);
255 void ParseLargeMethodMax(const StringPiece& option, UsageFn Usage);
256 void ParseHugeMethodMax(const StringPiece& option, UsageFn Usage);
257 void ParseRegisterAllocationStrategy(const StringPiece& option, UsageFn Usage);
/art/test/909-attach-agent/
Drun24 ./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/
Drun34 ${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/test/595-profile-saving/
Drun23 -Xcompiler-option --compiler-filter=quicken \
24 --runtime-option '-Xcompiler-option --compiler-filter=quicken' \
25 --runtime-option -Xjitsaveprofilinginfo \
26 --runtime-option -Xusejit:false \
27 --runtime-option -Xps-profile-boot-class-path \
/art/runtime/
Dcompiler_filter.cc188 bool CompilerFilter::ParseCompilerFilter(const char* option, Filter* filter) { in ParseCompilerFilter() argument
191 if (strcmp(option, "verify-none") == 0) { in ParseCompilerFilter()
195 } else if (strcmp(option, "interpret-only") == 0) { in ParseCompilerFilter()
199 } else if (strcmp(option, "verify-profile") == 0) { in ParseCompilerFilter()
203 } else if (strcmp(option, "verify-at-runtime") == 0) { in ParseCompilerFilter()
207 } else if (strcmp(option, "balanced") == 0) { in ParseCompilerFilter()
211 } else if (strcmp(option, "time") == 0) { in ParseCompilerFilter()
215 } else if (strcmp(option, "assume-verified") == 0) { in ParseCompilerFilter()
217 } else if (strcmp(option, "extract") == 0) { in ParseCompilerFilter()
219 } else if (strcmp(option, "verify") == 0) { in ParseCompilerFilter()
[all …]
/art/dexoptanalyzer/
Ddexoptanalyzer.cc145 const StringPiece option(argv[i]); in ParseArgs() local
146 if (option == "--assume-profile-changed") { in ParseArgs()
148 } else if (option.starts_with("--dex-file=")) { in ParseArgs()
149 dex_file_ = option.substr(strlen("--dex-file=")).ToString(); in ParseArgs()
150 } else if (option.starts_with("--compiler-filter=")) { in ParseArgs()
151 std::string filter_str = option.substr(strlen("--compiler-filter=")).ToString(); in ParseArgs()
153 Usage("Invalid compiler filter '%s'", option.data()); in ParseArgs()
155 } else if (option.starts_with("--isa=")) { in ParseArgs()
156 std::string isa_str = option.substr(strlen("--isa=")).ToString(); in ParseArgs()
159 Usage("Invalid isa '%s'", option.data()); in ParseArgs()
[all …]
/art/test/118-noimage-dex2oat/
Drun50 ${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/dex2oat/
Ddex2oat.cc662 void ParseZipFd(const StringPiece& option) { in ParseZipFd() argument
663 ParseUintOption(option, "--zip-fd", &zip_fd_, Usage); in ParseZipFd()
666 void ParseInputVdexFd(const StringPiece& option) { in ParseInputVdexFd() argument
668 ParseIntOption(option, "--input-vdex-fd", &input_vdex_fd_, Usage); in ParseInputVdexFd()
671 void ParseOutputVdexFd(const StringPiece& option) { in ParseOutputVdexFd() argument
672 ParseUintOption(option, "--output-vdex-fd", &output_vdex_fd_, Usage); in ParseOutputVdexFd()
675 void ParseOatFd(const StringPiece& option) { in ParseOatFd() argument
676 ParseUintOption(option, "--oat-fd", &oat_fd_, Usage); in ParseOatFd()
679 void ParseFdForCollection(const StringPiece& option, in ParseFdForCollection() argument
683 ParseUintOption(option, arg_name, &fd, Usage); in ParseFdForCollection()
[all …]
/art/test/004-ThreadStress/
Drun18 ${RUN} --runtime-option -Xlockprofthreshold:10 "${@}"
22 ${RUN} --runtime-option -Xlockprofthreshold:10 --runtime-option -Xstackdumplockprofthreshold:20 "${…
/art/test/157-void-class/
Drun21 --runtime-option -Ximage-compiler-option \
22 --runtime-option --compiler-filter=verify
/art/test/900-hello-plugin/
Drun21 ./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/
Djit_compiler.cc108 for (const StringPiece option : Runtime::Current()->GetCompilerOptions()) { in JitCompiler() local
109 VLOG(compiler) << "JIT compiler option " << option; in JitCompiler()
111 if (option.starts_with("--instruction-set-variant=")) { in JitCompiler()
112 StringPiece str = option.substr(strlen("--instruction-set-variant=")).data(); in JitCompiler()
117 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler()
119 } else if (option.starts_with("--instruction-set-features=")) { in JitCompiler()
120 StringPiece str = option.substr(strlen("--instruction-set-features=")).data(); in JitCompiler()
126 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler()
132 LOG(WARNING) << "Error parsing " << option << " message=" << error_msg; in JitCompiler()
/art/profman/
Dprofman.cc206 const StringPiece option(argv[i]); in ParseArgs() local
211 if (option == "--dump-only") { in ParseArgs()
213 } else if (option == "--dump-classes-and-methods") { in ParseArgs()
215 } else if (option.starts_with("--create-profile-from=")) { in ParseArgs()
216 create_profile_from_file_ = option.substr(strlen("--create-profile-from=")).ToString(); in ParseArgs()
217 } else if (option.starts_with("--dump-output-to-fd=")) { in ParseArgs()
218 ParseUintOption(option, "--dump-output-to-fd", &dump_output_to_fd_, Usage); in ParseArgs()
219 } else if (option == "--generate-boot-image-profile") { in ParseArgs()
221 } else if (option.starts_with("--boot-image-class-threshold=")) { in ParseArgs()
222 ParseUintOption(option, in ParseArgs()
[all …]
/art/cmdline/
Dcmdline_types.h482 static gc::CollectorType ParseCollectorType(const std::string& option) {
483 if (option == "MS" || option == "nonconcurrent") {
485 } else if (option == "CMS" || option == "concurrent") {
487 } else if (option == "SS") {
489 } else if (option == "GSS") {
491 } else if (option == "CC") {
493 } else if (option == "MC") {
517 Result Parse(const std::string& option) { // -Xgc: already stripped
521 Split(option, ',', &gc_options);
707 Result ParseAndAppend(const std::string& option, ProfileSaverOptions& existing) {
[all …]
Dcmdline.h143 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/
Drun19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
20 -Xcompiler-option -j1
/art/test/163-app-image-methods/
Drun19 exec ${RUN} $@ --profile -Xcompiler-option --compiler-filter=speed-profile \
20 -Xcompiler-option -j1
/art/test/164-resolution-trampoline-dex-cache/
Drun21 -Xcompiler-option --compiler-filter=speed-profile --profile \
22 --runtime-option -Xusejit:true
/art/test/134-nodex2oat-nofallback/
Drun20 ${RUN} ${flags} --runtime-option -Xnodex2oat --runtime-option -Xno-dex-file-fallback
/art/test/304-method-tracing/
Drun18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
/art/test/116-nodex2oat/
Drun29 ${RUN} ${flags} --runtime-option -Xnodex2oat
33 ${RUN} ${flags} --runtime-option -Xdex2oat
/art/test/117-nopatchoat/
Drun39 ${RUN} ${flags} --runtime-option -Xnodex2oat
43 ${RUN} ${flags} --runtime-option -Xdex2oat
/art/test/137-cfi/
Drun19 ${RUN} "$@" -Xcompiler-option --generate-debug-info \
25 ${RUN} "$@" -Xcompiler-option --generate-mini-debug-info --args --test-remote
/art/test/115-native-bridge/
Drun34 exec ${RUN} --runtime-option -Xforce-nb-testing --runtime-option -XX:NativeBridge=libnativebridgete…

123