Home
last modified time | relevance | path

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

12

/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/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()
Dwaitable_event_watcher.h157 WaitableEvent* event_; variable
/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::__anond48d58cd0111::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::__anond48d58cd0111::VerifyPoolRunner
Dworker_pool_unittest.cc19 explicit PostTaskTestTask(WaitableEvent* event) : event_(event) { in PostTaskTestTask()
23 event_->Signal(); in Run()
27 WaitableEvent* event_; member in base::__anon297210df0111::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()
Dsimple_thread.h99 bool HasBeenStarted() { return event_.IsSignaled(); } in HasBeenStarted()
112 WaitableEvent event_; // Signaled if Start() was ever called. variable
/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()
Dmessage_pump_libevent.cc54 event_(NULL), in FileDescriptorWatcher()
60 if (event_) { in ~FileDescriptorWatcher()
81 DCHECK(!event_); in Init()
84 event_ = e; in Init()
88 struct event *e = event_; in ReleaseEvent()
89 event_ = NULL; in ReleaseEvent()
Dmessage_pump_default.h31 WaitableEvent event_; variable
Dmessage_pump_libevent.h82 event* event_; variable
/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::__anona0d34f9b0111::BlockableHostResolver
Dproxy_config_service_linux_unittest.cc257 : event_(false, false), in SynchConfigGetter()
305 event_.Signal(); in Init()
313 event_.Signal(); in GetLatestConfigOnIOThread()
319 event_.Signal(); in Cleanup()
323 event_.Wait(); in Wait()
324 event_.Reset(); in Wait()
327 base::WaitableEvent event_; member in SynchConfigGetter
Dproxy_service.cc931 event_(false, false), in SyncProxyServiceHelper()
945 event_.Wait(); in ResolveProxy()
960 event_.Wait(); in ReconsiderProxyAfterError()
990 event_.Signal(); in OnCompletion()
/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 __anon8a7118070111::CryptoModuleBlockingDialogDelegate
/external/chromium/chrome/browser/
Dplugin_data_remover.cc36 event_(new base::WaitableEvent(true, false)), in PluginDataRemover()
65 return event_.get(); in StartRemoving()
72 result = event_->Wait(); in Wait()
164 event_->Signal(); in SignalDone()
Dplugin_data_remover.h80 scoped_ptr<base::WaitableEvent> event_; variable
/external/chromium/net/base/
Dkeygen_handler_unittest.cc87 : event_(event), in ConcurrencyTestTask()
100 event_->Signal(); in Run()
114 base::WaitableEvent* event_; member in net::__anon239d789d0111::ConcurrencyTestTask
Dmock_host_resolver.cc277 : HostResolverProc(previous), event_(false, false) {} in WaitingHostResolverProc()
280 event_.Signal(); in Signal()
288 event_.Wait(); in Resolve()
Dmock_host_resolver.h171 base::WaitableEvent event_; variable
/external/chromium/chrome/browser/net/
Dcookie_policy_browsertest.cc28 event_(event), in GetCookiesTask()
35 event_->Signal(); in Run()
41 base::WaitableEvent* const event_; member in __anon0b16bbe00111::GetCookiesTask
/external/chromium/chrome/browser/password_manager/
Dnative_backend_gnome_x.cc249 GKRMethod() : event_(false, false), result_(GNOME_KEYRING_RESULT_CANCELLED) {} in GKRMethod()
311 base::WaitableEvent event_; member in __anon313897d40111::GKRMethod
488 event_.Wait(); in WaitResult()
494 event_.Wait(); in WaitResult()
502 event_.Wait(); in WaitResult()
509 event_.Wait(); in WaitResult()
516 event_.Wait(); in WaitResult()
523 event_.Wait(); in WaitResult()
533 method->event_.Signal(); in OnOperationDone()
544 method->event_.Signal(); in OnOperationGetList()
[all …]
/external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
Dbackground.js460 var event_ = CalendarManager.extractEvent(entry);
463 if (event_.startTime) {
464 var t = event_.startTime.getTime() - getCurrentTime();
465 if (t >= 0 && (event_.attendeeStatus != DECLINED_URL)) {
467 event_.author = author;
469 eventList.push(event_);

12