/external/libcxx/test/thread/thread.mutex/thread.lock.algorithm/ |
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...] |
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...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/thread.mutex/thread.lock.algorithm/ |
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...] |
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...] |
/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/robolectric/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;
|
ShadowCamera.java | 21 private boolean locked; field in class:ShadowCamera 34 locked = true; 46 locked = false; 51 locked = true; 126 return locked;
|
/external/valgrind/main/drd/tests/ |
annotate_rwlock.c | 28 volatile int locked; member in struct:__anon36500 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/main/helgrind/tests/ |
annotate_rwlock.c | 38 volatile int locked; member in struct:__anon36575 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...] |
/external/srec/portable/include/ |
pmutex.h | 50 #define createMutex(mutex, locked) \ 51 (*mutex = CreateMutex(NULL, locked, NULL)) == 0 ? ESR_MUTEX_CREATION_ERROR : ESR_SUCCESS 73 ESR_ReturnCode createMutex_posix(MUTEX *mutex, ESR_BOOL locked); 76 #define createMutex(mutex, locked) createMutex_posix(mutex, locked) 89 #define createMutex(mutex, locked) (ESR_SUCCESS)
|
/external/chromium_org/ash/system/chromeos/power/ |
video_activity_notifier.cc | 44 void VideoActivityNotifier::OnLockStateChanged(bool locked) { 45 screen_is_locked_ = locked;
|
video_activity_notifier.h | 26 virtual void OnLockStateChanged(bool locked) OVERRIDE; 34 // True if the screen is currently locked.
|
/external/chromium_org/ppapi/shared_impl/ |
proxy_lock.cc | 55 const bool locked = g_proxy_locked_on_thread.Get().Get(); local 56 CHECK(locked); 68 const bool locked = g_proxy_locked_on_thread.Get().Get(); local 69 CHECK(locked);
|
/external/chromium_org/third_party/sqlite/src/src/ |
btmutex.c | 25 ** p->locked boolean to true. 28 assert( p->locked==0 ); 34 p->locked = 1; 39 ** clear the p->locked boolean. 43 assert( p->locked==1 ); 49 p->locked = 0; 60 ** To avoid deadlocks, multiple Btrees are locked in the same order 63 ** which need to be locked after p. If we cannot get a lock on 82 assert( !p->locked || p->wantToLock>0 ); 90 assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db ) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
RotationLockController.java | 23 void setRotationLocked(boolean locked);
|
/external/chromium_org/chrome/browser/chromeos/power/ |
power_button_observer.cc | 55 bool locked = locker && locker->locked(); local 56 ash::Shell::GetInstance()->OnLockStateChanged(locked); 76 bool locked = *content::Details<bool>(details).ptr(); local 77 ash::Shell::GetInstance()->OnLockStateChanged(locked);
|
/external/chromium_org/net/tools/quic/test_tools/ |
packet_dropping_test_writer.h | 66 base::AutoLock locked(config_mutex_); 75 base::AutoLock locked(config_mutex_); 82 base::AutoLock locked(config_mutex_); 91 base::AutoLock locked(config_mutex_); 102 base::AutoLock locked(config_mutex_);
|
/external/chromium_org/ui/events/ozone/evdev/ |
event_modifiers_evdev.cc | 65 bool locked = (modifier_flags_locked_ & mask); local 66 if (down != locked)
|
/art/runtime/entrypoints/portable/ |
portable_jni_entrypoints.cc | 55 jobject locked, 59 UnlockJniSynchronizedMethod(locked, self); // Must decode before pop. 82 jobject locked, 86 UnlockJniSynchronizedMethod(locked, self); // Must decode before pop.
|
/external/chromium_org/ash/ |
shell_observer.h | 28 // Invoked when the screen is locked (after the lock window is visible) or 30 virtual void OnLockStateChanged(bool locked) {}
|
/external/chromium_org/chrome/browser/notifications/ |
login_state_notification_blocker_chromeos.h | 36 virtual void OnLockStateChanged(bool locked) OVERRIDE;
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/ |
layout_test_runner_unittest.py | 195 locked, unlocked = self.get_shards(num_workers=2, fully_parallel=False, run_singly=False) 200 self.assert_shards(locked, 217 locked, unlocked = self.get_shards(num_workers=2, fully_parallel=True, max_locked_shards=2, run_singly=False) 218 self.assert_shards(locked, 236 locked, unlocked = self.get_shards(num_workers=1, fully_parallel=False, run_singly=False) 237 self.assert_shards(locked, 255 locked, unlocked = self.get_shards(num_workers=1, fully_parallel=False, run_singly=False, 257 self.assertEqual(len(locked), 0) 261 locked, unlocked = self.get_shards(num_workers=1, fully_parallel=False, run_singly=False, 263 self.assertEqual(len(locked), 1 [all...] |
/external/chromium_org/ipc/ |
ipc_forwarding_message_filter.cc | 25 base::AutoLock locked(handlers_lock_); 30 base::AutoLock locked(handlers_lock_); 43 base::AutoLock locked(handlers_lock_);
|
/external/chromium_org/base/threading/ |
thread_id_name_manager.cc | 27 AutoLock locked(lock_); 45 AutoLock locked(lock_); 54 AutoLock locked(lock_); 78 AutoLock locked(lock_); 95 AutoLock locked(lock_);
|