/external/chromium/base/ |
shared_memory_unittest.cc | 72 // and keep changing it while trying to lock it, with some small pauses in 99 memory2.Lock(); 262 // with the lock held. Verify that they are always reading/writing consistent 264 TEST(SharedMemoryTest, Lock) { 354 memory.Lock();
|
/external/chromium/chrome/browser/chromeos/login/ |
parallel_authenticator.h | 31 class Lock; 262 base::Lock success_lock_; // A lock around already_reported_success_. 267 base::Lock localaccount_lock_; // A lock around checked_for_localaccount_.
|
/external/chromium/chrome/browser/rlz/ |
rlz.cc | 20 #include "base/synchronization/lock.h" 50 base::Lock rlz_lock; 146 base::AutoLock lock(rlz_lock); 315 base::AutoLock lock(rlz_lock); 345 base::AutoLock lock(rlz_lock);
|
/external/chromium/chrome/browser/speech/ |
speech_input_manager.cc | 12 #include "base/synchronization/lock.h" 65 base::AutoLock lock(lock_); 78 base::AutoLock lock(lock_); 83 base::AutoLock lock(lock_); 88 base::Lock lock_;
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
bookmark_button.h | 37 // Returns YES if a drag operation should lock the fullscreen overlay bar 39 // not lock the overlay if the bookmark bar is currently showing in detached 86 // Returns YES if a drag operation should lock the fullscreen overlay bar 88 // not lock the overlay if the bookmark bar is currently showing in detached 200 // Used to lock and release bar visibility during a drag. The pointer is
|
/external/icu4c/common/unicode/ |
uclean.h | 124 * Subsequent calls by ICU to lock, unlock, or destroy a mutex will 137 * whenever ICU needs to lock, unlock, or destroy a mutex. 159 * @param lock pointer to the mutex lock function. Must be non-null. 166 u_setMutexFunctions(const void *context, UMtxInitFn *init, UMtxFn *destroy, UMtxFn *lock, UMtxFn *unlock,
|
/external/icu4c/i18n/ |
timezone.cpp | 116 static UMTX LOCK; 136 if (LOCK) { 137 umtx_destroy(&LOCK); 138 LOCK = NULL; 324 UMTX_CHECK(&LOCK, (_GMT == NULL), needsInit); /* This is here to prevent race conditions. */ 330 umtx_lock(&LOCK); 335 umtx_unlock(&LOCK); 482 // In order to prevent a double lock of a non-reentrant mutex in a 485 Mutex lock(&TZSET_LOCK); 501 UMTX_CHECK(&LOCK, (DEFAULT_ZONE != NULL), initialized) [all...] |
/external/kernel-headers/original/linux/raid/ |
md_k.h | 334 #define __wait_event_lock_irq(wq, condition, lock, cmd) \ 344 spin_unlock_irq(&lock); \ 347 spin_lock_irq(&lock); \ 353 #define wait_event_lock_irq(wq, condition, lock, cmd) \ 357 __wait_event_lock_irq(wq, condition, lock, cmd); \
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 122 assert(locked.holds(TheJIT->lock)); 127 assert(lck.holds(TheJIT->lock)); 133 assert(locked.holds(TheJIT->lock)); 147 assert(locked.holds(TheJIT->lock)); 232 /// Guarded by Lock. 236 mutable sys::Mutex Lock; 241 MutexGuard guard(Lock); 246 MutexGuard guard(Lock); 251 MutexGuard guard(Lock); 264 MutexGuard guard(Lock); [all...] |
/external/protobuf/editors/ |
protobuf-mode.el | 158 (defconst protobuf-font-lock-keywords-1 (c-lang-const c-matchers-1 protobuf) 161 (defconst protobuf-font-lock-keywords-2 (c-lang-const c-matchers-2 protobuf) 164 (defconst protobuf-font-lock-keywords-3 (c-lang-const c-matchers-3 protobuf) 167 (defvar protobuf-font-lock-keywords protobuf-font-lock-keywords-3
|
/external/valgrind/main/helgrind/ |
hg_intercepts.c | 210 Note that parent and child access args[] without a lock, 490 /* There's a hole here: libpthread now knows the lock is locked, 492 that the lock has been acquired by someone (this thread). Does 515 // the pre-lock creq that this is a trylock-style operation, and 516 // therefore not to complain if the lock is nonrecursive and 534 /* There's a hole here: libpthread now knows the lock is locked, 536 that the lock has been acquired by someone (this thread). Does 576 /* There's a hole here: libpthread now knows the lock is locked, 578 that the lock has been acquired by someone (this thread). Does [all...] |
/external/webkit/Source/JavaScriptCore/dfg/ |
DFGRegisterBank.h | 39 // a lock count (used to indicate this register is already in use 166 // lock/unlock register, ensures that they are not spilled. 167 void lock(RegID reg) 221 // Mark the register as locked (with a lock count of 1). 229 // being managed by the RegisterBank. For each register we track a lock
|
DFGJITCodeGenerator.cpp | 89 m_gprs.lock(gpr); 97 m_gprs.lock(gpr); 163 m_gprs.lock(jsValueGpr); 198 m_gprs.lock(gpr); 225 m_fprs.lock(fpr); 281 m_gprs.lock(gpr); 306 m_gprs.lock(gpr);
|
/external/webkit/Tools/Scripts/webkitperl/ |
httpd.pm | 63 my $httpdLockPrefix = "WebKitHttpd.lock."; 65 my $exclusiveLockFile = File::Spec->catfile($tmpDir, "WebKit.lock"); 99 my $httpdLockFile = File::Spec->catfile($httpdPidDir, "httpd.lock"); 313 # We need an exclusive lock file to avoid deadlocks and starvation and ensure that the scheduler lock numbers are sequential.
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteDatabase.java | 208 /** If the lock is held this long then a warning will be printed when it is released. */ 251 // lock acquistions of the database. 345 // itself. so, there is no need to lock(). 392 * Locks the database for exclusive access. The database lock must be held when 394 * a polling lock contention algorithm. The lock is recursive, and may be acquired 399 /* package */ void lock(String sql) { method in class:SQLiteDatabase 400 lock(sql, false); method 403 /* pachage */ void lock() { method in class:SQLiteDatabase 404 lock(null, false) method 408 private void lock(String sql, boolean forced) { method in class:SQLiteDatabase 468 lock(null, true); method 472 lock(sql, true); method 2072 lock(); method 2322 lock(); method 2357 lock(); method [all...] |
/frameworks/base/libs/camera/ |
ICamera.cpp | 42 LOCK, 253 virtual status_t lock() function in class:android::BpCamera 257 remote()->transact(LOCK, data, &reply); 401 case LOCK: { 403 reply->writeInt32(lock());
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PatternUnlockScreen.java | 76 * Keeps track of the last time we poked the wake lock during dispatching 134 * @param lockPatternUtils Used to lookup lock pattern settings. 183 // lock pattern view. 211 // wake lock so that the screen will stay on. 271 // reset lock pattern
|
/hardware/libhardware_legacy/audio/ |
A2dpAudioInterface.cpp | 279 Mutex::Autolock lock(mLock); 353 Mutex::Autolock lock(mLock); 437 Mutex::Autolock lock(mLock); 453 Mutex::Autolock lock(mLock); 472 Mutex::Autolock lock(mLock);
|
/libcore/luni/src/main/java/java/io/ |
OutputStreamWriter.java | 137 synchronized (lock) { 162 synchronized (lock) { 262 synchronized (lock) { 283 synchronized (lock) { 312 synchronized (lock) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
GLRootView.java | 176 mRenderLock.lock(); 264 mRenderLock.lock(); 345 mRenderLock.lock(); 385 mRenderLock.lock(); 407 mRenderLock.lock();
|
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 47 * Gesture lock pattern settings. 52 // Lock Settings 105 // Add options for lock/unlock screen 149 // lock after preference 183 // Do not display SIM lock for CDMA phone
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
smbno.h | 40 #define ERRlock 33 /* Lock request conflicts with existing lock */ 198 #define SMBlock 0x0C /* lock byte range */ 225 #define SMBlockread 0x13 /* Lock a range and read */ 242 #define SMBlockingX 0x24 /* lock/unlock byte ranges and X */
|
/system/media/wilhelm/src/ |
locks.c | 22 // One of the common reasons for deadlock is trying to lock a mutex for an object 31 /** \brief Exclusively lock an object */ 54 SL_LOGE("%s:%d: recursive lock detected", file, line); 62 // if we ever see forward progress then lock without timeout (more efficient) 65 // no, then continue trying to lock but with increasing timeouts
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CodecTest.java | 56 private static final Object lock = new Object(); field in class:CodecTest 262 synchronized (lock) { 265 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE); 298 synchronized (lock) { 301 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE); 679 synchronized (lock) { 681 lock.notify(); 718 synchronized (lock) { 721 lock.wait(WAIT_FOR_COMMAND_TO_COMPLETE); 803 synchronized (lock) { [all...] |
/system/core/adb/ |
usb_linux.c | 71 adb_mutex_t lock; member in struct:usb_handle 302 adb_mutex_lock(&h->lock); 322 res = pthread_cond_timedwait(&h->notify, &h->lock, &ts); 334 adb_mutex_unlock(&h->lock); 353 adb_mutex_lock(&h->lock); 370 adb_mutex_unlock(&h->lock); 373 adb_mutex_lock(&h->lock); 406 adb_mutex_unlock(&h->lock); 486 adb_mutex_lock(&h->lock); 515 adb_mutex_unlock(&h->lock); [all...] |