Home
last modified time | relevance | path

Searched refs:ResetPolicy (Results 1 – 25 of 45) sorted by relevance

12

/external/libchrome/base/synchronization/
Dwaitable_event_unittest.cc20 WaitableEvent event(WaitableEvent::ResetPolicy::MANUAL, in TEST()
39 WaitableEvent event(WaitableEvent::ResetPolicy::MANUAL, in TEST()
58 WaitableEvent event(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
80 WaitableEvent event(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
95 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
118 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
172 new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
190 ev[i] = new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
211 new WaitableEvent(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
229 WaitableEvent ev(WaitableEvent::ResetPolicy::AUTOMATIC, in TEST()
[all …]
Dwaitable_event.h59 enum class ResetPolicy { MANUAL, AUTOMATIC }; enum
67 WaitableEvent(ResetPolicy reset_policy = ResetPolicy::MANUAL,
176 static bool UseSlowWatchList(ResetPolicy policy);
224 const ResetPolicy policy_;
248 WaitableEventKernel(ResetPolicy reset_policy, InitialState initial_state);
Dwaitable_event_posix.cc45 WaitableEvent::WaitableEvent(ResetPolicy reset_policy, in WaitableEvent()
372 ResetPolicy reset_policy, in WaitableEventKernel()
374 : manual_reset_(reset_policy == ResetPolicy::MANUAL), in WaitableEventKernel()
Dwaitable_event_perftest.cc20 : event_(WaitableEvent::ResetPolicy::AUTOMATIC, in TraceWaitableEvent()
88 WaitableEvent stop_event_{WaitableEvent::ResetPolicy::MANUAL,
/external/libchrome/mojo/public/cpp/bindings/tests/
Dsync_handle_registry_unittest.cc34 base::WaitableEvent e(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
58 base::WaitableEvent e(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
101 base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
116 base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
137 base::WaitableEvent e(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
170 base::WaitableEvent e(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
209 base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
211 base::WaitableEvent e2(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
232 base::WaitableEvent e3(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
/external/libchrome/base/threading/
Dsimple_thread_unittest.cc39 : started_(WaitableEvent::ResetPolicy::MANUAL, in ControlledRunner()
41 released_(WaitableEvent::ResetPolicy::MANUAL, in ControlledRunner()
43 done_(WaitableEvent::ResetPolicy::MANUAL, in ControlledRunner()
148 WaitableEvent event(WaitableEvent::ResetPolicy::MANUAL, in TEST()
222 WaitableEvent event(WaitableEvent::ResetPolicy::MANUAL, in TEST()
Dthread_unittest.cc158 base::WaitableEvent event(base::WaitableEvent::ResetPolicy::AUTOMATIC, in TEST_F()
192 base::WaitableEvent::ResetPolicy::AUTOMATIC, in TEST_F()
307 base::WaitableEvent event(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
365 base::WaitableEvent::ResetPolicy::AUTOMATIC, in TEST_F()
401 base::WaitableEvent event(base::WaitableEvent::ResetPolicy::AUTOMATIC, in TEST_F()
Dthread.cc51 : id_event_(WaitableEvent::ResetPolicy::MANUAL, in Thread()
54 start_event_(WaitableEvent::ResetPolicy::MANUAL, in Thread()
156 WaitableEvent done(WaitableEvent::ResetPolicy::AUTOMATIC, in FlushForTesting()
Dsimple_thread.cc21 event_(WaitableEvent::ResetPolicy::MANUAL, in SimpleThread()
113 dry_(WaitableEvent::ResetPolicy::MANUAL, in DelegateSimpleThreadPool()
Dplatform_thread_unittest.cc28 TrivialThread() : run_event_(WaitableEvent::ResetPolicy::MANUAL, in TrivialThread()
102 termination_ready_(WaitableEvent::ResetPolicy::MANUAL, in FunctionTestThread()
104 terminate_thread_(WaitableEvent::ResetPolicy::MANUAL, in FunctionTestThread()
Dthread_local_unittest.cc81 base::WaitableEvent done(WaitableEvent::ResetPolicy::MANUAL, in TEST()
/external/libchrome/mojo/core/
Dtrap_unittest.cc158 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
221 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
247 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
295 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
359 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
444 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
521 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
547 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
593 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
626 base::WaitableEvent wait(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
[all …]
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc49 new WaitableEvent(base::WaitableEvent::ResetPolicy::AUTOMATIC, in Worker()
52 new WaitableEvent(base::WaitableEvent::ResetPolicy::AUTOMATIC, in Worker()
59 shutdown_event_(base::WaitableEvent::ResetPolicy::MANUAL, in Worker()
66 new WaitableEvent(base::WaitableEvent::ResetPolicy::AUTOMATIC, in Worker()
69 new WaitableEvent(base::WaitableEvent::ResetPolicy::AUTOMATIC, in Worker()
76 shutdown_event_(base::WaitableEvent::ResetPolicy::MANUAL, in Worker()
100 base::WaitableEvent::ResetPolicy::AUTOMATIC, in Shutdown()
102 ipc_done(base::WaitableEvent::ResetPolicy::AUTOMATIC, in Shutdown()
504 base::WaitableEvent::ResetPolicy::AUTOMATIC, in NoHang()
802 base::WaitableEvent::ResetPolicy::AUTOMATIC, in Multiple()
[all …]
Dipc_sync_channel.cc286 dispatch_event_(base::WaitableEvent::ResetPolicy::MANUAL, in ReceivedSyncMsgQueue()
395 new base::WaitableEvent(base::WaitableEvent::ResetPolicy::MANUAL, in Push()
652 base::WaitableEvent::ResetPolicy::MANUAL, in WaitForReply()
Dipc_sync_message_filter.cc46 base::WaitableEvent::ResetPolicy::MANUAL, in Send()
/external/libchrome/base/memory/
Dweak_ptr_unittest.cc94 WaitableEvent completion(WaitableEvent::ResetPolicy::MANUAL, in CreateArrowFromTarget()
103 WaitableEvent completion(WaitableEvent::ResetPolicy::MANUAL, in CreateArrowFromArrow()
112 WaitableEvent completion(WaitableEvent::ResetPolicy::MANUAL, in DeleteTarget()
121 WaitableEvent completion(WaitableEvent::ResetPolicy::MANUAL, in CopyAndAssignArrow()
130 WaitableEvent completion(WaitableEvent::ResetPolicy::MANUAL, in CopyAndAssignArrowBase()
139 WaitableEvent completion(WaitableEvent::ResetPolicy::MANUAL, in DeleteArrow()
148 WaitableEvent completion(WaitableEvent::ResetPolicy::MANUAL, in DeRef()
/external/libchrome/base/timer/
Dtimer_unittest.cc205 WaitableEvent did_run_a(WaitableEvent::ResetPolicy::MANUAL, in RunTest_OneShotTimers()
221 WaitableEvent did_run_a(WaitableEvent::ResetPolicy::MANUAL, in RunTest_OneShotTimers_Cancel()
260 WaitableEvent did_run_a(WaitableEvent::ResetPolicy::MANUAL, in RunTest_RepeatingTimer_Cancel()
418 WaitableEvent did_run(WaitableEvent::ResetPolicy::MANUAL, in TEST()
539 WaitableEvent did_run(WaitableEvent::ResetPolicy::MANUAL, in TEST()
730 : event_(WaitableEvent::ResetPolicy::AUTOMATIC, in TimerSequenceTest()
/external/libchrome/base/
Dsync_socket_unittest.cc26 started_event_(WaitableEvent::ResetPolicy::MANUAL, in HangingReceiveThread()
28 done_event_(WaitableEvent::ResetPolicy::MANUAL, in HangingReceiveThread()
Dobserver_list_unittest.cc609 WaitableEvent::ResetPolicy::MANUAL, in ThreadSafeObserverHarness()
754 : notification_running_(WaitableEvent::ResetPolicy::AUTOMATIC, in RemoveWhileNotificationIsRunningObserver()
756 barrier_(WaitableEvent::ResetPolicy::AUTOMATIC, in RemoveWhileNotificationIsRunningObserver()
786 WaitableEvent task_running(WaitableEvent::ResetPolicy::AUTOMATIC,
788 WaitableEvent barrier(WaitableEvent::ResetPolicy::AUTOMATIC,
/external/libchrome/base/message_loop/
Dmessage_loop_perftest.cc94 thread_started_(WaitableEvent::ResetPolicy::MANUAL, in PostingThread()
123 run_posting_threads_(WaitableEvent::ResetPolicy::MANUAL, in MessageLoopPerfTest()
Dmessage_pump_default.cc24 event_(WaitableEvent::ResetPolicy::AUTOMATIC, in MessagePumpDefault()
/external/libchrome/base/task_scheduler/
Dscheduler_lock_unittest.cc59 lock_acquire_event_(WaitableEvent::ResetPolicy::AUTOMATIC, in BasicLockAcquireAndWaitThread()
61 main_thread_continue_event_(WaitableEvent::ResetPolicy::AUTOMATIC, in BasicLockAcquireAndWaitThread()
/external/libchrome/mojo/core/embedder/
Dscoped_ipc_support.cc38 base::WaitableEvent::ResetPolicy::MANUAL, in ~ScopedIPCSupport()
/external/libchrome/base/test/
Dscoped_task_environment_unittest.cc123 WaitableEvent task_ran(WaitableEvent::ResetPolicy::MANUAL, in TEST_P()
141 WaitableEvent task_ran(WaitableEvent::ResetPolicy::MANUAL, in TEST_P()
/external/libchrome/mojo/public/cpp/system/tests/
Dwait_set_unittest.cc259 base::WaitableEvent event(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
279 base::WaitableEvent event(base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()
337 base::WaitableEvent::ResetPolicy::MANUAL, in TEST_F()

12