Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dutils_test.cpp73 TEST(utils, GetTidsFromString) { in TEST() argument
74 ASSERT_EQ(GetTidsFromString("0,12,9", false), std::make_optional(std::set<pid_t>({0, 9, 12}))); in TEST()
75 ASSERT_EQ(GetTidsFromString("-2", false), std::nullopt); in TEST()
DRecordFilter.cpp28 if (auto pids = GetTidsFromString(*value.str_value, false); pids) { in ParseOptions()
35 if (auto tids = GetTidsFromString(*value.str_value, false); tids) { in ParseOptions()
Dutils.h179 std::optional<std::set<pid_t>> GetTidsFromString(const std::string& s, bool check_if_exists);
Dcmd_stat.cpp681 if (auto pids = GetTidsFromString(*value.str_value, true); pids) { in ParseOptions()
697 if (auto tids = GetTidsFromString(*value.str_value, true); tids) { in ParseOptions()
Dutils.cpp410 std::optional<std::set<pid_t>> GetTidsFromString(const std::string& s, bool check_if_exists) { in GetTidsFromString() function
Dcmd_report.cpp605 if (auto pids = GetTidsFromString(*value.str_value, false); pids) { in ParseOptions()
612 if (auto tids = GetTidsFromString(*value.str_value, false); tids) { in ParseOptions()
Dcmd_record.cpp937 if (auto pids = GetTidsFromString(*value.str_value, true); pids) { in ParseOptions()
976 if (auto tids = GetTidsFromString(*value.str_value, true); tids) { in ParseOptions()