Home
last modified time | relevance | path

Searched refs:num_blocking_events (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/mojo/core/
Dtrap_unittest.cc147 uint32_t num_blocking_events = 1; in TEST_F() local
149 MojoArmTrap(t, nullptr, &num_blocking_events, nullptr)); in TEST_F()
193 uint32_t num_blocking_events = kMaxBlockingEvents; in TEST_F() local
199 MojoArmTrap(t, nullptr, &num_blocking_events, &blocking_events[0])); in TEST_F()
200 EXPECT_EQ(1u, num_blocking_events); in TEST_F()
271 uint32_t num_blocking_events = kMaxBlockingEvents; in TEST_F() local
277 MojoArmTrap(t, nullptr, &num_blocking_events, &blocking_events[0])); in TEST_F()
278 EXPECT_EQ(1u, num_blocking_events); in TEST_F()
330 uint32_t num_blocking_events = kMaxBlockingEvents; in TEST_F() local
336 MojoArmTrap(t, nullptr, &num_blocking_events, &blocking_events[0])); in TEST_F()
[all …]
Dwatcher_dispatcher.cc207 MojoResult WatcherDispatcher::Arm(uint32_t* num_blocking_events, in Arm() argument
210 if (num_blocking_events && !blocking_events) in Arm()
224 if (num_blocking_events) { in Arm()
226 *num_blocking_events = std::min( in Arm()
227 *num_blocking_events, static_cast<uint32_t>(ready_watches_.size())); in Arm()
240 for (size_t i = 0; i < *num_blocking_events; ++i) { in Arm()
Dwatcher_dispatcher.h53 MojoResult Arm(uint32_t* num_blocking_events,
Dentrypoints.cc241 uint32_t* num_blocking_events, in MojoArmTrapImpl() argument
243 return g_core->ArmTrap(trap_handle, options, num_blocking_events, in MojoArmTrapImpl()
Ddispatcher.h83 virtual MojoResult Arm(uint32_t* num_blocking_events,
Ddispatcher.cc37 MojoResult Dispatcher::Arm(uint32_t* num_blocking_events, in Arm() argument
Dcore.h186 uint32_t* num_blocking_events,
Dcore.cc367 uint32_t* num_blocking_events, in ArmTrap() argument
376 return watcher->Arm(num_blocking_events, blocking_events); in ArmTrap()
/external/libchrome/mojo/public/cpp/system/
Dwait.cc90 uint32_t num_blocking_events = 1; in Wait() local
92 rv = MojoArmTrap(trap.get().value(), nullptr, &num_blocking_events, in Wait()
95 DCHECK_EQ(1u, num_blocking_events); in Wait()
151 uint32_t num_blocking_events = 1; in WaitMany() local
153 rv = MojoArmTrap(trap.get().value(), nullptr, &num_blocking_events, in WaitMany()
160 DCHECK_EQ(1u, num_blocking_events); in WaitMany()
Dwait_set.cc148 uint32_t num_blocking_events = in Wait() local
152 blocking_events.container().resize(num_blocking_events); in Wait()
153 for (size_t i = 0; i < num_blocking_events; ++i) { in Wait()
158 &num_blocking_events, in Wait()
167 for (size_t i = 0; i < num_blocking_events; ++i) { in Wait()
Dsimple_watcher.cc209 uint32_t num_blocking_events = 1; in Arm() local
212 &num_blocking_events, &blocking_event); in Arm()
215 DCHECK_EQ(1u, num_blocking_events); in Arm()
/external/libchrome/mojo/public/c/system/
Dtrap.h315 uint32_t* num_blocking_events,
Dthunks.cc306 uint32_t* num_blocking_events, in MojoArmTrap() argument
308 return INVOKE_THUNK(ArmTrap, trap_handle, options, num_blocking_events, in MojoArmTrap()
Dthunks.h159 uint32_t* num_blocking_events,
DREADME.md783 uint32_t num_blocking_events = 2;
786 MojoResult result = MojoArmTrap(t, NULL, &num_blocking_events,
791 `MOJO_RESULT_FAILED_PRECONDITION`. The input value of `num_blocking_events`
796 * `num_blocking_events` is `1`.