/external/valgrind/docs/internals/ |
tm-mutexstates.dot | 4 locked; 10 free -> locked [ label="locked" ]; 11 locked -> unlocking [ label="unlocked\nby owner" ]; 13 unlocking -> locked [ label="lock changed owner" ]; 17 dead -> locked [ style=dotted, label="locked\nafter destroy" ]; 20 locked -> free [ style=dotted, label="unlocked\nby non-owner" ]; 21 locked -> dead [ style=dotted, label="destroyed\nwhile locked" ]; [all...] |
/external/libcxx/test/std/thread/thread.mutex/thread.lock.algorithm/ |
lock.pass.cpp | 47 bool locked() const {return locked_;} function in class:L0 70 bool locked() const {return locked_;} function in class:L1 93 bool locked() const {return locked_;} function in class:L2 102 assert(l0.locked()); 103 assert(l1.locked()); 109 assert(l0.locked()); 110 assert(l1.locked()); 116 assert(l0.locked()); 117 assert(l1.locked()); 130 assert(!l0.locked()); [all...] |
try_lock.pass.cpp | 37 bool locked() const {return locked_;} function in class:L0 55 bool locked() const {return locked_;} function in class:L1 73 bool locked() const {return locked_;} function in class:L2 82 assert(l0.locked()); 83 assert(l1.locked()); 89 assert(!l0.locked()); 90 assert(!l1.locked()); 96 assert(!l0.locked()); 97 assert(!l1.locked()); 110 assert(!l0.locked()); [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock.algorithm/ |
lock.pass.cpp | 47 bool locked() const {return locked_;} function in class:L0 70 bool locked() const {return locked_;} function in class:L1 93 bool locked() const {return locked_;} function in class:L2 102 assert(l0.locked()); 103 assert(l1.locked()); 109 assert(l0.locked()); 110 assert(l1.locked()); 116 assert(l0.locked()); 117 assert(l1.locked()); 130 assert(!l0.locked()); [all...] |
try_lock.pass.cpp | 37 bool locked() const {return locked_;} function in class:L0 55 bool locked() const {return locked_;} function in class:L1 73 bool locked() const {return locked_;} function in class:L2 82 assert(l0.locked()); 83 assert(l1.locked()); 89 assert(!l0.locked()); 90 assert(!l1.locked()); 96 assert(!l0.locked()); 97 assert(!l1.locked()); 110 assert(!l0.locked()); [all...] |
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
adopt_lock.pass.cpp | 24 bool locked = false; member in struct:TestMutex 27 void lock() { assert(!locked); locked = true; } 28 bool try_lock() { if (locked) return false; locked = true; return true; } 29 void unlock() { assert(locked); locked = false; } 47 assert(m1.locked); 49 assert(!m1.locked); 57 assert(m1.locked && m2.locked) [all...] |
mutex.pass.cpp | 24 bool locked = false; member in struct:TestMutex 26 ~TestMutex() { assert(!locked); } 28 void lock() { assert(!locked); locked = true; } 29 bool try_lock() { if (locked) return false; locked = true; return true; } 30 void unlock() { assert(locked); locked = false; } 38 bool locked = false; member in struct:TestMutexThrows 42 ~TestMutexThrows() { assert(!locked); } [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/ |
adopt_lock.pass.cpp | 24 bool locked = false; member in struct:TestMutex 27 void lock() { assert(!locked); locked = true; } 28 bool try_lock() { if (locked) return false; locked = true; return true; } 29 void unlock() { assert(locked); locked = false; } 47 assert(m1.locked); 49 assert(!m1.locked); 57 assert(m1.locked && m2.locked) [all...] |
mutex.pass.cpp | 24 bool locked = false; member in struct:TestMutex 26 ~TestMutex() { assert(!locked); } 28 void lock() { assert(!locked); locked = true; } 29 bool try_lock() { if (locked) return false; locked = true; return true; } 30 void unlock() { assert(locked); locked = false; } 38 bool locked = false; member in struct:TestMutexThrows 42 ~TestMutexThrows() { assert(!locked); } [all...] |
/external/javasqlite/src/main/java/SQLite/ |
BusyHandler.java | 10 * Invoked when a table is locked by another process 15 * @param table the name of the locked table 16 * @param count number of times the table was locked
|
/external/llvm/include/llvm/Support/ |
UniqueLock.h | 10 // This file defines a guard for a block of code that ensures a Mutex is locked 23 /// an associated mutex, which is guaranteed to be locked upon creation 30 bool locked; member in class:llvm::unique_lock 35 unique_lock() : M(nullptr), locked(false) {} 36 explicit unique_lock(MutexT &m) : M(&m), locked(true) { M->lock(); } 42 locked = o.locked; 44 o.locked = false; 50 assert(!locked && "mutex already locked!"); [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
UniqueLock.h | 10 // This file defines a guard for a block of code that ensures a Mutex is locked 23 /// an associated mutex, which is guaranteed to be locked upon creation 30 bool locked; member in class:llvm::unique_lock 35 unique_lock() : M(nullptr), locked(false) {} 36 explicit unique_lock(MutexT &m) : M(&m), locked(true) { M->lock(); } 42 locked = o.locked; 44 o.locked = false; 50 assert(!locked && "mutex already locked!"); [all...] |
/external/libxkbcommon/xkbcommon/test/data/compat/ |
ledcaps | 7 whichModState= Locked; 21 whichModState= Locked;
|
lednum | 7 whichModState= Locked; 21 whichModState= Locked;
|
ledscroll | 7 whichModState= Locked; 21 whichModState= Locked;
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
Mutexed.h | 45 * Mutexed<DataToProtect>::Locked data(mProtectedData); // access the protected data 47 * // the mutex is locked here, so accessing the data is safe 74 * Mutexed<DataToProtect>::Locked data(mProtectedData); 78 * void helper(const Mutexed<DataToProtect>::Locked &data) { 91 * Upon creation, the mutex is locked. You can use lock()/unlock() methods to 98 * that locked the original wrapper. 103 class Locked { 105 inline Locked(Mutexed<T> &mParent); 106 inline Locked(Locked &&from) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
mutex.py | 3 A mutex has two pieces of state -- a 'locked' bit and a queue.
4 When the mutex is not locked, the queue is empty.
23 self.locked = False
27 """Test the locked bit of the mutex."""
28 return self.locked
33 if not self.locked:
34 self.locked = True
41 when it is acquired. If the mutex is already locked, place
55 self.locked = False
|
/external/python/cpython2/Lib/ |
mutex.py | 3 A mutex has two pieces of state -- a 'locked' bit and a queue. 4 When the mutex is not locked, the queue is empty. 23 self.locked = False 27 """Test the locked bit of the mutex.""" 28 return self.locked 33 if not self.locked: 34 self.locked = True 41 when it is acquired. If the mutex is already locked, place 55 self.locked = False
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
mutex.py | 3 A mutex has two pieces of state -- a 'locked' bit and a queue. 4 When the mutex is not locked, the queue is empty. 23 self.locked = False 27 """Test the locked bit of the mutex.""" 28 return self.locked 33 if not self.locked: 34 self.locked = True 41 when it is acquired. If the mutex is already locked, place 55 self.locked = False
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
mutex.py | 3 A mutex has two pieces of state -- a 'locked' bit and a queue. 4 When the mutex is not locked, the queue is empty. 23 self.locked = False 27 """Test the locked bit of the mutex.""" 28 return self.locked 33 if not self.locked: 34 self.locked = True 41 when it is acquired. If the mutex is already locked, place 55 self.locked = False
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
mutex.py | 3 A mutex has two pieces of state -- a 'locked' bit and a queue. 4 When the mutex is not locked, the queue is empty. 23 self.locked = False 27 """Test the locked bit of the mutex.""" 28 return self.locked 33 if not self.locked: 34 self.locked = True 41 when it is acquired. If the mutex is already locked, place 55 self.locked = False
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
mutex.py | 3 A mutex has two pieces of state -- a 'locked' bit and a queue. 4 When the mutex is not locked, the queue is empty. 23 self.locked = False 27 """Test the locked bit of the mutex.""" 28 return self.locked 33 if not self.locked: 34 self.locked = True 41 when it is acquired. If the mutex is already locked, place 55 self.locked = False
|
/external/autotest/client/site_tests/security_SMMLocked/ |
control | 7 PURPOSE = "Verify SMM is locked" 8 CRITERIA = "Fails if SMM is mapped or is not locked" 17 the SMRAM area unmapped and the SMM registers locked.
|
/external/autotest/frontend/migrations/ |
085_lease_hosts.py | 3 CREATE INDEX leased_hosts ON afe_hosts (leased, locked);
|
/prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
UniqueLock.h | 10 // This file defines a guard for a block of code that ensures a Mutex is locked 24 /// an associated mutex, which is guaranteed to be locked upon creation 31 bool locked = false; member in class:llvm::unique_lock 35 explicit unique_lock(MutexT &m) : M(&m), locked(true) { M->lock(); } 43 locked = o.locked; 45 o.locked = false; 51 assert(!locked && "mutex already locked!"); 54 locked = true [all...] |