/external/libchrome/base/synchronization/ |
D | waitable_event_posix.cc | 42 WaitableEvent::WaitableEvent(bool manual_reset, bool initially_signaled) in WaitableEvent() function in base::WaitableEvent 46 WaitableEvent::~WaitableEvent() { in ~WaitableEvent() 49 void WaitableEvent::Reset() { in Reset() 54 void WaitableEvent::Signal() { in Signal() 71 bool WaitableEvent::IsSignaled() { in IsSignaled() 87 class SyncWaiter : public WaitableEvent::Waiter { 96 bool Fire(WaitableEvent* signaling_event) override { in Fire() 114 WaitableEvent* signaling_event() const { in signaling_event() 150 WaitableEvent* signaling_event_; // The WaitableEvent which woke us 155 void WaitableEvent::Wait() { in Wait() [all …]
|
D | waitable_event_unittest.cc | 18 WaitableEvent event(true, false); in TEST() 36 WaitableEvent event(false, false); in TEST() 57 WaitableEvent* ev[5]; in TEST() 59 ev[i] = new WaitableEvent(false, false); in TEST() 62 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST() 65 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 3u); in TEST() 68 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 4u); in TEST() 71 EXPECT_EQ(WaitableEvent::WaitMany(ev, 5), 0u); in TEST() 79 WaitableEventSignaler(TimeDelta delay, WaitableEvent* event) in WaitableEventSignaler() 91 WaitableEvent* event_; [all …]
|
D | waitable_event.h | 44 class BASE_EXPORT WaitableEvent { 50 WaitableEvent(bool manual_reset, bool initially_signaled); 56 explicit WaitableEvent(win::ScopedHandle event_handle); 59 ~WaitableEvent(); 102 static size_t WaitMany(WaitableEvent** waitables, size_t count); 124 virtual bool Fire(WaitableEvent* signaling_event) = 0; 167 typedef std::pair<WaitableEvent*, size_t> WaiterAndIndex; 184 DISALLOW_COPY_AND_ASSIGN(WaitableEvent);
|
D | waitable_event_watcher.h | 24 class WaitableEvent; variable 68 typedef Callback<void(WaitableEvent*)> EventCallback; 74 bool StartWatching(WaitableEvent* event, const EventCallback& callback); 87 WaitableEvent* GetWatchedEvent(); 105 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_; 108 WaitableEvent* event_;
|
D | waitable_event_watcher_posix.cc | 60 class AsyncWaiter : public WaitableEvent::Waiter { 69 bool Fire(WaitableEvent* event) override { in Fire() 100 WaitableEvent* event) { in AsyncCallbackHelper() 126 WaitableEvent* event, in StartWatching() 150 WaitableEvent::WaitableEventKernel* kernel = event->kernel_.get(); in StartWatching() 251 WaitableEvent* WaitableEventWatcher::GetWatchedEvent() { in GetWatchedEvent()
|
/external/libchrome/base/threading/ |
D | simple_thread_unittest.cc | 29 explicit WaitEventRunner(WaitableEvent* event) : event_(event) { } in WaitEventRunner() 38 WaitableEvent* event_; 56 int total, WaitableEvent* event) in VerifyPoolRunner() 70 WaitableEvent* event_; 98 WaitableEvent event(true, false); in TEST() 111 WaitableEvent event(true, false); in TEST() 155 WaitableEvent event(true, false); in TEST()
|
D | worker_pool_unittest.cc | 63 WaitableEvent test_event_; 72 WaitableEvent test_event(false, false); in TEST_F() 73 WaitableEvent long_test_event(false, false); in TEST_F() 76 base::Bind(&WaitableEvent::Signal, in TEST_F() 80 base::Bind(&WaitableEvent::Signal, in TEST_F()
|
D | thread_local_unittest.cc | 19 ThreadLocalTesterBase(TLPType* tlp, base::WaitableEvent* done) in ThreadLocalTesterBase() 27 base::WaitableEvent* done_; 32 SetThreadLocal(TLPType* tlp, base::WaitableEvent* done) in SetThreadLocal() 52 GetThreadLocal(TLPType* tlp, base::WaitableEvent* done) in GetThreadLocal() 85 base::WaitableEvent done(true, false); in TEST()
|
D | thread.h | 238 mutable WaitableEvent id_event_; // Protects |id_|. 252 mutable WaitableEvent start_event_;
|
D | simple_thread.h | 120 WaitableEvent event_; // Signaled if Start() was ever called. 188 WaitableEvent dry_; // Not signaled when there is no work to do.
|
D | worker_pool_posix_unittest.cc | 77 base::WaitableEvent* start; 148 base::WaitableEvent start_;
|
D | platform_thread_unittest.cc | 126 mutable WaitableEvent termination_ready_; 127 WaitableEvent terminate_thread_;
|
D | thread_unittest.cc | 111 base::WaitableEvent* event) { in ReturnThreadId() 212 base::WaitableEvent event(false, false); in TEST_F()
|
/external/libchrome/base/memory/ |
D | weak_ptr_unittest.cc | 67 WaitableEvent completion(true, false); in CreateArrowFromTarget() 75 WaitableEvent completion(true, false); in CreateArrowFromArrow() 83 WaitableEvent completion(true, false); in DeleteTarget() 91 WaitableEvent completion(true, false); in CopyAndAssignArrow() 99 WaitableEvent completion(true, false); in CopyAndAssignArrowBase() 107 WaitableEvent completion(true, false); in DeleteArrow() 115 WaitableEvent completion(true, false); in DeRef() 126 WaitableEvent* completion) { in DoCreateArrowFromArrow() 134 WaitableEvent* completion) { in DoCreateArrowFromTarget() 142 WaitableEvent* completion) { in DoDeRef() [all …]
|
/external/libchrome/base/test/ |
D | test_io_thread.cc | 13 void PostTaskAndWaitHelper(base::WaitableEvent* event, in PostTaskAndWaitHelper() 59 base::WaitableEvent event(false, false); in PostTaskAndWait()
|
/external/libchrome/base/ |
D | sync_socket.h | 144 WaitableEvent shutdown_event_; 145 WaitableEvent file_operation_;
|
/external/libchrome/base/trace_event/ |
D | trace_event_unittest.cc | 65 WaitableEvent* flush_complete_event, 98 WaitableEvent flush_complete_event(false, false); in CancelTrace() 105 WaitableEvent flush_complete_event(false, false); in EndTraceAndFlush() 113 WaitableEvent flush_complete_event(false, false); in EndTraceAndFlushInThreadWithMessageLoop() 122 void CancelTraceAsync(WaitableEvent* flush_complete_event) { in CancelTraceAsync() 129 void EndTraceAndFlushAsync(WaitableEvent* flush_complete_event) { in EndTraceAndFlushAsync() 138 WaitableEvent flush_complete_event(false, false); in FlushMonitoring() 143 void FlushMonitoring(WaitableEvent* flush_complete_event) { in FlushMonitoring() 186 WaitableEvent* flush_complete_event, in OnTraceDataCollected() 408 void TraceWithAllMacroVariants(WaitableEvent* task_complete_event) { in TraceWithAllMacroVariants() [all …]
|
D | trace_sampling_thread.h | 48 WaitableEvent waitable_event_for_testing_;
|
D | trace_event_impl.h | 33 class WaitableEvent; variable
|
/external/libchrome/base/posix/ |
D | unix_domain_socket_linux_unittest.cc | 55 WaitableEvent event(false, false); in TEST() 57 FROM_HERE, Bind(&WaitableEvent::Signal, Unretained(&event))); in TEST()
|
/external/libchrome/sandbox/linux/seccomp-bpf-helpers/ |
D | syscall_parameters_restrictions_unittests.cc | 130 void SchedGetParamThread(base::WaitableEvent* thread_run) { in SchedGetParamThread() 157 base::WaitableEvent thread_run(true, false); in BPF_TEST_C()
|
/external/libchrome/base/message_loop/ |
D | message_pump_default.h | 32 WaitableEvent event_;
|
D | incoming_task_queue.h | 18 class WaitableEvent; variable
|
/external/libchrome/base/mac/ |
D | libdispatch_task_runner.h | 74 base::WaitableEvent queue_finalized_;
|
/external/libchrome/dbus/ |
D | bus.h | 702 base::WaitableEvent on_shutdown_;
|