Searched refs:ordered_options (Results 1 – 6 of 6) sorted by relevance
/system/extras/simpleperf/ |
D | command_test.cpp | 79 std::vector<std::pair<OptionName, OptionValue>> ordered_options; 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() 129 ASSERT_EQ(ordered_options.size(), 3); in TEST() 130 ASSERT_EQ(ordered_options[0].first, "--ord-str-option"); in TEST() 131 ASSERT_EQ(*(ordered_options[0].second.str_value), "str1"); in TEST() 132 ASSERT_EQ(ordered_options[1].first, "--ord-uint-option"); in TEST() 133 ASSERT_EQ(ordered_options[1].second.uint_value, 32); in TEST() 134 ASSERT_EQ(ordered_options[2].first, "--ord-str-option"); in TEST() 135 ASSERT_EQ(*(ordered_options[2].second.str_value), "str2"); in TEST() [all …]
|
D | cmd_api.cpp | 111 std::vector<std::pair<OptionName, OptionValue>> ordered_options; in ParseOptions() local 114 if (!PreprocessOptions(args, GetApiCollectCmdOptionFormats(), &options, &ordered_options, in ParseOptions() 135 CHECK(ordered_options.empty()); in ParseOptions()
|
D | command.cpp | 46 std::vector<std::pair<OptionName, OptionValue>>* ordered_options, in PreprocessOptions() argument 49 ordered_options->clear(); in PreprocessOptions() 113 ordered_options->emplace_back(name, value); in PreprocessOptions()
|
D | command.h | 167 std::vector<std::pair<OptionName, OptionValue>>* ordered_options,
|
D | cmd_stat.cpp | 631 std::vector<std::pair<OptionName, OptionValue>> ordered_options; in ParseOptions() local 633 if (!PreprocessOptions(args, GetStatCmdOptionFormats(), &options, &ordered_options, in ParseOptions() 727 CHECK(ordered_options.empty()); in ParseOptions()
|
D | cmd_record.cpp | 730 std::vector<std::pair<OptionName, OptionValue>> ordered_options; in ParseOptions() local 732 if (!PreprocessOptions(args, GetRecordCmdOptionFormats(), &options, &ordered_options, in ParseOptions() 906 for (const auto& pair : ordered_options) { in ParseOptions()
|