Home
last modified time | relevance | path

Searched refs:GetPidsFromStrings (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dutils_test.cpp80 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()
Dutils.h259 std::optional<std::set<pid_t>> GetPidsFromStrings(const std::vector<std::string>& strs,
DRecordFilter.cpp252 if (auto pids = GetPidsFromStrings(strs, false, false); pids) { in ParseOptions()
Dutils.cpp430 std::optional<std::set<pid_t>> GetPidsFromStrings(const std::vector<std::string>& strs, in GetPidsFromStrings() function
Dcmd_stat.cpp696 if (auto pids = GetPidsFromStrings(strs, true, true); pids) { in ParseOptions()
Dcmd_report.cpp666 if (auto pids = GetPidsFromStrings(strs, false, false); pids) { in ParseOptions()
Dcmd_record.cpp1109 if (auto pids = GetPidsFromStrings(strs, true, true); pids) { in ParseOptions()