Lines Matching refs:monitors
49 std::vector<Monitor*> monitors; in TEST_F() local
64 if (monitors.size() == 0) { in TEST_F()
66 } else if (monitors.size() == kMaxUsage) { in TEST_F()
75 monitors.push_back(mon); in TEST_F()
80 size_t index = r.next() % monitors.size(); in TEST_F()
81 Monitor* mon = monitors[index]; in TEST_F()
82 monitors.erase(monitors.begin() + index); in TEST_F()
95 size_t target_size = monitors.size() + 2*kMaxUsage; in TEST_F()
96 while (monitors.size() < target_size) { in TEST_F()
98 static_cast<int32_t>(-monitors.size())); in TEST_F()
99 monitors.push_back(mon); in TEST_F()
105 for (Monitor* mon : monitors) { in TEST_F()
112 size_t index = r.next() % monitors.size(); in TEST_F()
113 Monitor* mon = monitors[index]; in TEST_F()
114 monitors.erase(monitors.begin() + index); in TEST_F()
121 for (Monitor* mon : monitors) { in TEST_F()