Searched refs:lock (Results 251 - 275 of 1392) sorted by relevance

<<11121314151617181920>>

/external/lldb/source/Core/
H A DModuleChild.cpp39 return m_module_wp.lock();
/external/mesa3d/include/GL/internal/
H A Dsarea.h84 drmLock lock; member in struct:_XF86DRISAREA
85 /** \todo Use readers/writer lock for drawable_lock */
/external/valgrind/main/helgrind/tests/
H A Dtc14_laog_dinphils.stderr.exp11 Thread #x: lock order "0x........ before 0x........" violated
13 Observed (incorrect) order is: acquisition of lock at 0x........
19 followed by a later acquisition of lock at 0x........
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
H A DMonitorContendedEnterAndEnteredDebuggee.java29 static Object lock = new MonitorWaitMockMonitor(); field in class:MonitorContendedEnterAndEnteredDebuggee
40 synchronized (lock) {
47 // wait and hold the lock until the second thread blocks
50 logWriter.println("main thread: Waiting for second thread to attempt to lock a monitor");
68 synchronized (lock) {
70 logWriter.println("--> BlockedThread: get lock");
/external/chromium_org/cc/test/
H A Dtest_shared_bitmap_manager.cc23 base::AutoLock lock(lock_);
35 base::AutoLock lock(lock_);
44 base::AutoLock lock(lock_);
/external/chromium_org/chrome/browser/sync/glue/
H A Dpassword_model_worker.cc24 base::AutoLock lock(password_store_lock_);
36 base::AutoLock lock(password_store_lock_);
73 base::AutoLock lock(password_store_lock_);
/external/chromium_org/content/browser/
H A Dmach_broker_mac_unittest.cc7 #include "base/synchronization/lock.h"
16 base::AutoLock lock(broker_.GetLock());
27 base::AutoLock lock(broker_.GetLock());
37 base::AutoLock lock(broker_.GetLock());
/external/chromium_org/content/child/
H A Dquota_message_filter.cc25 base::AutoLock lock(request_id_map_lock_);
31 base::AutoLock lock(request_id_map_lock_);
51 base::AutoLock lock(request_id_map_lock_);
/external/chromium_org/mojo/system/
H A Dcore_test_base.cc42 lock().AssertAcquired();
51 lock().AssertAcquired();
69 lock().AssertAcquired();
87 lock().AssertAcquired();
96 lock().AssertAcquired();
103 lock().AssertAcquired();
111 lock().AssertAcquired();
120 lock().AssertAcquired();
127 lock().AssertAcquired();
137 lock()
[all...]
/external/chromium_org/net/base/
H A Dopenssl_private_key_store_memory.cc13 #include "base/synchronization/lock.h"
31 base::AutoLock lock(lock_);
40 base::AutoLock lock(lock_);
46 base::AutoLock lock(lock_);
/external/chromium_org/sandbox/win/src/
H A Dwin_utils.h23 // Automatically acquires and releases a lock when the object is
27 // Acquires the lock.
28 explicit AutoLock(CRITICAL_SECTION *lock) : lock_(lock) { argument
29 ::EnterCriticalSection(lock);
32 // Releases the lock;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
H A DImageDecodingStore.cpp66 MutexLocker lock(m_mutex);
82 MutexLocker lock(m_mutex);
101 MutexLocker lock(m_mutex);
110 MutexLocker lock(m_mutex);
120 // outside of the lock.
132 MutexLocker lock(m_mutex);
147 MutexLocker lock(m_mutex);
155 MutexLocker lock(m_mutex);
163 MutexLocker lock(m_mutex);
171 MutexLocker lock(m_mute
[all...]
/external/chromium_org/third_party/WebKit/Source/web/tests/
H A DSpinLockTest.cpp47 static int lock = 0; member in namespace:__anon11404
72 spinLockLock(&lock);
74 spinLockUnlock(&lock);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dtype_profiler_map.cc88 SpinLockHolder lock(&g_type_profiler_lock);
95 SpinLockHolder lock(&g_type_profiler_lock);
103 SpinLockHolder lock(&g_type_profiler_lock);
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dssrc_database.cc56 CriticalSectionScoped lock(_critSect);
72 CriticalSectionScoped lock(_critSect);
80 CriticalSectionScoped lock(_critSect);
/external/chromium_org/ui/compositor/
H A Dcompositor_vsync_manager.cc19 base::AutoLock lock(vsync_parameters_lock_);
30 base::AutoLock lock(vsync_parameters_lock_);
43 base::AutoLock lock(vsync_parameters_lock_);
/external/chromium_org/ui/keyboard/resources/
H A Dapi_adapter.js37 * Check the lock state of virtual keyboard.
46 * @param {boolean} lock Whether or not to lock the virtual keyboard.
48 function lockKeyboard(lock) {
49 keyboardLocked_ = lock;
50 chrome.virtualKeyboardPrivate.lockKeyboard(lock);
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dlock.pass.cpp14 // shared_ptr<T> lock() const;
34 std::shared_ptr<A> sp = wp.lock();
42 std::shared_ptr<A> sp = wp.lock();
52 std::shared_ptr<A> sp = wp.lock();
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/
H A Dfutex-contention.py21 lock_waits = {} # long-lived stats on (tid,lock) blockage elapsed time
46 for (tid, lock) in lock_waits:
47 min, max, avg, count = lock_waits[tid, lock]
48 print "%s[%d] lock %x contended %d times, %d avg ns" % \
49 (process_names[tid], tid, lock, count, avg)
/external/lldb/test/api/multithreaded/
H A Dcommon.h34 std::lock_guard<std::mutex> lock(m_mutex);
43 std::unique_lock<std::mutex> lock(m_mutex);
51 m_condition.wait_for(lock, std::chrono::seconds(1));
/external/valgrind/main/helgrind/
H A Dhg_lock_n_thread.h50 encode lock-sets in libhb's history records (Thr_n_RCEC). */
103 /* Stores information about a lock's current state. These are
108 'normal' collection of Locks, which can come and go. When the lock
117 LK_rdwr /* reader-writer lock */
129 /* Place where lock first came to the attention of Helgrind. */
131 /* If the lock is held, place where the lock most recently made
137 Addr guestaddr; /* Guest address of lock */
138 LockKind kind; /* what kind of lock this is */
141 WordBag* heldBy; /* bag of threads that hold this lock */
[all...]
/external/fio/
H A Dsmalloc.c37 struct fio_mutex *lock; /* protects this pool */ member in struct:pool
56 static struct fio_rwlock *lock; variable in typeref:struct:fio_rwlock
60 fio_mutex_down(pool->lock);
65 fio_mutex_up(pool->lock);
70 fio_rwlock_read(lock);
75 fio_rwlock_unlock(lock);
80 fio_rwlock_write(lock);
85 fio_rwlock_unlock(lock);
210 pool->lock = fio_mutex_init(FIO_MUTEX_UNLOCKED);
211 if (!pool->lock)
[all...]
/external/chromium_org/base/third_party/dynamic_annotations/
H A Ddynamic_annotations.h109 MutexLock lock(&mu_);
115 MutexLock lock(&mu_);
125 and the lock at address "lock" is held. */
126 #define ANNOTATE_CONDVAR_LOCK_WAIT(cv, lock) \
127 DYNAMIC_ANNOTATIONS_NAME(AnnotateCondVarWait)(__FILE__, __LINE__, cv, lock)
130 w/o lock. */
310 The "lock" argument is a pointer to the lock object. */
312 /* Report that a lock ha
[all...]
/external/chromium_org/sandbox/mac/
H A Dbootstrap_sandbox.cc55 base::AutoLock lock(lock_);
61 base::AutoLock lock(lock_);
73 // base::LaunchProcess handles both fork+exec, and holding the lock for the
79 base::AutoLock lock(lock_);
96 base::AutoLock lock(lock_);
104 base::AutoLock lock(lock_);
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_os2.h190 * released the lock. So, we temporarily record the cvars.
371 #define _MD_FREE_LOCK(lock) (DosCloseEventSem(((PRAMSEM)(&((lock)->mutex)))->hevSem))
372 #define _MD_LOCK(lock) (SemRequest486(&((lock)->mutex), -1))
373 #define _MD_TEST_AND_LOCK(lock) (SemRequest486(&((lock)->mutex), -1),0)
374 #define _MD_UNLOCK(lock) \
376 if (0 != (lock)->notified.length) { \
377 md_UnlockAndPostNotifies((lock), NUL
[all...]

Completed in 606 milliseconds

<<11121314151617181920>>