Searched defs:AutoLock (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dauto_lock.h17 ::sdk_util::AutoLock Lock##__LINE__(lock);
19 class AutoLock { class in namespace:sdk_util
21 AutoLock(const SimpleLock& lock) { function in class:sdk_util::AutoLock
26 ~AutoLock() {
38 DISALLOW_COPY_AND_ASSIGN(AutoLock);
/external/chromium_org/ppapi/utility/threading/
H A Dlock.h16 /// A simple wrapper around a platform-specific lock. See also AutoLock.
29 /// Most callers should consider using an AutoLock instead to automatically
56 /// pp::AutoLock lock(lock_);
64 class AutoLock { class in namespace:pp
66 explicit AutoLock(Lock& lock) : lock_(lock) { function in class:pp::AutoLock
70 ~AutoLock() {
78 AutoLock(const AutoLock&);
79 AutoLock& operator=(const AutoLock
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
H A Dlock.h58 // A helper class that acquires the given Lock while the AutoLock is in scope.
59 class AutoLock { class in namespace:sfntly
61 explicit AutoLock(Lock& lock) : lock_(lock) { function in class:sfntly::AutoLock
65 ~AutoLock() {
71 NO_COPY_AND_ASSIGN(AutoLock);
/external/sfntly/cpp/src/sfntly/port/
H A Dlock.h58 // A helper class that acquires the given Lock while the AutoLock is in scope.
59 class AutoLock { class in namespace:sfntly
61 explicit AutoLock(Lock& lock) : lock_(lock) { function in class:sfntly::AutoLock
65 ~AutoLock() {
71 NO_COPY_AND_ASSIGN(AutoLock);
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/synchronization/
H A Dlock.h27 typedef boost::mutex::scoped_lock AutoLock; typedef in namespace:i18n::phonenumbers
71 class AutoLock {
73 AutoLock(Lock& lock) : lock_(lock) {
77 ~AutoLock() {
/external/chromium_org/sandbox/win/src/
H A Dwin_utils.h25 class AutoLock { class in namespace:sandbox
28 explicit AutoLock(CRITICAL_SECTION *lock) : lock_(lock) { function in class:sandbox::AutoLock
33 ~AutoLock() {
39 DISALLOW_IMPLICIT_CONSTRUCTORS(AutoLock);
/external/chromium_org/base/synchronization/
H A Dlock.h93 // A helper class that acquires the given Lock while the AutoLock is in scope.
94 class AutoLock { class in namespace:base
98 explicit AutoLock(Lock& lock) : lock_(lock) { function in class:base::AutoLock
102 AutoLock(Lock& lock, const AlreadyAcquired&) : lock_(lock) { function in class:base::AutoLock
106 ~AutoLock() {
113 DISALLOW_COPY_AND_ASSIGN(AutoLock);
/external/chromium_org/ppapi/proxy/
H A Dproxy_completion_callback_factory.h66 // No-op AutoLock class.
67 class AutoLock { class in class:ppapi::proxy::ProxyNonThreadSafeThreadTraits
69 explicit AutoLock(Lock&) {} function in class:ppapi::proxy::ProxyNonThreadSafeThreadTraits::AutoLock
70 ~AutoLock() {}
/external/chromium_org/ppapi/utility/
H A Dcompletion_callback_factory_thread_traits.h50 AutoLock lock(lock_);
58 AutoLock lock(lock_);
69 typedef pp::AutoLock AutoLock; typedef in class:pp::ThreadSafeThreadTraits
162 class AutoLock { class in class:pp::NonThreadSafeThreadTraits
164 explicit AutoLock(Lock& lock) : lock_(lock) { function in class:pp::NonThreadSafeThreadTraits::AutoLock
167 ~AutoLock() {
/external/chromium_org/third_party/skia/src/utils/
H A DSkTaskGroup.cpp41 AutoLock lock(&gGlobal->fReady);
57 struct AutoLock { struct in class:__anon15361::ThreadPool
58 AutoLock(SkCondVar* c) : fC(c) { fC->lock(); } function in struct:__anon15361::ThreadPool::AutoLock
59 ~AutoLock() { fC->unlock(); }
82 AutoLock lock(&fReady);
97 AutoLock lock(&fReady);
108 AutoLock lock(&pool->fReady);
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/client/
H A Dmain_wnd.h158 class AutoLock { class in class:MainWnd
160 explicit AutoLock(T* obj) : obj_(obj) { obj_->Lock(); } function in class:MainWnd::AutoLock
161 ~AutoLock() { obj_->Unlock(); }

Completed in 476 milliseconds