/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 | 40 bool locked() const {return locked_;} function in class:L0 63 bool locked() const {return locked_;} function in class:L1 86 bool locked() const {return locked_;} function in class:L2 95 assert(l0.locked()); 96 assert(l1.locked()); 102 assert(l0.locked()); 103 assert(l1.locked()); 109 assert(l0.locked()); 110 assert(l1.locked()); 122 assert(!l0.locked()); [all...] |
try_lock.pass.cpp | 35 bool locked() const {return locked_;} function in class:L0 53 bool locked() const {return locked_;} function in class:L1 71 bool locked() const {return locked_;} function in class:L2 80 assert(l0.locked()); 81 assert(l1.locked()); 87 assert(!l0.locked()); 88 assert(!l1.locked()); 94 assert(!l0.locked()); 95 assert(!l1.locked()); 107 assert(!l0.locked()); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock.algorithm/ |
lock.pass.cpp | 38 bool locked() const {return locked_;} function in class:L0 61 bool locked() const {return locked_;} function in class:L1 84 bool locked() const {return locked_;} function in class:L2 93 assert(l0.locked()); 94 assert(l1.locked()); 100 assert(l0.locked()); 101 assert(l1.locked()); 107 assert(l0.locked()); 108 assert(l1.locked()); 120 assert(!l0.locked()); [all...] |
try_lock.pass.cpp | 33 bool locked() const {return locked_;} function in class:L0 51 bool locked() const {return locked_;} function in class:L1 69 bool locked() const {return locked_;} function in class:L2 78 assert(l0.locked()); 79 assert(l1.locked()); 85 assert(!l0.locked()); 86 assert(!l1.locked()); 92 assert(!l0.locked()); 93 assert(!l1.locked()); 105 assert(!l0.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...] |
/frameworks/av/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...] |
/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" 18 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);
|
/external/autotest/client/site_tests/network_SIMLocking/ |
control | 27 - Unlock a pin-locked SIM. 28 - Attempt to unlock a pin-locked SIM with incorrect sim-pin, until it gets 29 puk-locked. 30 - Unblock a puk-locked SIM. 31 - Attempt to unblock a puk-locked SIM with incorrect sim-puk, until the SIM
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowPowerManager.java | 34 private boolean locked; field in class:ShadowPowerManager.ShadowWakeLock 47 locked = true; 54 if (--refCount < 0) throw new RuntimeException("WakeLock under-locked"); 56 locked = false; 62 return refCounted ? refCount > 0 : locked;
|
/external/autotest/contrib/ |
shared_hosts.py | 14 if not x['locked']] 16 if not x['locked']]
|
/external/compiler-rt/test/tsan/ |
mutex_destroy_locked.cc | 13 // CHECK: WARNING: ThreadSanitizer: destroy of a locked mutex 22 // CHECK: SUMMARY: ThreadSanitizer: destroy of a locked mutex{{.*}}main
|
real_deadlock_detector_stress_test.cc | 44 std::vector<int> locked; local 47 if (what < 4 && locked.size() < kMaxPerThread) { 50 if (!locked.empty()) { 51 max_locked = *std::max_element(locked.begin(), locked.end()); 122 locked.push_back(id); 123 } else if (what < 9 && !locked.empty()) { 125 int pos = rand_r(&rnd) % locked.size(); 126 int id = locked[pos]; 127 locked[pos] = locked[locked.size() - 1] [all...] |
/external/valgrind/drd/tests/ |
annotate_rwlock.c | 28 volatile int locked; member in struct:__anon25856 41 p->locked = 0; 50 assert(p->locked == 0); 59 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 69 (void) __sync_fetch_and_sub(&p->locked, 1); 75 (void) __sync_fetch_and_sub(&p->locked, 1); 83 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 93 (void) __sync_fetch_and_sub(&p->locked, 1); 99 (void) __sync_fetch_and_sub(&p->locked, 1); 105 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1 [all...] |
/external/valgrind/helgrind/tests/ |
annotate_rwlock.c | 38 volatile int locked; member in struct:__anon25933 51 p->locked = 0; 60 assert(p->locked == 0); 69 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 79 (void) __sync_fetch_and_sub(&p->locked, 1); 85 (void) __sync_fetch_and_sub(&p->locked, 1); 94 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1) 104 (void) __sync_fetch_and_sub(&p->locked, 1); 110 (void) __sync_fetch_and_sub(&p->locked, 1); 117 while (__sync_val_compare_and_swap(&p->locked, 0, 1) == 1 [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
KeyboardStateSingleTouchTests.java | 91 // Switching between alphabet shift locked and symbols. 93 // Long press shift key, enter alphabet shift locked. 99 // Press/release "ABC" key, back to alphabet shift locked. 106 // Press/release "ABC" key, back to alphabet shift locked. 133 // Automatic switch back to alphabet shift locked test by space key. 135 // Long press shift key, enter alphabet shift locked. 143 // Enter space, switch back to alphabet shift locked. 152 // Enter space, switch back to alphabet shift locked. 198 // Long press shift key, enter alphabet shift locked. 204 // Long press shift key, enter alphabet shift locked [all...] |
/frameworks/base/services/core/ |
Android.mk | 28 -D jack.transformations.boost-locked-region-priority=true \ 29 -D jack.transformations.boost-locked-region-priority.classname=com.android.server.am.ActivityManagerService \ 30 -D jack.transformations.boost-locked-region-priority.request=com.android.server.am.ActivityManagerService\#boostPriorityForLockedSection \ 31 -D jack.transformations.boost-locked-region-priority.reset=com.android.server.am.ActivityManagerService\#resetPriorityAfterLockedSection
|
/prebuilts/go/darwin-x86/src/runtime/ |
lock_sema.go | 27 locked uintptr = 1 42 if casuintptr(&l.key, 0, locked) { 58 if v&locked == 0 { 60 if casuintptr(&l.key, v, v|locked) { 75 gp.m.nextwaitm = v &^ locked 76 if casuintptr(&l.key, v, uintptr(unsafe.Pointer(gp.m))|locked) { 80 if v&locked == 0 { 84 if v&locked != 0 { 100 if v == locked { 101 if casuintptr(&l.key, locked, 0) [all...] |
/prebuilts/go/linux-x86/src/runtime/ |
lock_sema.go | 27 locked uintptr = 1 42 if casuintptr(&l.key, 0, locked) { 58 if v&locked == 0 { 60 if casuintptr(&l.key, v, v|locked) { 75 gp.m.nextwaitm = v &^ locked 76 if casuintptr(&l.key, v, uintptr(unsafe.Pointer(gp.m))|locked) { 80 if v&locked == 0 { 84 if v&locked != 0 { 100 if v == locked { 101 if casuintptr(&l.key, locked, 0) [all...] |