/system/extras/simpleperf/ |
D | command_test.cpp | 77 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 …]
|
D | cmd_boot_record.cpp | 104 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, &non_option_args)) { in ParseOptions() 134 if (!PreprocessOptions(args, GetRecordCmdOptionFormats(), &options, &ordered_options, in CheckRecordOptions()
|
D | cmd_api.cpp | 109 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions() 190 if (!PreprocessOptions(args, GetApiCollectCmdOptionFormats(), &options, &ordered_options, in ParseOptions()
|
D | command.h | 179 bool PreprocessOptions(const std::vector<std::string>& args,
|
D | command.cpp | 129 bool Command::PreprocessOptions(const std::vector<std::string>& args, in PreprocessOptions() function in simpleperf::Command
|
D | RecordFilter_test.cpp | 296 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in Run()
|
D | cmd_merge.cpp | 155 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_monitor.cpp | 331 if (!PreprocessOptions(args, GetMonitorCmdOptionFormats(), &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_dumprecord.cpp | 260 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, &non_option_args)) { in ParseOptions()
|
D | cmd_debug_unwind.cpp | 689 if (!PreprocessOptions(args, option_formats, &options, &ordered_options)) { in ParseOptions()
|
D | cmd_stat.cpp | 656 if (!PreprocessOptions(args, GetStatCmdOptionFormats(), &options, &ordered_options, in ParseOptions()
|
D | cmd_report_sample.cpp | 355 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_report.cpp | 597 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_inject.cpp | 890 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_record.cpp | 979 if (!PreprocessOptions(args, GetRecordCmdOptionFormats(), &options, &ordered_options, in ParseOptions()
|