/external/clang/test/SemaCXX/ |
H A D | operator-arrow-temporary.cpp | 8 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
|
H A D | warn-thread-safety-analysis.cpp | 31 void Lock() __attribute__((exclusive_lock_function)); 70 sls_mw.mu.Lock(); 76 sls_mu.Lock(); 82 sls_mu.Lock(); 88 sls_mu2.Lock(); 94 sls_mu.Lock(); 100 sls_mu.Lock(); 106 sls_mu.Lock(); 107 sls_mu2.Lock(); 113 sls_mu.Lock(); [all...] |
/external/chromium/crypto/ |
H A D | mac_security_services_lock.h | 10 class Lock; 21 base::Lock& GetMacSecurityServicesLock();
|
H A D | mac_security_services_lock.cc | 21 base::Lock& lock() { return lock_; } 29 base::Lock lock_; 38 base::Lock& GetMacSecurityServicesLock() {
|
H A D | nss_util.h | 17 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 D | capi_util.cc | 21 base::Lock& acquire_context_lock() { 31 base::Lock acquire_context_lock_;
|
/external/chromium/base/synchronization/ |
H A D | lock.cc | 5 // 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 D | lock.h | 18 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 D | lock_unittest.cc | 17 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 D | condition_variable.h | 88 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 D | lock_impl_win.cc | 27 void LockImpl::Lock() { function in class:base::internal::LockImpl
|
/external/valgrind/unittest/ |
H A D | deadlock_unittest.cc | 80 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...] |
H A D | thread_wrappers_win.h | 84 void Lock() { ::EnterCriticalSection(&cs_);} function in class:Mutex 96 void ReaderLock() { Lock(); } 100 void LockWhen(Condition cond) { Lock(); WaitLoop(cond); } 101 void ReaderLockWhen(Condition cond) { Lock(); WaitLoop(cond); } 105 { Lock(); return WaitLoopWithTimeout(cond, millis); } 107 { Lock(); return WaitLoopWithTimeout(cond, millis); } 118 Lock(); 130 Lock(); 158 mu->Lock(); 172 mu->Lock(); [all...] |
/external/chromium/net/disk_cache/ |
H A D | file_lock.cc | 15 void FileLock::Lock() { function in class:disk_cache::FileLock
|
H A D | file_lock.h | 26 // It is important to perform Lock() and Unlock() operations in the right order, 37 virtual void Lock();
|
/external/compiler-rt/lib/asan/ |
H A D | asan_lock.h | 29 void Lock(); 40 mu_->Lock();
|
/external/valgrind/main/helgrind/ |
H A D | hg_lock_n_thread.h | 89 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/llvm/lib/Support/ |
H A D | PluginLoader.cpp | 27 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 D | dtoa_wrapper.cc | 12 static base::Lock dtoa_locks[2];
|
/external/chromium/base/threading/ |
H A D | thread_checker_impl.h | 36 mutable base::Lock lock_;
|
/external/chromium/chrome/browser/importer/ |
H A D | firefox_profile_lock_win.cc | 58 void FirefoxProfileLock::Lock() { function in class:FirefoxProfileLock
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
H A D | SDL_yuvfuncs.h | 33 int (*Lock)(_THIS, SDL_Overlay *overlay); member in struct:private_yuvhwfuncs
|
/external/v8/test/cctest/ |
H A D | test-lock.cc | 19 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 D | mutex.h | 84 // 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 D | mutex.h | 58 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...] |