Searched refs:GetPidsFromStrings (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | utils_test.cpp | 80 TEST(utils, GetPidsFromStrings) { in TEST() argument 81 ASSERT_EQ(GetPidsFromStrings({"0,12", "9"}, false, false), in TEST() 83 ASSERT_EQ(GetPidsFromStrings({"-2"}, false, false), std::nullopt); in TEST() 86 ASSERT_EQ(GetPidsFromStrings({std::to_string(pid)}, true, false), in TEST() 89 ASSERT_EQ(GetPidsFromStrings({process_name}, true, true), in TEST()
|
D | utils.h | 259 std::optional<std::set<pid_t>> GetPidsFromStrings(const std::vector<std::string>& strs,
|
D | RecordFilter.cpp | 252 if (auto pids = GetPidsFromStrings(strs, false, false); pids) { in ParseOptions()
|
D | utils.cpp | 430 std::optional<std::set<pid_t>> GetPidsFromStrings(const std::vector<std::string>& strs, in GetPidsFromStrings() function
|
D | cmd_stat.cpp | 696 if (auto pids = GetPidsFromStrings(strs, true, true); pids) { in ParseOptions()
|
D | cmd_report.cpp | 666 if (auto pids = GetPidsFromStrings(strs, false, false); pids) { in ParseOptions()
|
D | cmd_record.cpp | 1109 if (auto pids = GetPidsFromStrings(strs, true, true); pids) { in ParseOptions()
|