Home
last modified time | relevance | path

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

/external/libchrome/base/synchronization/
Dwaitable_event_unittest.cc68 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST()
71 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST()
74 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 4u); in TEST()
77 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 0u); in TEST()
99 EXPECT_EQ(0u, WaitableEvent::WaitMany(ev, 5)); in TEST()
102 EXPECT_EQ(1u, WaitableEvent::WaitMany(ev, 5)); in TEST()
103 EXPECT_EQ(2u, WaitableEvent::WaitMany(ev, 5)); in TEST()
108 EXPECT_EQ(0u, WaitableEvent::WaitMany(ev, 5)); in TEST()
109 EXPECT_EQ(3u, WaitableEvent::WaitMany(ev, 5)); in TEST()
111 EXPECT_EQ(2u, WaitableEvent::WaitMany(ev, 5)); in TEST()
[all …]
Dwaitable_event.h118 static size_t WaitMany(WaitableEvent** waitables, size_t count);
Dwaitable_event_posix.cc240 size_t WaitableEvent::WaitMany(WaitableEvent** raw_waitables, in WaitMany() function in base::WaitableEvent
/external/libmojo/mojo/edk/system/
Dcore_unittest.cc129 core()->WaitMany(&h, &handle_signals, 1, MOJO_DEADLINE_INDEFINITE, in TEST_F()
135 core()->WaitMany(&h, &handle_signals, 1, MOJO_DEADLINE_INDEFINITE, in TEST_F()
142 core()->WaitMany(&h, &handle_signals, 1, MOJO_DEADLINE_INDEFINITE, in TEST_F()
151 core()->WaitMany(&h, &handle_signals, 1, MOJO_DEADLINE_INDEFINITE, in TEST_F()
220 core()->WaitMany(handles, signals, 0, MOJO_DEADLINE_INDEFINITE, in TEST_F()
223 core()->WaitMany(nullptr, signals, 0, MOJO_DEADLINE_INDEFINITE, in TEST_F()
231 core()->WaitMany(nullptr, signals, 0, MOJO_DEADLINE_INDEFINITE, in TEST_F()
240 core()->WaitMany(handles, nullptr, 0, MOJO_DEADLINE_INDEFINITE, in TEST_F()
244 core()->WaitMany(handles, signals, 1, MOJO_DEADLINE_INDEFINITE, nullptr, in TEST_F()
251 core()->WaitMany( in TEST_F()
[all …]
Dcore.h142 MojoResult WaitMany(const MojoHandle* handles,
Dcore.cc403 MojoResult Core::WaitMany(const MojoHandle* handles, in WaitMany() function in mojo::edk::Core
/external/libmojo/mojo/public/cpp/system/
Dhandle.h230 inline WaitManyResult WaitMany(const HandleVectorType& handles, in WaitMany() function
261 inline WaitManyResult WaitMany(const HandleVectorType& handles, in WaitMany() function
/external/libmojo/mojo/edk/js/
Dcore.cc63 gin::Dictionary WaitMany(const gin::Arguments& args, in WaitMany() function
72 mojo::WaitMany(handles, signals, deadline, &signals_states); in WaitMany()
311 .SetMethod("waitMany", WaitMany) in GetModule()
/external/libmojo/mojo/public/cpp/system/tests/
Dcore_unittest.cc118 WaitMany(wh, sigs, MOJO_DEADLINE_INDEFINITE, nullptr); in TEST()
125 wait_many_result = WaitMany(wh, sigs, MOJO_DEADLINE_INDEFINITE, NULL); in TEST()
204 WaitManyResult wait_many_result = WaitMany(wh, sigs, 1000, &states); in TEST()
/external/libmojo/mojo/public/c/system/
Dthunks.cc39 assert(g_thunks.WaitMany); in MojoWaitMany()
40 return g_thunks.WaitMany(handles, signals, num_handles, deadline, in MojoWaitMany()
Dthunks.h47 MojoResult (*WaitMany)(const MojoHandle* handles, member
/external/libmojo/mojo/edk/embedder/
Dentrypoints.cc44 return g_core->WaitMany(handles, signals, num_handles, deadline, result_index, in MojoWaitManyImpl()
/external/libmojo/mojo/android/system/
Dcore_impl.cc29 static jint WaitMany(JNIEnv* env, in WaitMany() function
/external/libmojo/mojo/edk/system/ports/
Dports_unittest.cc358 base::WaitableEvent::WaitMany(events.data(), events.size()); in WaitForIdle()