Home
last modified time | relevance | path

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

/art/runtime/
Dparsed_options.cc107 static gc::CollectorType ParseCollectorType(const std::string& option) { in ParseCollectorType() argument
108 if (option == "MS" || option == "nonconcurrent") { in ParseCollectorType()
110 } else if (option == "CMS" || option == "concurrent") { in ParseCollectorType()
112 } else if (option == "SS") { in ParseCollectorType()
114 } else if (option == "GSS") { in ParseCollectorType()
116 } else if (option == "CC") { in ParseCollectorType()
118 } else if (option == "MC") { in ParseCollectorType()
125 bool ParsedOptions::ParseXGcOption(const std::string& option) { in ParseXGcOption() argument
127 Split(option.substr(strlen("-Xgc:")), ',', gc_options); in ParseXGcOption()
283 const std::string option(options[i].first); in Parse() local
[all …]
Dparsed_options.h120 bool ParseXGcOption(const std::string& option);
121 bool ParseStringAfterChar(const std::string& option, char after_char, std::string* parsed_value);
122 bool ParseInteger(const std::string& option, char after_char, int* parsed_value);
123 bool ParseUnsignedInteger(const std::string& option, char after_char, unsigned int* parsed_value);
124 bool ParseDouble(const std::string& option, char after_char, double min, double max,
Druntime.h136 void AddCompilerOption(std::string option) { in AddCompilerOption() argument
137 compiler_options_.push_back(option); in AddCompilerOption()
Djni_internal.cc3022 JavaVMOption* option = &args->options[i]; in JNI_CreateJavaVM() local
3023 options.push_back(std::make_pair(std::string(option->optionString), option->extraInfo)); in JNI_CreateJavaVM()
/art/dex2oat/
Ddex2oat.cc771 void ParseDouble(const std::string& option, char after_char, in ParseDouble() argument
774 ParseStringAfterChar(option, after_char, &substring); in ParseDouble()
789 Usage("Invalid double value %s for option %s\n", substring.c_str(), option.c_str()); in ParseDouble()
912 const StringPiece option(argv[i]); in dex2oat() local
917 if (option.starts_with("--dex-file=")) { in dex2oat()
918 dex_filenames.push_back(option.substr(strlen("--dex-file=")).data()); in dex2oat()
919 } else if (option.starts_with("--dex-location=")) { in dex2oat()
920 dex_locations.push_back(option.substr(strlen("--dex-location=")).data()); in dex2oat()
921 } else if (option.starts_with("--zip-fd=")) { in dex2oat()
922 const char* zip_fd_str = option.substr(strlen("--zip-fd=")).data(); in dex2oat()
[all …]
/art/test/etc/
Dhost-run-test-jar52 option="$1"
53 BOOT_OPT="$option"
102 option="$1"
103 FLAGS="${FLAGS} -Xcompiler-option $option"
104 COMPILER_FLAGS="${COMPILER_FLAGS} $option"
108 option="$1"
109 FLAGS="${FLAGS} $option"
Dpush-and-run-test-jar42 option="$1"
43 FLAGS="${FLAGS} -Xcompiler-option $option"
47 option="$1"
48 FLAGS="${FLAGS} $option"
Dpush-and-run-prebuilt-test-jar46 option="$1"
47 FLAGS="${FLAGS} -Xcompiler-option $option"
48 COMPILE_FLAGS="${COMPILE_FLAGS} $option"
52 option="$1"
53 FLAGS="${FLAGS} $option"
/art/test/119-noimage-patchoat/
Drun28 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xpatchoat:${false_bin}
32 ${RUN} ${flags} ${BPATH} --runtime-option -Ximage-dex2oat
/art/test/118-noimage-dex2oat/
Drun33 ${RUN} ${flags} ${BPATH} --runtime-option -Xnoimage-dex2oat --runtime-option -Xnodex2oat
37 ${RUN} ${flags} ${BPATH} --runtime-option -Ximage-dex2oat
/art/patchoat/
Dpatchoat.cc957 const StringPiece option(argv[i]); in patchoat() local
962 if (option.starts_with("--instruction-set=")) { in patchoat()
964 const char* isa_str = option.substr(strlen("--instruction-set=")).data(); in patchoat()
969 } else if (option.starts_with("--input-oat-location=")) { in patchoat()
974 input_oat_location = option.substr(strlen("--input-oat-location=")).data(); in patchoat()
975 } else if (option.starts_with("--input-oat-file=")) { in patchoat()
980 input_oat_filename = option.substr(strlen("--input-oat-file=")).data(); in patchoat()
981 } else if (option.starts_with("--input-oat-fd=")) { in patchoat()
986 const char* oat_fd_str = option.substr(strlen("--input-oat-fd=")).data(); in patchoat()
993 } else if (option.starts_with("--input-image-location=")) { in patchoat()
[all …]
/art/test/304-method-tracing/
Drun18 exec ${RUN} "$@" --runtime-option -Xmethod-trace --runtime-option -Xmethod-trace-file:${DEX_LOCATIO…
/art/test/116-nodex2oat/
Drun25 ${RUN} ${flags} --runtime-option -Xnodex2oat
29 ${RUN} ${flags} --runtime-option -Xdex2oat
/art/test/117-nopatchoat/
Drun28 ${RUN} ${flags} --runtime-option -Xnodex2oat
32 ${RUN} ${flags} --runtime-option -Xdex2oat
/art/test/
Drun-test118 option="$1"
119 run_args="${run_args} -Xcompiler-option $option"
123 option="$1"
124 run_args="${run_args} --runtime-option $option"
DAndroid.run-test.mk360 run_test_options := $(addprefix --runtime-option ,$(DALVIKVM_FLAGS))
413 run_test_options += -Xcompiler-option --compiler-backend=Optimizing
444 run_test_options += --runtime-option -Xgc:preverify --runtime-option -Xgc:postverify \
445 --runtime-option -Xgc:preverify_rosalloc --runtime-option -Xgc:postverify_rosalloc
452 run_test_options += --runtime-option -Xgc:SS --runtime-option -Xms2m \
453 --runtime-option -Xmx2m --runtime-option -Xgc:preverify --runtime-option -Xgc:postverify
/art/test/055-enum-performance/
Dinfo.txt2 this test with the "--timing" option.
/art/test/133-static-invoke-super/
Dinfo.txt2 this test with the "--timing" option.
/art/test/089-many-methods/
Dexpected.txt3 You may try using --multi-dex option.
/art/test/115-native-bridge/
Drun29 exec ${RUN} --runtime-option -XX:NativeBridge=libnativebridgetest.so ${MODARGS} NativeBridgeMain
/art/oatdump/
Doatdump.cc1716 const StringPiece option(argv[i]); in oatdump() local
1717 if (option.starts_with("--oat-file=")) { in oatdump()
1718 oat_filename = option.substr(strlen("--oat-file=")).data(); in oatdump()
1719 } else if (option.starts_with("--image=")) { in oatdump()
1720 image_location = option.substr(strlen("--image=")).data(); in oatdump()
1721 } else if (option.starts_with("--boot-image=")) { in oatdump()
1722 boot_image_location = option.substr(strlen("--boot-image=")).data(); in oatdump()
1723 } else if (option.starts_with("--instruction-set=")) { in oatdump()
1724 StringPiece instruction_set_str = option.substr(strlen("--instruction-set=")).data(); in oatdump()
1736 } else if (option =="--dump:raw_mapping_table") { in oatdump()
[all …]
/art/build/
DAndroid.common_build.mk100 DALVIKVM_FLAGS += -Xcompiler-option --compiler-backend=Optimizing