/system/extras/simpleperf/ |
D | command_test.cpp | 79 OptionFormatMap option_formats = { in TEST() local 98 ASSERT_TRUE(cmd.PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)); in TEST() 121 ASSERT_TRUE(cmd.PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)); in TEST() 131 ASSERT_TRUE(cmd.PreprocessOptions({"arg1", "--arg2"}, option_formats, &options, &ordered_options, in TEST() 135 ASSERT_TRUE(cmd.PreprocessOptions({"--", "--bool-option"}, option_formats, &options, in TEST() 139 ASSERT_FALSE(cmd.PreprocessOptions({"non_option_arg"}, option_formats, &options, &ordered_options, in TEST() 144 ASSERT_FALSE(cmd.PreprocessOptions({"--unknown-option"}, option_formats, &options, in TEST() 148 cmd.PreprocessOptions({"--str-option"}, option_formats, &options, &ordered_options, nullptr)); in TEST() 150 ASSERT_FALSE(cmd.PreprocessOptions({"--uint-option", "-2"}, option_formats, &options, in TEST() 152 ASSERT_FALSE(cmd.PreprocessOptions({"--double-option", "str"}, option_formats, &options, in TEST() [all …]
|
D | cmd_api_impl.h | 24 static const OptionFormatMap option_formats = { in GetApiCollectCmdOptionFormats() local 31 return option_formats; in GetApiCollectCmdOptionFormats()
|
D | cmd_record_impl.h | 32 static OptionFormatMap option_formats; in GetRecordCmdOptionFormats() local 33 if (option_formats.empty()) { in GetRecordCmdOptionFormats() 34 option_formats = { in GetRecordCmdOptionFormats() 92 option_formats.insert(record_filter_options.begin(), record_filter_options.end()); in GetRecordCmdOptionFormats() 94 return option_formats; in GetRecordCmdOptionFormats()
|
D | RecordFilter.h | 92 static const OptionFormatMap option_formats = { in GetRecordFilterOptionFormats() local 108 return option_formats; in GetRecordFilterOptionFormats()
|
D | command.h | 135 static const OptionFormatMap option_formats = { in GetCommonOptionFormatMap() local 143 return option_formats; in GetCommonOptionFormatMap() 163 const OptionFormatMap& option_formats, OptionValueMap* options,
|
D | command.cpp | 45 const OptionFormatMap& option_formats, OptionValueMap* options, in PreprocessOptions() argument 52 auto it = option_formats.find(args[i]); in PreprocessOptions() 53 if (it == option_formats.end()) { in PreprocessOptions()
|
D | cmd_monitor.cpp | 302 static OptionFormatMap option_formats; in GetMonitorCmdOptionFormats() local 303 if (option_formats.empty()) { in GetMonitorCmdOptionFormats() 304 option_formats = { in GetMonitorCmdOptionFormats() 317 option_formats.insert(record_filter_options.begin(), record_filter_options.end()); in GetMonitorCmdOptionFormats() 319 return option_formats; in GetMonitorCmdOptionFormats()
|
D | RecordFilter_test.cpp | 139 const auto& option_formats = GetRecordFilterOptionFormats(); in Run() local 143 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in Run()
|
D | cmd_stat_impl.h | 328 static const OptionFormatMap option_formats = { in GetStatCmdOptionFormats() local 355 return option_formats; in GetStatCmdOptionFormats()
|
D | cmd_merge.cpp | 149 const OptionFormatMap option_formats = { in ParseOptions() local 155 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_inject.cpp | 163 const OptionFormatMap option_formats = { in ParseOptions() local 174 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_dumprecord.cpp | 236 const OptionFormatMap option_formats = { in ParseOptions() local 244 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, &non_option_args)) { in ParseOptions()
|
D | cmd_debug_unwind.cpp | 655 const OptionFormatMap option_formats = { in ParseOptions() local 667 if (!PreprocessOptions(args, option_formats, &options, &ordered_options)) { in ParseOptions()
|
D | cmd_report_sample.cpp | 290 const OptionFormatMap option_formats = { in ParseOptions() local 304 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|
D | cmd_report.cpp | 512 static OptionFormatMap option_formats = { in ParseOptions() local 540 if (!PreprocessOptions(args, option_formats, &options, &ordered_options, nullptr)) { in ParseOptions()
|