Home
last modified time | relevance | path

Searched refs:WaitableEvent (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium/base/
Dwaitable_event_posix.cc37 WaitableEvent::WaitableEvent(bool manual_reset, bool initially_signaled) in WaitableEvent() function in base::WaitableEvent
41 WaitableEvent::~WaitableEvent() { in ~WaitableEvent()
44 void WaitableEvent::Reset() { in Reset()
49 void WaitableEvent::Signal() { in Signal()
66 bool WaitableEvent::IsSignaled() { in IsSignaled()
82 class SyncWaiter : public WaitableEvent::Waiter {
91 bool Fire(WaitableEvent* signaling_event) { in Fire()
109 WaitableEvent* signaling_event() const { in signaling_event()
147 WaitableEvent* signaling_event_; // The WaitableEvent which woke us
152 bool WaitableEvent::TimedWait(const TimeDelta& max_time) { in TimedWait()
[all …]
Dwaitable_event_win.cc15 WaitableEvent::WaitableEvent(bool manual_reset, bool signaled) in WaitableEvent() function in base::WaitableEvent
22 WaitableEvent::WaitableEvent(HANDLE handle) in WaitableEvent() function in base::WaitableEvent
27 WaitableEvent::~WaitableEvent() { in ~WaitableEvent()
31 HANDLE WaitableEvent::Release() { in Release()
37 void WaitableEvent::Reset() { in Reset()
41 void WaitableEvent::Signal() { in Signal()
45 bool WaitableEvent::IsSignaled() { in IsSignaled()
49 bool WaitableEvent::Wait() { in Wait()
57 bool WaitableEvent::TimedWait(const TimeDelta& max_time) { in TimedWait()
77 size_t WaitableEvent::WaitMany(WaitableEvent** events, size_t count) { in WaitMany()
Dwaitable_event_unittest.cc11 using base::WaitableEvent;
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(double seconds, WaitableEvent* ev) in WaitableEventSignaler()
[all …]
Dwaitable_event.h43 class WaitableEvent {
49 WaitableEvent(bool manual_reset, bool initially_signaled);
55 explicit WaitableEvent(HANDLE event_handle);
61 ~WaitableEvent();
95 static size_t WaitMany(WaitableEvent** waitables, size_t count);
117 virtual bool Fire(WaitableEvent* signaling_event) = 0;
170 typedef std::pair<WaitableEvent*, size_t> WaiterAndIndex;
175 DISALLOW_COPY_AND_ASSIGN(WaitableEvent);
Dwaitable_event_watcher_unittest.cc11 using base::WaitableEvent;
18 virtual void OnWaitableEventSignaled(WaitableEvent* event) { in OnWaitableEventSignaled()
27 virtual void OnWaitableEventSignaled(WaitableEvent* object) { in OnWaitableEventSignaled()
38 WaitableEvent event(true, false); in RunTest_BasicSignal()
58 WaitableEvent event(true, false); in RunTest_BasicCancel()
72 WaitableEvent event(true, false); in RunTest_CancelAfterSet()
98 WaitableEvent event(true, false); in RunTest_OutlivesMessageLoop()
119 WaitableEvent* event = new WaitableEvent(false, false); in RunTest_DeleteUnder()
Dwaitable_event_watcher.h22 class WaitableEvent; variable
82 virtual void OnWaitableEventSignaled(WaitableEvent* waitable_event) = 0;
90 bool StartWatching(WaitableEvent* event, Delegate* delegate);
107 WaitableEvent* GetWatchedEvent();
117 WaitableEvent* event_;
153 scoped_refptr<WaitableEvent::WaitableEventKernel> kernel_;
Dworker_pool_unittest.cc11 using base::WaitableEvent;
19 explicit PostTaskTestTask(WaitableEvent* event) : event_(event) { in PostTaskTestTask()
27 WaitableEvent* event_;
31 WaitableEvent test_event(false, false); in TEST_F()
32 WaitableEvent long_test_event(false, false); in TEST_F()
Dwaitable_event_watcher_posix.cc53 class AsyncWaiter : public WaitableEvent::Waiter {
60 bool Fire(WaitableEvent* event) { in Fire()
97 WaitableEvent* event) in AsyncCallbackTask()
118 WaitableEvent *const event_;
138 (WaitableEvent* event, WaitableEventWatcher::Delegate* delegate) { in StartWatching()
159 WaitableEvent::WaitableEventKernel* kernel = event->kernel_.get(); in StartWatching()
261 WaitableEvent* WaitableEventWatcher::GetWatchedEvent() { in GetWatchedEvent()
Dsimple_thread_unittest.cc30 explicit WaitEventRunner(base::WaitableEvent* event) : event_(event) { } in WaitEventRunner()
39 base::WaitableEvent* event_;
59 int total, base::WaitableEvent* event) in VerifyPoolRunner()
73 base::WaitableEvent* event_;
101 base::WaitableEvent event(true, false); in TEST()
114 base::WaitableEvent event(true, false); in TEST()
158 base::WaitableEvent event(true, false); in TEST()
Dthread_local_unittest.cc17 ThreadLocalTesterBase(TLPType* tlp, base::WaitableEvent* done) in ThreadLocalTesterBase()
23 base::WaitableEvent* done_;
28 SetThreadLocal(TLPType* tlp, base::WaitableEvent* done) in SetThreadLocal()
46 GetThreadLocal(TLPType* tlp, base::WaitableEvent* done) in GetThreadLocal()
78 base::WaitableEvent done(true, false); in TEST()
Dwaitable_event_watcher_win.cc32 bool WaitableEventWatcher::StartWatching(WaitableEvent* event, in StartWatching()
46 WaitableEvent* WaitableEventWatcher::GetWatchedEvent() { in GetWatchedEvent()
51 WaitableEvent* event = event_; in OnObjectSignaled()
Dworker_pool_linux_unittest.cc95 base::WaitableEvent* start) in BlockingIncrementingTask()
118 base::WaitableEvent* start_;
177 base::WaitableEvent start_;
Dsimple_thread.h114 WaitableEvent event_; // Signaled if Start() was ever called.
184 WaitableEvent dry_; // Not signaled when there is no work to do.
Dmessage_pump_default.h30 WaitableEvent event_;
Dthread.cc31 WaitableEvent event;
Ddirectory_watcher_inotify.cc140 base::WaitableEvent recursive_setup_finished_;
/external/chromium/net/disk_cache/
Dfile_posix.cc63 base::WaitableEvent* io_completed() { in io_completed()
81 base::WaitableEvent io_completed_;
/external/chromium/net/proxy/
Dsingle_threaded_proxy_resolver_unittest.cc135 base::WaitableEvent unblocked_;
136 base::WaitableEvent blocked_;
Dproxy_resolver_js_bindings.cc82 base::WaitableEvent event_;
Dproxy_service.h338 base::WaitableEvent event_;
Dproxy_config_service_linux_unittest.cc301 base::WaitableEvent event_;
/external/chromium/net/socket/
Dtcp_pinger.h122 base::WaitableEvent event_;
/external/chromium/net/base/
Dmock_host_resolver.h165 base::WaitableEvent event_;
Dfile_stream_posix.cc198 base::WaitableEvent background_io_completed_;
/external/chromium/net/url_request/
Durl_request_unittest.h453 base::WaitableEvent event_;

12