Searched refs:option_formats (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | command_test.cpp | 82 OptionFormatMap option_formats = { in TEST() local 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()
|
D | cmd_api_impl.h | 24 static const OptionFormatMap option_formats = { in GetApiCollectCmdOptionFormats() local 31 return option_formats; in GetApiCollectCmdOptionFormats()
|
D | command.h | 130 static const OptionFormatMap option_formats = { in GetCommonOptionFormatMap() local 138 return option_formats; in GetCommonOptionFormatMap() 166 const OptionFormatMap& option_formats, OptionValueMap* options,
|
D | cmd_record_impl.h | 31 static const OptionFormatMap option_formats = { in GetRecordCmdOptionFormats() local 81 return option_formats; in GetRecordCmdOptionFormats()
|
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_stat_impl.h | 328 static const OptionFormatMap option_formats = { in GetStatCmdOptionFormats() local 355 return option_formats; in GetStatCmdOptionFormats()
|