/external/chromium/chrome/browser/sync/util/ |
extensions_activity_monitor.cc | 68 base::AutoLock lock(records_lock_); 74 base::AutoLock lock(records_lock_); 84 base::AutoLock lock(records_lock_);
|
user_settings.h | 12 #include "base/synchronization/lock.h" 93 mutable base::Lock mutex_; // protects email_. 97 base::Lock dbhandle_mutex_;
|
/external/chromium/crypto/ |
openssl_util.cc | 14 #include "base/synchronization/lock.h" 49 locks_.push_back(new base::Lock()); 73 ScopedVector<base::Lock> locks_;
|
/external/dbus/dbus/ |
dbus-server-protected.h | 59 DBusMutex *mutex; /**< Lock on the server object */ 140 /* A "DO_NOT_HAVE_LOCK_CHECK" is impossible since we need the lock to check the flag */ 146 if (TRACE_LOCKS) { _dbus_verbose ("LOCK\n"); } \
|
/external/icu4c/common/ |
umutex.h | 43 * and the double check lock won't work reliably. 88 * umtx_lock(NULL); // Lock the ICU global mutex 96 /* Lock a mutex.
|
/external/kernel-headers/original/asm-generic/ |
mutex-xchg.h | 16 * __mutex_fastpath_lock - try to take the lock by moving the count 35 * __mutex_fastpath_lock_retval - try to take the lock by moving the count 99 * The lock was marked contended so we must restore that
|
/external/llvm/lib/VMCore/ |
LeakDetector.cpp | 33 sys::SmartScopedLock<true> Lock(*ObjectsLock); 43 sys::SmartScopedLock<true> Lock(*ObjectsLock); 55 sys::SmartScopedLock<true> Lock(*ObjectsLock);
|
/external/valgrind/main/drd/ |
drd_rwlock.c | 46 // Segment of last unlock call by this thread that unlocked a writer lock. 48 // Segment of last unlock call by this thread that unlocked a reader lock. 166 * reader-writer lock p into the vector clock of thread 'tid'. 304 "Not a reader-writer lock", 346 "Reader-writer lock reinitialization", 371 "Not a reader-writer lock", 384 * an attempt is made to lock recursively a synchronization object that must 405 "reader-writer lock 0x%lx is already locked for" 453 * an attempt is made to lock recursively a synchronization object that must 558 "Not a reader-writer lock", [all...] |
/external/valgrind/main/drd/tests/ |
trylock.c | 1 /** Test interception of the various pthread_timed*lock() and pthread_try*lock() 57 fprintf(stderr, "Attempt to lock for writing recursively (not allowed).\n");
|
/external/valgrind/main/helgrind/tests/ |
tc08_hbl2.c | 22 child joins back to parent. Parent (writer) uses hardware bus lock; 23 child is only reading and so does not need to use a bus lock. */ 60 "lock ; incl (%0)" : /*out*/ : /*in*/"r"(&(_lval)) : "memory", "cc" )
|
/external/valgrind/unittest/ |
atomicity_tests.cc | 92 // Atomicity violation with a map and a reader lock. 95 // The problem here is that during the first part we hold a reader lock, 96 // then we release it and grap writer lock, but the code has (incorrect)
|
/external/webkit/Source/WebCore/bindings/js/ |
JSInjectedScriptHostCustom.cpp | 73 JSLock lock(SilenceAssertionsOnly); 84 JSLock lock(SilenceAssertionsOnly); 101 JSLock lock(SilenceAssertionsOnly);
|
JSInjectedScriptManager.cpp | 54 JSLock lock(SilenceAssertionsOnly); 84 JSLock lock(SilenceAssertionsOnly); 102 JSLock lock(SilenceAssertionsOnly);
|
ScriptCachedFrameData.cpp | 49 JSLock lock(SilenceAssertionsOnly); 76 JSLock lock(SilenceAssertionsOnly); 104 JSLock lock(SilenceAssertionsOnly);
|
/external/webkit/Source/WebCore/bridge/c/ |
c_class.cpp | 50 JSLock lock(SilenceAssertionsOnly); 92 JSLock lock(SilenceAssertionsOnly); 113 JSLock lock(SilenceAssertionsOnly);
|
/external/webkit/Source/WebCore/webaudio/ |
AudioContext.cpp | 377 void AudioContext::lock(bool& mustReleaseLock) function in class:WebCore::AudioContext 379 // Don't allow regular lock in real-time audio thread. 385 // We already have the lock. 388 // Acquire the lock. 389 m_contextGraphMutex.lock(); 400 // Try to catch cases of using try lock on main thread - it should use regular lock. 404 // In release build treat tryLock() as lock() (since above ASSERT(isAudioThread) never fires) - this is the best we can do. 405 lock(mustReleaseLock); 412 // Thread already has the lock [all...] |
/frameworks/base/include/ui/ |
GraphicBuffer.h | 94 status_t lock(uint32_t usage, void** vaddr); 95 status_t lock(uint32_t usage, const Rect& rect, void** vaddr); 96 status_t lock(GGLSurface* surface, uint32_t usage);
|
/frameworks/base/libs/ui/ |
GraphicBufferMapper.cpp | 69 status_t GraphicBufferMapper::lock(buffer_handle_t handle, function in class:android::GraphicBufferMapper 74 err = mAllocMod->lock(mAllocMod, handle, usage, 78 LOGW_IF(err, "lock(...) failed %d (%s)", err, strerror(-err));
|
/frameworks/base/media/libmedia/ |
mediametadataretriever.cpp | 37 Mutex::Autolock lock(sServiceLock); 161 Mutex::Autolock lock(MediaMetadataRetriever::sServiceLock); 168 Mutex::Autolock lock(sServiceLock);
|
/frameworks/base/services/input/ |
SpriteController.cpp | 115 { // acquire lock 126 } // release lock 201 status_t status = surface->lock(&surfaceInfo); 325 if (surfaceChanged) { // acquire lock 337 } // release lock 339 // Clear the sprite update vector outside the lock. It is very important that 340 // we do not clear sprite references inside the lock since we could be releasing 342 // sprite being deleted and the lock being reacquired by the sprite destructor 350 { // acquire lock 355 } // release lock [all...] |
/libcore/luni/src/main/native/ |
AsynchronousSocketCloseMonitor.cpp | 61 ScopedPthreadMutexLock lock(&blockedThreadListMutex); 71 ScopedPthreadMutexLock lock(&blockedThreadListMutex); 85 ScopedPthreadMutexLock lock(&blockedThreadListMutex);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
mman.h | 63 # define MAP_LOCKED 0x02000 /* Lock the mapping. */ 75 #define MCL_CURRENT 1 /* Lock all currently mapped pages. */ 76 #define MCL_FUTURE 2 /* Lock all additions to address
|
/system/core/libcutils/ |
atomic-android-sh.c | 124 pthread_mutex_t* lock = SWAP_LOCK(addr); local 126 pthread_mutex_lock(lock); 134 pthread_mutex_unlock(lock);
|
/system/media/wilhelm/src/itf/ |
IMIDIMuteSolo.c | 116 // const, so no lock needed 154 // const, no lock needed 196 // const, no lock needed
|
/external/chromium/base/ |
observer_list_threadsafe.h | 96 base::AutoLock lock(list_lock_); 115 base::AutoLock lock(list_lock_); 168 base::AutoLock lock(list_lock_); 190 base::AutoLock lock(list_lock_); 212 base::AutoLock lock(list_lock_); 228 base::Lock list_lock_; // Protects the observer_lists_.
|