Lines Matching refs:result
61 std::map<int, std::vector<FdtrackFrame>> result; in RunFdtrack() local
65 auto& map = *static_cast<decltype(result)*>(arg); in RunFdtrack()
75 &result); in RunFdtrack()
77 return result; in RunFdtrack()
82 auto result = RunFdtrack([]() { fd = open("/dev/null", O_RDONLY | O_CLOEXEC); }); in TEST() local
85 ASSERT_EQ(1, result.size()); in TEST()
86 ASSERT_EQ(fd, result.begin()->first); in TEST()
87 ASSERT_NE(nullptr, strstr(result.begin()->second.at(0).function_name, "open")); in TEST()
94 auto result = RunFdtrack([]() { in TEST() local
105 ASSERT_EQ(2, result.size()); in TEST()
106 ASSERT_EQ(1, result.count(fd1)); in TEST()
107 ASSERT_EQ(1, result.count(fd3)); in TEST()
109 ASSERT_NE(nullptr, strstr(result[fd1].at(0).function_name, "open")); in TEST()
110 ASSERT_NE(nullptr, strstr(result[fd3].at(0).function_name, "open")); in TEST()