Home
last modified time | relevance | path

Searched refs:event_ (Results 1 – 25 of 38) sorted by relevance

12

/external/webrtc/webrtc/system_wrappers/source/
Devent_timer_win.cc23 : event_(::CreateEvent(NULL, // security attributes in EventTimerWin()
32 CloseHandle(event_); in ~EventTimerWin()
37 return SetEvent(event_) == 1; in Set()
41 unsigned long res = WaitForSingleObject(event_, max_time); in Wait()
59 timerID_ = timeSetEvent(time, 0, (LPTIMECALLBACK)HANDLE(event_), 0, in StartTimer()
62 timerID_ = timeSetEvent(time, 0, (LPTIMECALLBACK)HANDLE(event_), 0, in StartTimer()
Devent.cc31 EventWrapperImpl() : event_(false, false) {} in EventWrapperImpl()
35 event_.Set(); in Set()
42 return event_.Wait(to_wait) ? kEventSignaled : kEventTimeout; in Wait()
46 rtc::Event event_; member in webrtc::EventWrapperImpl
Devent_timer_win.h34 HANDLE event_;
/external/libchrome/base/threading/
Dsimple_thread_unittest.cc29 explicit WaitEventRunner(WaitableEvent* event) : event_(event) { } in WaitEventRunner()
33 EXPECT_FALSE(event_->IsSignaled()); in Run()
34 event_->Signal(); in Run()
35 EXPECT_TRUE(event_->IsSignaled()); in Run()
38 WaitableEvent* event_; member in base::__anondfbafaf70111::WaitEventRunner
57 : seq_(seq), total_(total), event_(event) { } in VerifyPoolRunner()
61 event_->Signal(); in Run()
63 event_->Wait(); in Run()
70 WaitableEvent* event_; member in base::__anondfbafaf70111::VerifyPoolRunner
Dsimple_thread.cc18 event_(WaitableEvent::ResetPolicy::MANUAL, in SimpleThread()
29 event_(WaitableEvent::ResetPolicy::MANUAL, in SimpleThread()
50 event_.Wait(); // Wait for the thread to complete initialization. in Start()
62 return event_.IsSignaled(); in HasBeenStarted()
73 event_.Signal(); in ThreadMain()
/external/libmojo/base/android/
Dapplication_status_listener_unittest.cc46 event_(WaitableEvent::ResetPolicy::AUTOMATIC, in MultiThreadedTest()
59 event_.Wait(); in Run()
64 event_.Wait(); in Run()
70 event_.Wait(); in Run()
84 event_.Signal(); in RegisterThreadForEvents()
90 event_.Signal(); in StoreStateAndSignal()
94 base::WaitableEvent event_; member in base::android::__anon5c60c0540111::MultiThreadedTest
/external/libchrome/base/message_loop/
Dmessage_pump_default.cc21 event_(WaitableEvent::ResetPolicy::AUTOMATIC, in MessagePumpDefault()
55 event_.Wait(); in Run()
71 if (event_.TimedWait(delay)) in Run()
82 event_.TimedWait(delay); in Run()
104 event_.Signal(); in ScheduleWork()
Dmessage_pump_libevent.cc48 : event_(NULL), in FileDescriptorWatcher()
55 if (event_) { in ~FileDescriptorWatcher()
79 DCHECK(!event_); in Init()
81 event_ = e; in Init()
85 struct event *e = event_; in ReleaseEvent()
86 event_ = NULL; in ReleaseEvent()
Dmessage_pump_default.h32 WaitableEvent event_; variable
Dmessage_pump_libevent.h69 event* event_; variable
/external/webrtc/webrtc/base/
Dnullsocketserver.h23 NullSocketServer() : event_(false, false) {} in NullSocketServer()
26 event_.Wait(cms); in Wait()
31 event_.Set(); in WakeUp()
56 rtc::Event event_;
/external/libchrome/base/mac/
Dmach_port_broker_unittest.cc26 event_(base::WaitableEvent::ResetPolicy::MANUAL, in MachPortBrokerTest()
49 event_.Wait(); in WaitForTaskPort()
55 event_.Signal(); in OnReceivedTaskPort()
60 WaitableEvent event_; member in base::MachPortBrokerTest
/external/libchrome/base/synchronization/
Dwaitable_event_watcher_posix.cc114 event_(NULL) { in WaitableEventWatcher()
154 event_ = event; in StartWatching()
258 return event_; in GetWatchedEvent()
Dwaitable_event_unittest.cc85 event_(event) { in WaitableEventSignaler()
90 event_->Signal(); in ThreadMain()
95 WaitableEvent* event_; member in base::WaitableEventSignaler
Dwaitable_event_watcher.h108 WaitableEvent* event_; variable
/external/libmojo/mojo/message_pump/
Dmessage_pump_mojo.cc55 event_(base::WaitableEvent::ResetPolicy::AUTOMATIC, in MessagePumpMojo()
228 event_.Wait(); in DoNonMojoWork()
231 event_.TimedWait(base::TimeDelta::FromMicroseconds(deadline)); in DoNonMojoWork()
395 event_.Signal(); in SignalControlPipe()
Dmessage_pump_mojo.h170 base::WaitableEvent event_; variable
/external/v8/src/
Dperf-jit.cc71 uint32_t event_; member
230 code_load.event_ = PerfJitCodeLoad::kLoad; in LogRecordedBuffer()
293 debug_info.event_ = PerfJitCodeLoad::kDebugInfo; in LogWriteDebugInfo()
346 unwinding_info_header.event_ = PerfJitCodeLoad::kUnwindingInfo; in LogWriteUnwindingInfo()
/external/webrtc/webrtc/modules/utility/source/
Dprocess_thread_impl_unittest.cc37 RaiseEventTask(EventWrapper* event) : event_(event) {} in RaiseEventTask()
38 void Run() override { event_->Set(); } in Run()
41 EventWrapper* event_; member in webrtc::RaiseEventTask
/external/webrtc/webrtc/video/
Dvideo_capture_input_unittest.cc118 explicit TestBuffer(rtc::Event* event) : I420Buffer(5, 5), event_(event) {} in TEST_F()
122 ~TestBuffer() override { event_->Set(); } in TEST_F()
123 rtc::Event* const event_; in TEST_F() member in webrtc::TEST_F::TestBuffer
Dend_to_end_tests.cc124 Renderer() : event_(false, false) {} in TEST_F()
128 event_.Set(); in TEST_F()
133 bool Wait() { return event_.Wait(kDefaultTimeoutMs); } in TEST_F()
135 rtc::Event event_; in TEST_F() member in webrtc::TEST_F::Renderer
140 TestFrameCallback() : event_(false, false) {} in TEST_F()
142 bool Wait() { return event_.Wait(kDefaultTimeoutMs); } in TEST_F()
147 event_.Set(); in TEST_F()
150 rtc::Event event_; in TEST_F() member in webrtc::TEST_F::TestFrameCallback
192 Renderer() : event_(false, false) {} in TEST_F()
196 event_.Set(); in TEST_F()
[all …]
/external/webrtc/webrtc/call/
Drampup_tests.cc38 event_(false, false), in RampUpTester()
66 event_.Set(); in ~RampUpTester()
238 return !event_.Wait(kPollIntervalMs); in PollStats()
348 return !event_.Wait(kPollIntervalMs); in PollStats()
/external/v8/testing/gtest/src/
Dgtest-port.cc204 : event_(::CreateEvent(NULL, // Default security attributes. in Notification()
208 GTEST_CHECK_(event_.Get() != NULL); in Notification()
212 GTEST_CHECK_(::SetEvent(event_.Get()) != FALSE); in Notify()
217 ::WaitForSingleObject(event_.Get(), INFINITE) == WAIT_OBJECT_0); in WaitForNotification()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest-port.cc181 : event_(::CreateEvent(NULL, // Default security attributes. in Notification()
185 GTEST_CHECK_(event_.Get() != NULL); in Notification()
189 GTEST_CHECK_(::SetEvent(event_.Get()) != FALSE); in Notify()
194 ::WaitForSingleObject(event_.Get(), INFINITE) == WAIT_OBJECT_0); in WaitForNotification()
/external/googletest/googletest/src/
Dgtest-port.cc222 : event_(::CreateEvent(NULL, // Default security attributes. in Notification()
226 GTEST_CHECK_(event_.Get() != NULL); in Notification()
230 GTEST_CHECK_(::SetEvent(event_.Get()) != FALSE); in Notify()
235 ::WaitForSingleObject(event_.Get(), INFINITE) == WAIT_OBJECT_0); in WaitForNotification()

12