Lines Matching refs:option

75   Result Parse(const std::string& option) {
76 if (option == "help") {
81 } else if (option == "default") {
83 } else if (option == "adbconnection") {
85 } else if (option == "none") {
88 return Result::Failure(std::string("not a valid jdwp provider: ") + option);
464 static gc::CollectorType ParseCollectorType(const std::string& option) {
465 if (option == "MS" || option == "nonconcurrent") {
467 } else if (option == "CMS" || option == "concurrent") {
469 } else if (option == "SS") {
471 } else if (option == "CC") {
496 Result Parse(const std::string& option) { // -Xgc: already stripped
500 Split(option, ',', &gc_options);
719 Result ParseAndAppend(const std::string& option, ProfileSaverOptions& existing) {
722 if (option == "-Xjitsaveprofilinginfo") {
727 if (option == "profile-boot-class-path") {
732 if (option == "profile-aot-code") {
737 if (option == "save-without-jit-notifications") {
743 std::string suffix = RemovePrefix(option);
745 if (android::base::StartsWith(option, "min-save-period-ms:")) {
751 if (android::base::StartsWith(option, "save-resolved-classes-delay-ms:")) {
757 if (android::base::StartsWith(option, "hot-startup-method-samples:")) {
763 if (android::base::StartsWith(option, "min-methods-to-save:")) {
769 if (android::base::StartsWith(option, "min-classes-to-save:")) {
775 if (android::base::StartsWith(option, "min-notification-before-wake:")) {
781 if (android::base::StartsWith(option, "max-notification-before-wake:")) {
787 if (android::base::StartsWith(option, "profile-path:")) {
792 return Result::Failure(std::string("Invalid suboption '") + option + "'");
802 Result ParseAndAppend(const std::string& option, ExperimentalFlags& existing) {
803 if (option == "none") {
806 return Result::Failure(std::string("Unknown option '") + option + "'");