Home
last modified time | relevance | path

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

1234

/external/chromium_org/ui/events/test/
Devents_test_utils_x11.cc132 event_.reset(new XEvent); in InitKeyEvent()
133 memset(event_.get(), 0, sizeof(XEvent)); in InitKeyEvent()
134 event_->type = XKeyEventType(type); in InitKeyEvent()
135 CHECK_NE(0, event_->type); in InitKeyEvent()
136 event_->xkey.serial = 0; in InitKeyEvent()
137 event_->xkey.send_event = 0; in InitKeyEvent()
138 event_->xkey.display = display; in InitKeyEvent()
139 event_->xkey.time = 0; in InitKeyEvent()
140 event_->xkey.window = 0; in InitKeyEvent()
141 event_->xkey.root = 0; in InitKeyEvent()
[all …]
/external/chromium/chrome/common/
Dmulti_process_lock_win.cc16 if (event_.Get() != NULL) { in ~MultiProcessLockWin()
22 if (event_.Get() != NULL) { in TryLock()
34 event_.Set(CreateEvent(NULL, FALSE, FALSE, wname.c_str())); in TryLock()
35 if (event_.Get() && GetLastError() != ERROR_ALREADY_EXISTS) { in TryLock()
38 event_.Set(NULL); in TryLock()
44 if (event_.Get() == NULL) { in Unlock()
48 event_.Set(NULL); in Unlock()
53 base::win::ScopedHandle event_; member in MultiProcessLockWin
/external/chromium_org/chrome/common/
Dmulti_process_lock_win.cc16 if (event_.Get() != NULL) { in ~MultiProcessLockWin()
22 if (event_.Get() != NULL) { in TryLock()
34 event_.Set(CreateEvent(NULL, FALSE, FALSE, wname.c_str())); in TryLock()
35 if (event_.Get() && GetLastError() != ERROR_ALREADY_EXISTS) { in TryLock()
38 event_.Set(NULL); in TryLock()
44 if (event_.Get() == NULL) { in Unlock()
48 event_.Set(NULL); in Unlock()
53 base::win::ScopedHandle event_; member in MultiProcessLockWin
/external/chromium_org/base/synchronization/
Dwaitable_event_watcher_win.cc14 : event_(NULL) { in WaitableEventWatcher()
24 event_ = event; in StartWatching()
30 event_ = NULL; in StopWatching()
35 return event_; in GetWatchedEvent()
39 WaitableEvent* event = event_; in OnObjectSignaled()
41 event_ = NULL; in OnObjectSignaled()
/external/chromium/base/synchronization/
Dwaitable_event_watcher_win.cc25 event_(NULL), in WaitableEventWatcher()
35 event_ = event; in StartWatching()
42 event_ = NULL; in StopWatching()
47 return event_; in GetWatchedEvent()
51 WaitableEvent* event = event_; in OnObjectSignaled()
53 event_ = NULL; in OnObjectSignaled()
Dwaitable_event_watcher_posix.cc99 event_(event) { in AsyncCallbackTask()
108 delegate_->OnWaitableEventSignaled(event_); in Run()
117 WaitableEvent *const event_; member in base::AsyncCallbackTask
125 event_(NULL), in WaitableEventWatcher()
164 event_ = event; in StartWatching()
268 return event_; in GetWatchedEvent()
/external/chromium/base/threading/
Dsimple_thread_unittest.cc31 explicit WaitEventRunner(WaitableEvent* event) : event_(event) { } in WaitEventRunner()
35 EXPECT_FALSE(event_->IsSignaled()); in Run()
36 event_->Signal(); in Run()
37 EXPECT_TRUE(event_->IsSignaled()); in Run()
40 WaitableEvent* event_; member in base::__anon942390510111::WaitEventRunner
61 : seq_(seq), total_(total), event_(event) { } in VerifyPoolRunner()
65 event_->Signal(); in Run()
67 event_->Wait(); in Run()
74 WaitableEvent* event_; member in base::__anon942390510111::VerifyPoolRunner
Dworker_pool_unittest.cc19 explicit PostTaskTestTask(WaitableEvent* event) : event_(event) { in PostTaskTestTask()
23 event_->Signal(); in Run()
27 WaitableEvent* event_; member in base::__anonc84c97630111::PostTaskTestTask
Dsimple_thread.cc15 thread_(), event_(true, false), tid_(0), joined_(false) { in SimpleThread()
21 thread_(), event_(true, false), tid_(0), joined_(false) { in SimpleThread()
33 event_.Wait(); // Wait for the thread to complete initialization. in Start()
51 event_.Signal(); in ThreadMain()
/external/chromium_org/base/threading/
Dsimple_thread_unittest.cc31 explicit WaitEventRunner(WaitableEvent* event) : event_(event) { } in WaitEventRunner()
35 EXPECT_FALSE(event_->IsSignaled()); in Run()
36 event_->Signal(); in Run()
37 EXPECT_TRUE(event_->IsSignaled()); in Run()
40 WaitableEvent* event_; member in base::__anon3a1552f80111::WaitEventRunner
61 : seq_(seq), total_(total), event_(event) { } in VerifyPoolRunner()
65 event_->Signal(); in Run()
67 event_->Wait(); in Run()
74 WaitableEvent* event_; member in base::__anon3a1552f80111::VerifyPoolRunner
Dsimple_thread.cc16 thread_(), event_(true, false), tid_(0), joined_(false) { in SimpleThread()
22 thread_(), event_(true, false), tid_(0), joined_(false) { in SimpleThread()
35 event_.Wait(); // Wait for the thread to complete initialization. in Start()
47 return event_.IsSignaled(); in HasBeenStarted()
58 event_.Signal(); in ThreadMain()
/external/chromium_org/base/android/
Dactivity_status_unittest.cc44 event_(false, false), in MultiThreadedTest()
58 event_.Wait(); in Run()
62 event_.Wait(); in Run()
67 event_.Wait(); in Run()
81 event_.Signal(); in RegisterThreadForEvents()
87 event_.Signal(); in StoreStateAndSignal()
92 base::WaitableEvent event_; member in base::android::__anon2be6c9320111::MultiThreadedTest
/external/chromium_org/cc/base/
Dcompletion_event.h21 : event_(false /* manual_reset */, false /* initially_signaled */) { in CompletionEvent()
41 event_.Wait(); in Wait()
49 event_.Signal(); in Signal()
53 base::WaitableEvent event_;
/external/chromium/base/
Dmessage_pump_default.cc14 event_(false, false) { in MessagePumpDefault()
42 event_.Wait(); in Run()
46 event_.TimedWait(delay); in Run()
67 event_.Signal(); in ScheduleWork()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dnullsocketserver.h40 NullSocketServer() : event_(false, false) {} in NullSocketServer()
43 event_.Wait(cms); in Wait()
48 event_.Set(); in WakeUp()
73 talk_base::Event event_;
/external/chromium_org/base/message_loop/
Dmessage_pump_default.cc18 event_(false, false) { in MessagePumpDefault()
52 event_.Wait(); in Run()
56 event_.TimedWait(delay); in Run()
77 event_.Signal(); in ScheduleWork()
/external/chromium_org/chrome/browser/ui/
Dcrypto_module_delegate_nss.cc19 event_(false, false), in ChromeNSSCryptoModuleDelegate()
49 DCHECK(!event_.IsSignaled()); in RequestPassword()
50 event_.Reset(); in RequestPassword()
61 event_.Wait(); in RequestPassword()
87 event_.Signal(); in GotPassword()
/external/chromium_org/sync/internal_api/public/base/
Dcancelation_signal_unittest.cc37 base::WaitableEvent event_; member in syncer::BlockingTask
44 : event_(true, false), in BlockingTask()
62 DCHECK(!event_.IsSignaled()); in Run()
64 event_.Wait(); in Run()
70 event_.Signal(); in OnSignalReceived()
/external/chromium/net/proxy/
Dsync_host_resolver_bridge.cc63 base::WaitableEvent event_; member in net::SyncHostResolverBridge::Core
82 event_(true, false), in Core()
116 event_.Signal(); in OnResolveCompletion()
121 event_.Wait(); in WaitForResolveCompletion()
127 event_.Reset(); in WaitForResolveCompletion()
147 event_.Signal(); in Shutdown()
Dsync_host_resolver_bridge_unittest.cc29 : event_(true, false), in BlockableHostResolver()
43 event_.Signal(); in Resolve()
65 event_.Wait(); in WaitUntilRequestIsReceived()
74 base::WaitableEvent event_; member in net::__anon32576a9f0111::BlockableHostResolver
/external/chromium_org/chrome_frame/test/
Dregistry_watcher_unittest.cc48 event_.Signal(); in WaitCallback()
54 static base::WaitableEvent event_; member in RegistryWatcherUnittest
58 base::WaitableEvent RegistryWatcherUnittest::event_(
70 EXPECT_TRUE(event_.TimedWait(base::TimeDelta::FromSeconds(kWaitSeconds))); in TEST_F()
/external/chromium_org/chrome/renderer/resources/extensions/
Devent.js51 this.event_ = event;
63 return this.event_.listeners_;
68 this.event_ = event;
74 if (this.event_.listeners_.length == 0)
75 eventNatives.AttachEvent(privates(this.event_).eventName);
80 if (this.event_.listeners_.length == 0)
85 eventNatives.DetachEvent(privates(this.event_).eventName, manual);
90 return this.event_.listeners_;
94 this.event_ = event;
101 var id = eventNatives.AttachFilteredEvent(privates(this.event_).eventName,
[all …]
/external/chromium_org/chrome/test/chromedriver/net/
Dnet_util.cc27 : url_(url), getter_(getter), response_(response), event_(false, false) {} in SyncUrlFetcher()
35 event_.Wait(); in Fetch()
50 event_.Signal(); in OnURLFetchComplete()
57 base::WaitableEvent event_; member in __anon8463f4780111::SyncUrlFetcher
/external/chromium_org/remoting/base/
Dplugin_thread_task_runner.cc24 event_(false, false), in PluginThreadTaskRunner()
63 event_.Wait(); in DetachAndRunShutdownLoop()
65 event_.TimedWait(CalcTimeDelta(delayed_queue_.top().delayed_run_time)); in DetachAndRunShutdownLoop()
82 event_.Signal(); in Quit()
146 event_.Signal(); in PostRunTasks()
170 event_.Signal(); in PostDelayedRunTasks()
/external/chromium/chrome/browser/ui/gtk/
Dcrypto_module_password_dialog.cc28 : event_(false, false), in CryptoModuleBlockingDialogDelegate()
43 DCHECK(!event_.IsSignaled()); in RequestPassword()
44 event_.Reset(); in RequestPassword()
51 event_.Wait(); in RequestPassword()
69 event_.Signal(); in GotPassword()
71 base::WaitableEvent event_; member in __anon61f0268b0111::CryptoModuleBlockingDialogDelegate

1234