Searched refs:Lock (Results 1 - 25 of 320) sorted by relevance

1234567891011>>

/external/clang/test/SemaCXX/
H A Doperator-arrow-temporary.cpp8 template<int x> struct Lock { struct
9 ~Lock() { int a[x]; } // expected-error {{declared as an array with a negative size}}
14 Lock<-1> operator->();
17 // Make sure we try to instantiate the destructor for Lock here
/external/chromium/crypto/
H A Dmac_security_services_lock.h10 class Lock;
21 base::Lock& GetMacSecurityServicesLock();
H A Dmac_security_services_lock.cc21 base::Lock& lock() { return lock_; }
29 base::Lock lock_;
38 base::Lock& GetMacSecurityServicesLock() {
H A Dnss_util.h17 class Lock;
138 base::Lock* GetNSSWriteLock();
140 // A helper class that acquires the NSS write Lock while the AutoNSSWriteLock
147 base::Lock *lock_;
H A Dcapi_util.cc21 base::Lock& acquire_context_lock() {
31 base::Lock acquire_context_lock_;
/external/chromium/base/synchronization/
H A Dlock.cc5 // This file is used for debugging assertion support. The Lock class
16 Lock::Lock() : lock_() { function in class:base::Lock
21 void Lock::AssertAcquired() const {
26 void Lock::CheckHeldAndUnmark() {
33 void Lock::CheckUnheldAndMark() {
H A Dlock.h18 class BASE_API Lock { class in namespace:base
21 Lock() : lock_() {} function in class:base::Lock
22 ~Lock() {}
23 void Acquire() { lock_.Lock(); }
35 Lock();
36 ~Lock() {}
42 lock_.Lock();
65 // Windows doesn't need to do this as it calls the Lock::* methods.
91 DISALLOW_COPY_AND_ASSIGN(Lock);
94 // A helper class that acquires the given Lock whil
[all...]
H A Dlock_unittest.cc17 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {}
43 Lock* lock_;
50 Lock lock;
92 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {}
103 Lock* lock_;
110 Lock lock;
150 MutexLockTestThread(Lock* lock, int* value) : lock_(lock), value_(value) {}
153 static void DoStuff(Lock* lock, int* value) {
168 Lock* lock_;
175 Lock loc
[all...]
H A Dcondition_variable.h88 explicit ConditionVariable(Lock* user_lock);
160 base::Lock internal_lock_;
162 // Lock that is acquired before calling Wait().
163 base::Lock& user_lock_;
180 base::Lock* user_lock_; // Needed to adjust shadow lock state on wait.
H A Dlock_impl_win.cc27 void LockImpl::Lock() { function in class:base::internal::LockImpl
/external/valgrind/unittest/
H A Ddeadlock_unittest.cc80 mu[idx].Lock();
91 mu[idx].Lock();
141 mu.Lock();
165 mu1.Lock();
166 mu2.Lock();
172 mu2.Lock();
173 mu1.Lock();
190 mu1.Lock(); mu2.Lock();
195 mu2.Lock(); mu
[all...]
/external/chromium/net/disk_cache/
H A Dfile_lock.cc15 void FileLock::Lock() { function in class:disk_cache::FileLock
H A Dfile_lock.h26 // It is important to perform Lock() and Unlock() operations in the right order,
37 virtual void Lock();
/external/valgrind/main/helgrind/
H A Dhg_lock_n_thread.h89 WordSetID locksetA; /* WordSet of Lock* currently held by thread */
106 contains Lock*s. Solution is to copy any Lock which is to be
112 /* Lock kinds. */
157 Lock; typedef in typeref:struct:_Lock
159 #define Lock_INVALID ((Lock*)1UL)
166 Bool HG_(is_sane_LockP) ( Lock* lock );
167 Bool HG_(is_sane_LockN) ( Lock* lock );
168 Bool HG_(is_sane_LockNorP) ( Lock* lock );
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_mutex.h42 void Lock();
63 typedef GenericScopedLock<Mutex> Lock; typedef in namespace:__tsan
69 void Lock(MutexType t);
/external/llvm/lib/Support/
H A DPluginLoader.cpp27 sys::SmartScopedLock<true> Lock(*PluginsLock);
38 sys::SmartScopedLock<true> Lock(*PluginsLock);
43 sys::SmartScopedLock<true> Lock(*PluginsLock);
/external/chromium/base/third_party/dmg_fp/
H A Ddtoa_wrapper.cc12 static base::Lock dtoa_locks[2];
/external/chromium/base/threading/
H A Dthread_checker_impl.h36 mutable base::Lock lock_;
/external/chromium/chrome/browser/importer/
H A Dfirefox_profile_lock_win.cc58 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
/external/compiler-rt/lib/asan/
H A Dasan_lock.h30 void Lock();
/external/compiler-rt/lib/tsan/rtl_tests/
H A Dtsan_mutex.cc27 t.Lock(m);
33 t.Lock(m);
45 t.Lock(m);
51 t.Lock(m);
63 t.Lock(m);
69 t.Lock(m);
79 t.Lock(m);
102 t1.Lock(m);
105 t2.Lock(m);
118 t1.Lock(
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/
H A DSDL_yuvfuncs.h33 int (*Lock)(_THIS, SDL_Overlay *overlay); member in struct:private_yuvhwfuncs
/external/v8/test/cctest/
H A Dtest-lock.cc19 CHECK_EQ(0, mutex->Lock()); // acquire the lock with the right token
27 CHECK_EQ(0, mutex->Lock());
35 CHECK_EQ(0, mutex->Lock());
37 CHECK_EQ(0, mutex->Lock());
/external/chromium/sdch/open-vcdiff/src/
H A Dmutex.h84 // state between a call to Lock() and a call to Unlock() (that would
85 // require a global constructor in one translation unit to call Lock()
146 inline void Lock(); // Block if needed until free then acquire exclusively
147 inline void Unlock(); // Release a lock acquired via Lock()
149 inline bool TryLock(); // If free, Lock() and return true, else return false
152 // be implemented as synonyms to Lock() and Unlock(). So you can use
157 inline void WriterLock() { Lock(); } // Acquire an exclusive lock
192 void Mutex::Lock() { assert(--mutex_ == -1); } function in class:Mutex
195 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
204 void Mutex::Lock() { i function in class:Mutex
225 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock); } function in class:Mutex
248 void Mutex::Lock() { SAFE_PTHREAD(pthread_mutex_lock); } function in class:Mutex
[all...]
/external/regex-re2/util/
H A Dmutex.h58 inline void Lock(); // Block if needed until free then acquire exclusively
59 inline void Unlock(); // Release a lock acquired via Lock()
60 inline bool TryLock(); // If free, Lock() and return true, else return false
62 // be implemented as synonyms to Lock() and Unlock(). So you can use
67 inline void WriterLock() { Lock(); } // Acquire an exclusive lock
97 void Mutex::Lock() { assert(--mutex_ == -1); } function in class:re2::Mutex
99 bool Mutex::TryLock() { if (mutex_) return false; Lock(); return true; }
110 void Mutex::Lock() { SAFE_PTHREAD(pthread_rwlock_wrlock(&mutex_)); } function in class:re2::Mutex
125 void Mutex::Lock() { SAFE_PTHREAD(pthread_mutex_lock(&mutex_)); } function in class:re2::Mutex
128 void Mutex::ReaderLock() { Lock(); } // w
136 void Mutex::Lock() { EnterCriticalSection(&mutex_); } function in class:re2::Mutex
[all...]

Completed in 432 milliseconds

1234567891011>>