• Home
  • Raw
  • Download

Lines Matching refs:WaitableEvent

20   WaitableEvent event(WaitableEvent::ResetPolicy::MANUAL,  in TEST()
21 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
39 WaitableEvent event(WaitableEvent::ResetPolicy::MANUAL, in TEST()
40 WaitableEvent::InitialState::SIGNALED); in TEST()
58 WaitableEvent event(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
59 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
80 WaitableEvent event(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
81 WaitableEvent::InitialState::SIGNALED); in TEST()
93 WaitableEvent* ev[5]; in TEST()
95 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
96 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
100 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST()
103 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST()
106 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 4u); in TEST()
109 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 0u); in TEST()
116 WaitableEvent* ev[5]; in TEST()
118 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
119 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
131 EXPECT_EQ(0u, WaitableEvent::WaitMany(ev, 5)); in TEST()
134 EXPECT_EQ(1u, WaitableEvent::WaitMany(ev, 5)); in TEST()
135 EXPECT_EQ(2u, WaitableEvent::WaitMany(ev, 5)); in TEST()
140 EXPECT_EQ(0u, WaitableEvent::WaitMany(ev, 5)); in TEST()
141 EXPECT_EQ(3u, WaitableEvent::WaitMany(ev, 5)); in TEST()
143 EXPECT_EQ(2u, WaitableEvent::WaitMany(ev, 5)); in TEST()
144 EXPECT_EQ(4u, WaitableEvent::WaitMany(ev, 5)); in TEST()
153 WaitableEventSignaler(TimeDelta delay, WaitableEvent* event) in WaitableEventSignaler()
165 WaitableEvent* event_;
171 WaitableEvent* ev = in TEST()
172 new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
173 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
188 WaitableEvent* ev[5]; in TEST()
190 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
191 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
198 size_t index = WaitableEvent::WaitMany(ev, 5); in TEST()
210 WaitableEvent* ev = in TEST()
211 new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
212 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
229 WaitableEvent ev(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
230 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()
241 WaitableEvent ev(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
242 WaitableEvent::InitialState::NOT_SIGNALED); in TEST()