Searched refs:GetTidsFromString (Results 1 – 7 of 7) sorted by relevance
/system/extras/simpleperf/ |
D | utils_test.cpp | 73 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()
|
D | RecordFilter.cpp | 28 if (auto pids = GetTidsFromString(*value.str_value, false); pids) { in ParseOptions() 35 if (auto tids = GetTidsFromString(*value.str_value, false); tids) { in ParseOptions()
|
D | utils.h | 179 std::optional<std::set<pid_t>> GetTidsFromString(const std::string& s, bool check_if_exists);
|
D | cmd_stat.cpp | 681 if (auto pids = GetTidsFromString(*value.str_value, true); pids) { in ParseOptions() 697 if (auto tids = GetTidsFromString(*value.str_value, true); tids) { in ParseOptions()
|
D | utils.cpp | 410 std::optional<std::set<pid_t>> GetTidsFromString(const std::string& s, bool check_if_exists) { in GetTidsFromString() function
|
D | cmd_report.cpp | 605 if (auto pids = GetTidsFromString(*value.str_value, false); pids) { in ParseOptions() 612 if (auto tids = GetTidsFromString(*value.str_value, false); tids) { in ParseOptions()
|
D | cmd_record.cpp | 937 if (auto pids = GetTidsFromString(*value.str_value, true); pids) { in ParseOptions() 976 if (auto tids = GetTidsFromString(*value.str_value, true); tids) { in ParseOptions()
|