Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcommand_test.cpp76 TEST(command, PreprocessOptions) { in TEST() argument
108 ASSERT_TRUE(cmd.PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)); in TEST()
128 ASSERT_TRUE(cmd.PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)); in TEST()
138 ASSERT_TRUE(cmd.PreprocessOptions({"arg1", "--arg2"}, option_formats, &options, &ordered_options, in TEST()
142 ASSERT_TRUE(cmd.PreprocessOptions({"--", "--bool-option"}, option_formats, &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()
159 ASSERT_FALSE(cmd.PreprocessOptions({"non_option_args"}, option_formats, &options, in TEST()
Dcmd_api.cpp114 if (!PreprocessOptions(args, GetApiCollectCmdOptionFormats(), &options, &ordered_options, in ParseOptions()
Dcommand.h165 bool PreprocessOptions(const std::vector<std::string>& args,
Dcommand.cpp44 bool Command::PreprocessOptions(const std::vector<std::string>& args, in PreprocessOptions() function in simpleperf::Command
Dcmd_stat.cpp633 if (!PreprocessOptions(args, GetStatCmdOptionFormats(), &options, &ordered_options, in ParseOptions()
Dcmd_record.cpp732 if (!PreprocessOptions(args, GetRecordCmdOptionFormats(), &options, &ordered_options, in ParseOptions()