Home
last modified time | relevance | path

Searched refs:WaitMany (Results 1 – 24 of 24) sorted by relevance

/external/cronet/base/synchronization/
Dwaitable_event_unittest.cc101 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST()
104 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST()
107 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 4u); in TEST()
110 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 0u); in TEST()
132 EXPECT_EQ(0u, WaitableEvent::WaitMany(ev, 5)); in TEST()
135 EXPECT_EQ(1u, WaitableEvent::WaitMany(ev, 5)); in TEST()
136 EXPECT_EQ(2u, WaitableEvent::WaitMany(ev, 5)); in TEST()
141 EXPECT_EQ(0u, WaitableEvent::WaitMany(ev, 5)); in TEST()
142 EXPECT_EQ(3u, WaitableEvent::WaitMany(ev, 5)); in TEST()
144 EXPECT_EQ(2u, WaitableEvent::WaitMany(ev, 5)); in TEST()
[all …]
Dwaitable_event_win.cc92 size_t WaitableEvent::WaitMany(WaitableEvent** events, size_t count) { in WaitMany() function in base::WaitableEvent
Dwaitable_event.h135 NOT_TAIL_CALLED static size_t WaitMany(WaitableEvent** waitables,
Dwaitable_event_mac.cc125 size_t WaitableEvent::WaitMany(WaitableEvent** raw_waitables, size_t count) { in WaitMany() function in base::WaitableEvent
Dwaitable_event_posix.cc232 size_t WaitableEvent::WaitMany(WaitableEvent** raw_waitables, in WaitMany() function in base::WaitableEvent
/external/libchrome/base/synchronization/
Dwaitable_event_unittest.cc100 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()
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()
[all …]
Dwaitable_event.h128 static size_t WaitMany(WaitableEvent** waitables, size_t count);
Dwaitable_event_posix.cc238 size_t WaitableEvent::WaitMany(WaitableEvent** raw_waitables, in WaitMany() function in base::WaitableEvent
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_unittest.cc70 WaitMany(invalid_handles, signals, 2, &result_index)); in TEST_F()
72 WaitMany(nullptr, signals, 2, &result_index)); in TEST_F()
74 WaitMany(valid_handles, nullptr, 2, &result_index)); in TEST_F()
196 WaitMany(handles, signals, 2, &result_index, c_hss)); in TEST_F()
202 EXPECT_EQ(MOJO_RESULT_OK, WaitMany(handles, signals, 2, &result_index, hss)); in TEST_F()
219 WaitMany(handles, signals, 2, &result_index, hss)); in TEST_F()
222 WaitMany(handles, signals, 1, &result_index, hss)); in TEST_F()
247 WaitMany(handles, signals, 3, &result_index)); in TEST_F()
268 EXPECT_EQ(MOJO_RESULT_OK, WaitMany(handles, signals, 2, &result_index, hss)); in TEST_F()
297 WaitMany(handles, signals, 3, &result_index, hss)); in TEST_F()
Dcore_unittest.cc120 MojoResult rv = WaitMany(wh.data(), sigs.data(), wh.size(), &result_index); in TEST()
178 MojoResult rv = WaitMany(wh.data(), sigs.data(), wh.size(), &result_index, in TEST()
/external/libchrome/mojo/public/cpp/system/
Dwait.cc113 MojoResult WaitMany(const Handle* handles, in WaitMany() function
176 index = base::WaitableEvent::WaitMany(events.data(), events.size()); in WaitMany()
Dwait.h81 WaitMany(const Handle* handles,
Dwait_set.cc203 size_t index = base::WaitableEvent::WaitMany(events.container().data(), in Wait()
DREADME.md314 `mojo::WaitMany` provides a simple API to wait on multiple handles
326 MojoResult result = mojo::WaitMany(handles, signals, 2, &ready_index);
334 Similar to `mojo::Wait`, `mojo::WaitMany` is primarily useful in testing. When
/external/angle/src/common/
DWorkerThread_unittest.cpp42 WaitableEvent::WaitMany(&waitables); in TEST()
DWorkerThread.h49 static void WaitMany(T *waitables) in WaitMany() function
/external/libchrome/mojo/public/c/system/tests/
Dcore_api_unittest.cc109 mojo::WaitMany(&handle0, &sig, 1, &result_index, states)); in TEST()
201 mojo::WaitMany(&consumer_handle, &sig, 1, &result_index, states)); in TEST()
/external/angle/src/image_util/
DAstcDecompressor.cpp227 WaitableEvent::WaitMany(&mWaitEvents); in decompress()
/external/libchrome/base/profiler/
Dstack_sampling_profiler_unittest.cc507 return WaitableEvent::WaitMany(sampling_completed_rawptrs.data(), in WaitForSamplingComplete()
/external/libchrome/mojo/core/
Dmultiprocess_message_pipe_unittest.cc803 mojo::WaitMany(handles.data(), signals.data(), handles.size(), &index), in DEFINE_TEST_CLIENT_WITH_PIPE()
/external/cronet/base/profiler/
Dstack_sampling_profiler_unittest.cc280 return WaitableEvent::WaitMany(sampling_completed_rawptrs.data(), in WaitForSamplingComplete()
/external/libchrome/mojo/core/ports/
Dports_unittest.cc341 base::WaitableEvent::WaitMany(events.data(), events.size()); in WaitForIdle()
/external/angle/src/libANGLE/renderer/metal/
DProgramMtl.mm729 angle::WaitableEvent::WaitMany(&mWaitableEvents);
/external/angle/src/libANGLE/renderer/d3d/
DProgramD3D.cpp1863 WaitableEvent::WaitMany(&mWaitEvents); in wait()