Home
last modified time | relevance | path

Searched refs:blocking_events (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/mojo/core/
Dtrap_unittest.cc194 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 …]
Dwatcher_dispatcher.cc208 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()
Dwatcher_dispatcher.h54 MojoTrapEvent* blocking_events) override;
Dentrypoints.cc242 MojoTrapEvent* blocking_events) { in MojoArmTrapImpl() argument
244 blocking_events); in MojoArmTrapImpl()
Ddispatcher.h84 MojoTrapEvent* blocking_events);
Ddispatcher.cc38 MojoTrapEvent* blocking_events) { in Arm() argument
Dcore.h187 MojoTrapEvent* blocking_events);
Dcore.cc368 MojoTrapEvent* blocking_events) { in ArmTrap() argument
376 return watcher->Arm(num_blocking_events, blocking_events); in ArmTrap()
/external/libchrome/mojo/public/cpp/system/
Dwait_set.cc151 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/
Dtrap.h316 struct MojoTrapEvent* blocking_events);
Dthunks.cc307 MojoTrapEvent* blocking_events) { in MojoArmTrap() argument
309 blocking_events); in MojoArmTrap()
Dthunks.h160 struct MojoTrapEvent* blocking_events);
DREADME.md784 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