/external/valgrind/main/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...] |
/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/chromium_org/chrome/common/extensions/api/ |
screenlock_private.idl | 8 callback BooleanCallback = void(boolean locked); 11 // Returns true if the screen is currently locked, false otherwise. 14 // Set <code>locked=true</code> to lock the screen, 15 // <code>locked=false</code> to unlock it. 16 static void setLocked(boolean locked); 18 // Show a message to the user on the unlock UI if the screen is locked. 23 // Fires whenever the screen is locked or unlocked. 24 static void onChanged(boolean locked);
|
idle.json | 14 "description": "Returns \"locked\" if the system is locked, \"idle\" if the user has not generated any input for a specified number of seconds, or \"active\" otherwise.", 29 "enum": ["active", "idle", "locked"] 53 "description": "Fired when the system changes to an active, idle or locked state. The event fires with \"locked\" if the screen is locked or the screensaver activates, \"idle\" if the system is unlocked and the user has not generated any input for a specified number of seconds, and \"active\" when the user generates input on an idle system.", 58 "enum": ["active", "idle", "locked"]
|
/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
|
/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/chromium_org/ppapi/api/dev/ |
ppb_cursor_control_dev.idl | 29 * instance and be locked, preventing the user from moving it. 30 * The cursor is implicitly hidden from the user while locked. 35 * While the cursor is locked, any movement of the mouse will 38 * the cursor not been locked, and had the screen been infinite in size. 45 * Returns PP_TRUE if the cursor could be locked, PP_FALSE otherwise. 56 * Returns PP_TRUE if the cursor is locked, PP_FALSE otherwise. 61 * Returns PP_TRUE if the cursor can be locked, PP_FALSE otherwise.
|
/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;
|
/external/compiler-rt/lib/tsan/lit_tests/ |
mutex_destroy_locked.cc | 13 // CHECK: WARNING: ThreadSanitizer: destroy of a locked mutex 22 // CHECK: SUMMARY: ThreadSanitizer: destroy of a locked mutex{{.*}}main
|
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_UnlockSurface.3 | 3 SDL_UnlockSurface \- Unlocks a previously locked surface\&. 11 Surfaces that were previously locked using \fBSDL_LockSurface\fP must be unlocked with \fBSDL_UnlockSurface\fP\&. Surfaces should be unlocked as soon as possible\&.
|
/external/valgrind/main/drd/tests/ |
annotate_rwlock.c | 28 volatile int locked; member in struct:__anon30779 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...] |
pth_cancel_locked.c | 18 /* Inform the main thread that s_mutex2 has been locked, and wait for pthread_cancel(). */ 38 /* Wait until the created thread has locked s_mutex2. */
|
/external/valgrind/main/helgrind/tests/ |
annotate_rwlock.c | 38 volatile int locked; member in struct:__anon30853 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...] |
KeyboardStateMultiTouchTests.java | 60 // Chording input in shift locked. 62 // Long press shift key, enter alphabet shift locked. 70 // Release shift key, switch back to alphabet shift locked. 77 // Release "123?" key, switch back to alphabet shift locked. 117 // Alphabet shift locked -> symbols -> "ABC" key + letter -> symbols -> 118 // alphabet shift locked. 121 // Long press shift key, enter alphabet shift locked. 126 // Press "ABC" key, enter into chording alphabet shift locked. 132 // Press/release "ABC" key, switch to alphabet shift locked. 135 // Alphabet shift locked -> symbols -> "=\<" key + letter -> symbols - [all...] |
/external/clang/test/PCH/ |
thread-safety-attrs.cpp | 212 // expected-warning{{unlocking 'sls_mu' that was not locked}} 218 // expected-warning{{locking 'sls_mu' that is already locked}} 224 } // expected-warning{{mutex 'sls_mu' is still locked at the end of function}} 231 } // expected-warning{{mutex 'sls_mu' is not locked on every path through here}} \ 232 // expected-warning{{mutex 'sls_mu2' is not locked on every path through here}} 238 } // expected-warning{{mutex 'sls_mu' is not locked on every path through here}} 251 expected-warning{{mutex 'sls_mu' is not locked on every path through here}}\ 252 expected-warning{{unlocking 'sls_mu' that was not locked}} 262 expected-warning{{expecting mutex 'sls_mu' to be locked at start of each loop}} 274 sls_mu.Unlock(); // expected-warning{{expecting mutex 'sls_mu' to be locked at start of each loop} [all...] |
/external/chromium_org/ppapi/c/dev/ |
ppb_cursor_control_dev.h | 45 * instance and be locked, preventing the user from moving it. 46 * The cursor is implicitly hidden from the user while locked. 51 * While the cursor is locked, any movement of the mouse will 54 * the cursor not been locked, and had the screen been infinite in size. 61 * Returns PP_TRUE if the cursor could be locked, PP_FALSE otherwise. 70 * Returns PP_TRUE if the cursor is locked, PP_FALSE otherwise. 74 * Returns PP_TRUE if the cursor can be locked, PP_FALSE otherwise.
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrGeometryBuffer.h | 41 * to draw from the buffer while it is locked. It is an error to call lock 42 * on an already locked buffer. It may fail if the backend doesn't support 54 * is not locked. 56 * @return ptr to locked buffer data or undefined if buffer is not locked. 68 Queries whether the buffer has been locked. 70 @return true if the buffer is locked, false otherwise.
|
/external/skia/src/gpu/ |
GrGeometryBuffer.h | 41 * to draw from the buffer while it is locked. It is an error to call lock 42 * on an already locked buffer. It may fail if the backend doesn't support 54 * is not locked. 56 * @return ptr to locked buffer data or undefined if buffer is not locked. 68 Queries whether the buffer has been locked. 70 @return true if the buffer is locked, false otherwise.
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
IccCardConstants.java | 31 /* LOCKED means ICC is locked by pin or by network */ 32 public static final String INTENT_VALUE_ICC_LOCKED = "LOCKED"; 41 /* PIN means ICC is locked on PIN1 */ 43 /* PUK means ICC is locked on PUK1 */ 45 /* NETWORK means ICC is locked on NETWORK PERSONALIZATION */
|
/device/generic/goldfish/camera/ |
EmulatedCamera.h | 123 * NOTE: When this method is called the object is locked. 129 * NOTE: When this method is called the object is locked. 138 * NOTE: When this method is called the object is locked. 143 * NOTE: When this method is called the object is locked. 148 * NOTE: When this method is called the object is locked. 155 * NOTE: When this method is called the object is locked. 161 * NOTE: When this method is called the object is locked. 166 * NOTE: When this method is called the object is locked. 173 * NOTE: When this method is called the object is locked. 179 * NOTE: When this method is called the object is locked [all...] |
/frameworks/native/include/gui/ |
CpuConsumer.h | 68 // how many buffers can be locked for user access at the same time. 91 // filling out the passed-in locked buffer structure with the native pointer 93 // NOT_ENOUGH_DATA if the maximum number of buffers is already locked. 95 // Only a fixed number of buffers can be locked at a time, determined by the 101 // Returns a locked buffer to the queue, allowing it to be reused. Since 102 // only a fixed number of buffers may be locked at a time, old buffers must 108 // Maximum number of buffers that can be locked at a time 131 // Count of currently locked buffers
|
/external/chromium/chrome/browser/extensions/ |
extension_idle_api_constants.cc | 16 const char kStateLocked[] = "locked";
|