Searched refs:locked (Results 1 - 25 of 232) sorted by relevance

12345678910

/external/libcxx/test/thread/thread.mutex/thread.lock.algorithm/
H A Dtry_lock.pass.cpp33 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...]
H A Dlock.pass.cpp38 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...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowPowerManager.java34 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;
H A DShadowCamera.java21 private boolean locked; field in class:ShadowCamera
34 locked = true;
46 locked = false;
51 locked = true;
126 return locked;
/external/valgrind/main/drd/tests/
H A Dannotate_rwlock.c28 volatile int locked; member in struct:__anon32783
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,
[all...]
/external/valgrind/main/helgrind/tests/
H A Dannotate_rwlock.c38 volatile int locked; member in struct:__anon32858
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,
[all...]
/external/srec/portable/include/
H A Dpmutex.h50 #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/
H A Dvideo_activity_notifier.cc44 void VideoActivityNotifier::OnLockStateChanged(bool locked) { argument
45 screen_is_locked_ = locked;
H A Dvideo_activity_notifier.h26 virtual void OnLockStateChanged(bool locked) OVERRIDE;
34 // True if the screen is currently locked.
/external/chromium_org/ppapi/shared_impl/
H A Dproxy_lock.cc55 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/
H A Dbtmutex.c25 ** 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
[all...]
/external/chromium_org/chrome/browser/chromeos/power/
H A Dpower_button_observer.cc60 bool locked = locker && locker->locked(); local
61 ash::Shell::GetInstance()->OnLockStateChanged(locked);
81 bool locked = *content::Details<bool>(details).ptr(); local
82 ash::Shell::GetInstance()->OnLockStateChanged(locked);
/external/chromium_org/ui/events/ozone/evdev/
H A Devent_modifiers_evdev.cc65 bool locked = (modifier_flags_locked_ & mask); local
66 if (down != locked)
/external/chromium_org/chrome/browser/resources/user_manager/
H A Duser_manager.css45 .pod.focused.locked {
77 .pod.locked .locked-indicator {
88 html[dir=rtl] .pod.locked .locked-indicator {
124 .pod.focused:not(.locked) .name-container {
134 .pod.focused:not(.locked) .auth-container {
138 .pod.focused.locked .password-entry-container {
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/controllers/
H A Dlayout_test_runner_unittest.py195 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),
[all...]
/external/chromium_org/third_party/polymer/components-chromium/core-splitter/
H A Dcore-splitter-extracted.js26 * @attribute locked
30 locked: false,
80 if (this.locked) {
/external/chromium_org/ipc/
H A Dipc_forwarding_message_filter.cc25 base::AutoLock locked(handlers_lock_);
30 base::AutoLock locked(handlers_lock_);
43 base::AutoLock locked(handlers_lock_);
/external/chromium_org/base/threading/
H A Dthread_id_name_manager.cc27 AutoLock locked(lock_);
45 AutoLock locked(lock_);
54 AutoLock locked(lock_);
78 AutoLock locked(lock_);
95 AutoLock locked(lock_);
/external/chromium_org/net/tools/quic/test_tools/
H A Dpacket_dropping_test_writer.h67 base::AutoLock locked(config_mutex_);
76 base::AutoLock locked(config_mutex_);
83 base::AutoLock locked(config_mutex_);
92 base::AutoLock locked(config_mutex_);
103 base::AutoLock locked(config_mutex_);
/external/chromium_org/third_party/flot/
H A Djquery.flot.crosshair.min.js59 */(function(e){function n(e){function n(n){if(t.locked)return;t.x!=-1&&(t.x=-1,e.triggerRedrawOverlay())}function r(n){if(t.locked)return;if(e.getSelection&&e.getSelection()){t.x=-1;return}var r=e.offset();t.x=Math.max(0,Math.min(n.pageX-r.left,e.width())),t.y=Math.max(0,Math.min(n.pageY-r.top,e.height())),e.triggerRedrawOverlay()}var t={x:-1,y:-1,locked:!1};e.setCrosshair=function(r){if(!r)t.x=-1;else{var i=e.p2c(r);t.x=Math.max(0,Math.min(i.left,e.width())),t.y=Math.max(0,Math.min(i.top,e.height()))}e.triggerRedrawOverlay()},e.clearCrosshair=e.setCrosshair,e.lockCrosshair=function(r){r&&e.setCrosshair(r),t.locked=!0},e.unlockCrosshair=function(){t.locked=!1},e.hooks.bindEvents.push(function(e,t){if(!e.getOptions().crosshair.mode)return;t.mouseout(n),t (…)
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DAudioDSPKernelProcessor.cpp92 if (tryLocker.locked()) {
137 if (tryLocker.locked()) {
150 if (tryLocker.locked()) {
/external/chromium_org/base/synchronization/
H A Dwaitable_event_watcher_posix.cc36 AutoLock locked(lock_);
41 AutoLock locked(lock_);
153 AutoLock locked(kernel->lock_);
209 AutoLock locked(kernel_->lock_);
/external/chromium_org/chrome/browser/notifications/
H A Dlogin_state_notification_blocker_chromeos.h36 virtual void OnLockStateChanged(bool locked) OVERRIDE;
/external/chromium_org/chrome/browser/
H A Dprocess_singleton_startup_lock.h22 // The object starts in a locked state. |Unlock()| must be called
41 bool locked() { return locked_; } function in class:ProcessSingletonStartupLock
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
H A DSDL_sysyuv.h61 int locked; member in struct:private_yuvhwdata

Completed in 4073 milliseconds

12345678910