/external/chromium/net/disk_cache/ |
file_lock.cc | 15 void FileLock::Lock() {
|
file_lock.h | 15 // This class implements a file lock that lives on the header of a memory mapped 16 // file. This is NOT a thread related lock, it is a lock to detect corruption 18 // The lock is acquired on the constructor and released on the destructor. 22 // FileLock lock(header); 24 // // At this point the destructor is going to release the lock. 26 // It is important to perform Lock() and Unlock() operations in the right order, 27 // because otherwise the desired effect of the "lock" will not be achieved. If 29 // outside the lock. 37 virtual void Lock(); [all...] |
/external/chromium_org/base/test/ |
simple_test_clock.h | 9 #include "base/synchronization/lock.h" 34 Lock lock_;
|
simple_test_tick_clock.h | 9 #include "base/synchronization/lock.h" 31 Lock lock_;
|
/external/chromium_org/base/threading/ |
thread_checker_impl.h | 9 #include "base/synchronization/lock.h" 35 mutable base::Lock lock_;
|
/external/chromium_org/net/disk_cache/ |
file_lock.h | 15 // This class implements a file lock that lives on the header of a memory mapped 16 // file. This is NOT a thread related lock, it is a lock to detect corruption 18 // The lock is acquired on the constructor and released on the destructor. 22 // FileLock lock(header); 24 // // At this point the destructor is going to release the lock. 26 // It is important to perform Lock() and Unlock() operations in the right order, 27 // because otherwise the desired effect of the "lock" will not be achieved. If 29 // outside the lock. 36 virtual void Lock(); [all...] |
/external/chromium_org/ppapi/proxy/ |
proxy_completion_callback_factory.h | 56 // No-op lock class. 57 class Lock { 59 Lock() {} 60 ~Lock() {} 69 explicit AutoLock(Lock&) {}
|
/external/chromium_org/sync/syncable/ |
syncable_read_transaction.cc | 13 Lock();
|
/external/chromium_org/third_party/cacheinvalidation/overrides/google/cacheinvalidation/deps/ |
mutex.h | 9 #include "base/synchronization/lock.h" 13 typedef base::Lock Mutex;
|
/external/lzma/CPP/7zip/Archive/Common/ |
CrossThreadProgress.cpp | 12 WaitEvent.Lock();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.condition/thread.condition.condvar/ |
destructor.pass.cpp | 23 typedef std::unique_lock<std::mutex> Lock; 30 Lock lk(m); 38 Lock lk(m); 49 Lock lk(m);
|
/external/chromium_org/base/synchronization/ |
condition_variable.h | 76 #include "base/synchronization/lock.h" 85 // Construct a cv for use with ONLY one user lock. 86 explicit ConditionVariable(Lock* user_lock); 108 base::Lock* user_lock_; // Needed to adjust shadow lock state on wait.
|
lock_unittest.cc | 5 #include "base/synchronization/lock.h" 19 explicit BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} 45 Lock* lock_; 52 Lock lock; local 53 BasicLockTestThread thread(&lock); 60 lock.Acquire(); 62 lock.Release() 112 Lock lock; local 177 Lock lock; local 193 Lock lock; local [all...] |
/external/valgrind/main/helgrind/ |
hg_lock_n_thread.h | 50 encode lock-sets in libhb's history records (Thr_n_RCEC). */ 89 WordSetID locksetA; /* WordSet of Lock* currently held by thread */ 103 /* Stores information about a lock's current state. These are 106 contains Lock*s. Solution is to copy any Lock which is to be 108 'normal' collection of Locks, which can come and go. When the lock 112 /* Lock kinds. */ 117 LK_rdwr /* reader-writer lock */ 129 /* Place where lock first came to the attention of Helgrind. */ 131 /* If the lock is held, place where the lock most recently mad [all...] |
/external/chromium/crypto/ |
nss_util.h | 17 class Lock; 133 // writes to the NSS databases with a global lock. The lock is hidden beneath a 138 base::Lock* GetNSSWriteLock(); 140 // A helper class that acquires the NSS write Lock while the AutoNSSWriteLock 147 base::Lock *lock_;
|
capi_util.cc | 9 #include "base/synchronization/lock.h" 19 // Returns a lock to guard calls to CryptAcquireContext with 21 base::Lock& acquire_context_lock() { 31 base::Lock acquire_context_lock_; 45 base::AutoLock lock(CAPIUtilSingleton::GetInstance()->acquire_context_lock());
|
/external/chromium_org/ppapi/shared_impl/ |
proxy_lock.cc | 8 #include "base/synchronization/lock.h" 14 // Simple single-thread deadlock detector for the proxy lock. 15 // |true| when the current thread has the lock. 21 base::Lock* lock(PpapiGlobals::Get()->GetProxyLock()); 22 if (lock) { 23 // This thread does not already hold the lock. 27 lock->Acquire(); 34 base::Lock* lock(PpapiGlobals::Get()->GetProxyLock()) 58 ProxyAutoUnlock lock; local [all...] |
/external/compiler-rt/lib/tsan/rtl/ |
tsan_mutex.h | 44 void Lock(); 65 typedef GenericScopedLock<Mutex> Lock; 71 void Lock(MutexType t);
|
/external/llvm/lib/Support/ |
PluginLoader.cpp | 27 sys::SmartScopedLock<true> Lock(*PluginsLock); 38 sys::SmartScopedLock<true> Lock(*PluginsLock); 43 sys::SmartScopedLock<true> Lock(*PluginsLock);
|
/bionic/libc/bionic/ |
pthread_accessor.h | 27 Lock(); 55 void Lock() {
|
/external/chromium_org/crypto/ |
capi_util.cc | 9 #include "base/synchronization/lock.h" 19 // Returns a lock to guard calls to CryptAcquireContext with 21 base::Lock& acquire_context_lock() { 31 base::Lock acquire_context_lock_; 45 base::AutoLock lock(CAPIUtilSingleton::GetInstance()->acquire_context_lock());
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
TCSpinLock.h | 53 inline void Lock() { 77 : lock_(l) { l->Lock(); }
|
/external/chromium/base/synchronization/ |
lock_unittest.cc | 7 #include "base/synchronization/lock.h" 17 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} 43 Lock* lock_; 50 Lock lock; local 51 BasicLockTestThread thread(&lock); 58 lock.Acquire(); 60 lock.Release() 110 Lock lock; local 175 Lock lock; local 191 Lock lock; local [all...] |
/external/chromium_org/third_party/re2/util/ |
mutex.h | 21 typedef int MutexType; // to keep a lock-count 62 inline void Lock(); // Block if needed until free then acquire exclusively 63 inline void Unlock(); // Release a lock acquired via Lock() 64 inline bool TryLock(); // If free, Lock() and return true, else return false 66 // be implemented as synonyms to Lock() and Unlock(). So you can use 71 inline void WriterLock() { Lock(); } // Acquire an exclusive lock 72 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock() 92 // writing and a number > 0 when reading (and 0 when no lock is held) [all...] |
/external/regex-re2/util/ |
mutex.h | 19 typedef int MutexType; // to keep a lock-count 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 68 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock() 88 // writing and a number > 0 when reading (and 0 when no lock is held) [all...] |