/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 147 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 …]
|
D | watcher_dispatcher.cc | 207 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()
|
D | watcher_dispatcher.h | 53 MojoResult Arm(uint32_t* num_blocking_events,
|
D | entrypoints.cc | 241 uint32_t* num_blocking_events, in MojoArmTrapImpl() argument 243 return g_core->ArmTrap(trap_handle, options, num_blocking_events, in MojoArmTrapImpl()
|
D | dispatcher.h | 83 virtual MojoResult Arm(uint32_t* num_blocking_events,
|
D | dispatcher.cc | 37 MojoResult Dispatcher::Arm(uint32_t* num_blocking_events, in Arm() argument
|
D | core.h | 186 uint32_t* num_blocking_events,
|
D | core.cc | 367 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/ |
D | wait.cc | 90 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()
|
D | wait_set.cc | 148 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()
|
D | simple_watcher.cc | 209 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/ |
D | trap.h | 315 uint32_t* num_blocking_events,
|
D | thunks.cc | 306 uint32_t* num_blocking_events, in MojoArmTrap() argument 308 return INVOKE_THUNK(ArmTrap, trap_handle, options, num_blocking_events, in MojoArmTrap()
|
D | thunks.h | 159 uint32_t* num_blocking_events,
|
D | README.md | 783 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`.
|