Home
last modified time | relevance | path

Searched refs:PreprocessOptions (Results 1 – 15 of 15) sorted by relevance

/system/extras/simpleperf/
Dcommand_test.cpp77 TEST(command, PreprocessOptions) { in TEST() argument
102 ASSERT_TRUE(cmd.PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)); in TEST()
125 ASSERT_TRUE(cmd.PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)); in TEST()
135 ASSERT_TRUE(cmd.PreprocessOptions({"arg1", "--arg2"}, option_formats, &options, &ordered_options, in TEST()
139 ASSERT_TRUE(cmd.PreprocessOptions({"--", "--bool-option"}, option_formats, &options, in TEST()
143 ASSERT_FALSE(cmd.PreprocessOptions({"non_option_arg"}, option_formats, &options, &ordered_options, in TEST()
148 ASSERT_FALSE(cmd.PreprocessOptions({"--unknown-option"}, option_formats, &options, in TEST()
152 cmd.PreprocessOptions({"--str-option"}, option_formats, &options, &ordered_options, nullptr)); in TEST()
154 ASSERT_FALSE(cmd.PreprocessOptions({"--uint-option", "-2"}, option_formats, &options, in TEST()
156 ASSERT_FALSE(cmd.PreprocessOptions({"--double-option", "str"}, option_formats, &options, in TEST()
[all …]
Dcmd_boot_record.cpp104 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, &non_option_args)) { in ParseOptions()
134 if (!PreprocessOptions(args, GetRecordCmdOptionFormats(), &options, &ordered_options, in CheckRecordOptions()
Dcmd_api.cpp109 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
190 if (!PreprocessOptions(args, GetApiCollectCmdOptionFormats(), &options, &ordered_options, in ParseOptions()
Dcommand.h179 bool PreprocessOptions(const std::vector<std::string>& args,
Dcommand.cpp129 bool Command::PreprocessOptions(const std::vector<std::string>& args, in PreprocessOptions() function in simpleperf::Command
DRecordFilter_test.cpp296 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in Run()
Dcmd_merge.cpp155 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
Dcmd_monitor.cpp331 if (!PreprocessOptions(args, GetMonitorCmdOptionFormats(), &options, &ordered_options, nullptr)) { in ParseOptions()
Dcmd_dumprecord.cpp260 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, &non_option_args)) { in ParseOptions()
Dcmd_debug_unwind.cpp689 if (!PreprocessOptions(args, option_formats, &options, &ordered_options)) { in ParseOptions()
Dcmd_stat.cpp656 if (!PreprocessOptions(args, GetStatCmdOptionFormats(), &options, &ordered_options, in ParseOptions()
Dcmd_report_sample.cpp355 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
Dcmd_report.cpp597 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
Dcmd_inject.cpp890 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
Dcmd_record.cpp979 if (!PreprocessOptions(args, GetRecordCmdOptionFormats(), &options, &ordered_options, in ParseOptions()