Searched refs:blocking_events (Results 1 – 13 of 13) sorted by relevance
/external/libchrome/mojo/core/ |
D | trap_unittest.cc | 194 MojoTrapEvent blocking_events[kMaxBlockingEvents] = { in TEST_F() local 195 {sizeof(blocking_events[0])}, in TEST_F() 196 {sizeof(blocking_events[0])}, in TEST_F() 197 {sizeof(blocking_events[0])}}; in TEST_F() 199 MojoArmTrap(t, nullptr, &num_blocking_events, &blocking_events[0])); in TEST_F() 201 EXPECT_EQ(readable_a_context, blocking_events[0].trigger_context); in TEST_F() 202 EXPECT_EQ(MOJO_RESULT_OK, blocking_events[0].result); in TEST_F() 272 MojoTrapEvent blocking_events[kMaxBlockingEvents] = { in TEST_F() local 273 {sizeof(blocking_events[0])}, in TEST_F() 274 {sizeof(blocking_events[0])}, in TEST_F() [all …]
|
D | watcher_dispatcher.cc | 208 MojoTrapEvent* blocking_events) { in Arm() argument 210 if (num_blocking_events && !blocking_events) in Arm() 242 if (blocking_events[i].struct_size < sizeof(*blocking_events)) in Arm() 244 blocking_events[i].flags = MOJO_TRAP_EVENT_FLAG_WITHIN_API_CALL; in Arm() 245 blocking_events[i].trigger_context = watch->context(); in Arm() 246 blocking_events[i].result = watch->last_known_result(); in Arm() 247 blocking_events[i].signals_state = watch->last_known_signals_state(); in Arm()
|
D | watcher_dispatcher.h | 54 MojoTrapEvent* blocking_events) override;
|
D | entrypoints.cc | 242 MojoTrapEvent* blocking_events) { in MojoArmTrapImpl() argument 244 blocking_events); in MojoArmTrapImpl()
|
D | dispatcher.h | 84 MojoTrapEvent* blocking_events);
|
D | dispatcher.cc | 38 MojoTrapEvent* blocking_events) { in Arm() argument
|
D | core.h | 187 MojoTrapEvent* blocking_events);
|
D | core.cc | 368 MojoTrapEvent* blocking_events) { in ArmTrap() argument 376 return watcher->Arm(num_blocking_events, blocking_events); in ArmTrap()
|
/external/libchrome/mojo/public/cpp/system/ |
D | wait_set.cc | 151 base::StackVector<MojoTrapEvent, 4> blocking_events; in Wait() local 152 blocking_events.container().resize(num_blocking_events); in Wait() 154 blocking_events.container()[i].struct_size = in Wait() 155 sizeof(blocking_events.container()[i]); in Wait() 159 blocking_events.container().data()); in Wait() 168 const auto& event = blocking_events.container()[i]; in Wait()
|
/external/libchrome/mojo/public/c/system/ |
D | trap.h | 316 struct MojoTrapEvent* blocking_events);
|
D | thunks.cc | 307 MojoTrapEvent* blocking_events) { in MojoArmTrap() argument 309 blocking_events); in MojoArmTrap()
|
D | thunks.h | 160 struct MojoTrapEvent* blocking_events);
|
D | README.md | 784 MojoTrapEvent blocking_events[2] = {{sizeof(MojoTrapEvent)}, 787 &blocking_events); 797 * `blocking_events[0].trigger_context` is `1234`. 798 * `blocking_events[0].result` is `MOJO_RESULT_OK` 799 * `blocking_events[0].signals_state` is the last known signaling state of handle
|