Home
last modified time | relevance | path

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

/external/libmojo/mojo/edk/system/
Dawakable_list.cc30 keep = it->awakable->Awake(MOJO_RESULT_OK, it->context); in AwakeForStateChange()
32 keep = it->awakable->Awake(MOJO_RESULT_FAILED_PRECONDITION, it->context); in AwakeForStateChange()
48 it->awakable->Awake(MOJO_RESULT_CANCELLED, it->context); in CancelAll()
54 void AwakableList::Add(Awakable* awakable, in Add() argument
57 awakables_.push_back(AwakeInfo(awakable, signals, context)); in Add()
60 void AwakableList::Remove(Awakable* awakable) { in Remove() argument
65 if (it->awakable == awakable) { in Remove()
Dawakable_list.h39 void Add(Awakable* awakable, MojoHandleSignals signals, uintptr_t context);
40 void Remove(Awakable* awakable);
51 AwakeInfo(Awakable* awakable, MojoHandleSignals signals, uintptr_t context) in AwakeInfo()
52 : awakable(awakable), signals(signals), context(context) {} in AwakeInfo()
54 Awakable* awakable; member
Dmessage_pipe_dispatcher.cc347 Awakable* awakable, in AddAwakable() argument
362 << endpoint_ << " [awakable=" << awakable << "; port=" in AddAwakable()
381 << endpoint_ << " [awakable=" << awakable << "; port=" in AddAwakable()
384 awakables_.Add(awakable, signals, context); in AddAwakable()
388 void MessagePipeDispatcher::RemoveAwakable(Awakable* awakable, in RemoveAwakable() argument
399 << endpoint_ << " [awakable=" << awakable << "; port=" in RemoveAwakable()
402 awakables_.Remove(awakable); in RemoveAwakable()
Dcore_test_base.cc110 MojoResult AddAwakable(Awakable* awakable, in AddAwakable() argument
118 info_->AwakableWasAdded(awakable); in AddAwakable()
336 void CoreTestBase_MockHandleInfo::AwakableWasAdded(Awakable* awakable) { in AwakableWasAdded() argument
338 added_awakables_.push_back(awakable); in AwakableWasAdded()
Dwait_set_dispatcher.cc246 MojoResult WaitSetDispatcher::AddAwakable(Awakable* awakable, in AddAwakable() argument
269 awakable_list_.Add(awakable, signals, context); in AddAwakable()
273 void WaitSetDispatcher::RemoveAwakable(Awakable* awakable, in RemoveAwakable() argument
277 awakable_list_.Remove(awakable); in RemoveAwakable()
Dwait_set_dispatcher.h41 MojoResult AddAwakable(Awakable* awakable,
45 void RemoveAwakable(Awakable* awakable,
Dmessage_pipe_dispatcher.h65 MojoResult AddAwakable(Awakable* awakable,
69 void RemoveAwakable(Awakable* awakable,
Ddata_pipe_consumer_dispatcher.h59 MojoResult AddAwakable(Awakable* awakable,
63 void RemoveAwakable(Awakable* awakable,
Ddata_pipe_producer_dispatcher.h58 MojoResult AddAwakable(Awakable* awakable,
62 void RemoveAwakable(Awakable* awakable,
Ddispatcher.h175 virtual MojoResult AddAwakable(Awakable* awakable,
184 virtual void RemoveAwakable(Awakable* awakable,
Ddata_pipe_producer_dispatcher.cc265 Awakable* awakable, in AddAwakable() argument
288 awakable_list_.Add(awakable, signals, context); in AddAwakable()
293 Awakable* awakable, in RemoveAwakable() argument
300 awakable_list_.Remove(awakable); in RemoveAwakable()
Ddispatcher.cc118 MojoResult Dispatcher::AddAwakable(Awakable* awakable, in AddAwakable() argument
125 void Dispatcher::RemoveAwakable(Awakable* awakable, in RemoveAwakable() argument
Ddata_pipe_consumer_dispatcher.cc283 Awakable* awakable, in AddAwakable() argument
306 awakable_list_.Add(awakable, signals, context); in AddAwakable()
311 Awakable* awakable, in RemoveAwakable() argument
318 awakable_list_.Remove(awakable); in RemoveAwakable()
DBUILD.gn19 "awakable.h",