Searched refs:lock (Results 126 - 150 of 1392) sorted by relevance

1234567891011>>

/external/libcxx/test/thread/thread.condition/thread.condition.condvarany/
H A Ddestructor.pass.cpp29 m.lock();
38 m.lock();
50 m.lock();
H A Dwait.exception.pass.cpp21 void lock() function in struct:Mutex
47 mut.lock();
H A Dwait_for.exception.pass.cpp21 void lock() function in struct:Mutex
47 mut.lock();
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.mutex.requirements.mutex/thread.mutex.recursive/
H A Dlock.pass.cpp14 // void lock();
34 m.lock();
36 m.lock();
45 m.lock();
/external/libcxx/test/thread/thread.mutex/thread.mutex.requirements/thread.timedmutex.requirements/thread.timedmutex.recursive/
H A Dlock.pass.cpp14 // void lock();
34 m.lock();
36 m.lock();
45 m.lock();
/external/lldb/test/api/multithreaded/
H A Dtest_breakpoint_callback.cpp25 lock_guard<mutex> lock(g_mutex);
43 unique_lock<mutex> lock(g_mutex);
44 g_condition.wait_for(lock, chrono::seconds(5));
/external/skia/tests/
H A DDiscardableMemoryPoolTest.cpp22 REPORTER_ASSERT(reporter, !dm1->lock());
30 REPORTER_ASSERT(reporter, dm2->lock());
33 REPORTER_ASSERT(reporter, !dm2->lock());
/external/chromium_org/third_party/webrtc/video/
H A Dreceive_statistics_proxy.cc40 CriticalSectionScoped lock(crit_.get());
62 CriticalSectionScoped lock(crit_.get());
70 CriticalSectionScoped lock(crit_.get());
78 CriticalSectionScoped lock(crit_.get());
86 CriticalSectionScoped lock(crit_.get());
94 CriticalSectionScoped lock(crit_.get());
/external/valgrind/main/drd/tests/
H A Dtc10_rec_lock.stderr.exp2 before lock #1
3 before lock #2
4 before lock #3
/external/chromium_org/mojo/examples/pepper_container_app/
H A Dppb_core_thunk.cc18 ppapi::ProxyAutoLock lock; local
23 ppapi::ProxyAutoLock lock; local
/external/chromium_org/ppapi/utility/threading/
H A Dlock.h16 /// A simple wrapper around a platform-specific lock. See also AutoLock.
19 /// Creates a lock in the "not held" state.
22 /// Destroys the lock.
25 /// Acquires the lock, blocking if it's already held by a different thread.
26 /// The lock must not already be held on the current thread (i.e. recursive
30 /// acquire and release the lock.
33 /// Releases the lock. This must be paired with a call to Acquire().
50 /// A helper class that scopes holding a lock.
56 /// pp::AutoLock lock(lock_);
57 /// ...do something with the lock hel
66 AutoLock(Lock& lock) argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
H A Dlock.h42 // If the lock is not held, take it and return true. If the lock is already
46 // Take the lock, blocking until it is available if necessary.
49 // Release the lock. This must only be called by the lock's holder: after
61 explicit AutoLock(Lock& lock) : lock_(lock) { argument
/external/elfutils/0.153/libelf/
H A Delf_getarhdr.c82 rwlock_wrlock (parent->lock);
84 rwlock_unlock (parent->lock);
H A Delf_rand.c70 rwlock_wrlock (elf->lock);
83 rwlock_unlock (elf->lock);
H A Delf_rawfile.c82 rwlock_rdlock (elf->lock);
87 rwlock_unlock (elf->lock);
/external/fio/
H A Dmutex.h10 pthread_mutex_t lock; member in struct:fio_mutex
18 pthread_rwlock_t lock; member in struct:fio_rwlock
/external/sfntly/cpp/src/sfntly/port/
H A Dlock.h42 // If the lock is not held, take it and return true. If the lock is already
46 // Take the lock, blocking until it is available if necessary.
49 // Release the lock. This must only be called by the lock's holder: after
61 explicit AutoLock(Lock& lock) : lock_(lock) { argument
/external/stlport/src/
H A Dcxa.c87 static pthread_mutex_t lock = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; variable
91 static pthread_mutex_t lock =
97 static pthread_mutex_t lock = variable
101 static pthread_mutex_t lock = PTHREAD_MUTEX_RECURSIVE_INITIALIZER_NP; variable
117 pthread_mutex_lock( &lock );
149 pthread_mutex_unlock( &lock );
160 * Note, that original __cxa_finalize don't use lock, but use __exit_funcs
168 pthread_mutex_lock( &lock );
189 pthread_mutex_unlock( &lock );
/external/valgrind/main/helgrind/tests/
H A Dtc13_laog1.stderr.exp8 Thread #x: lock order "0x........ before 0x........" violated
10 Observed (incorrect) order is: acquisition of lock at 0x........
14 followed by a later acquisition of lock at 0x........
18 Required order was established by acquisition of lock at 0x........
22 followed by a later acquisition of lock at 0x........
/external/chromium_org/cc/test/
H A Dtest_web_graphics_context_3d.cc77 base::AutoLock lock(g_shared_namespace_lock.Get());
82 base::AutoLock lock(g_shared_namespace_lock.Get());
179 base::AutoLock lock(namespace_->lock);
204 base::AutoLock lock(namespace_->lock);
264 base::AutoLock lock(namespace_->lock);
321 base::AutoLock lock(namespace_->lock);
[all...]
/external/bluetooth/bluedroid/osi/src/
H A Dfixed_queue.c32 pthread_mutex_t lock; member in struct:fixed_queue_t
53 pthread_mutex_init(&ret->lock, NULL);
80 pthread_mutex_destroy(&queue->lock);
90 pthread_mutex_lock(&queue->lock);
92 pthread_mutex_unlock(&queue->lock);
102 pthread_mutex_lock(&queue->lock);
105 pthread_mutex_unlock(&queue->lock);
119 pthread_mutex_lock(&queue->lock);
121 pthread_mutex_unlock(&queue->lock);
133 pthread_mutex_lock(&queue->lock);
[all...]
/external/chromium_org/base/threading/
H A Dwatchdog.cc25 Lock lock; member in struct:base::__anon2565::StaticData
71 AutoLock lock(lock_);
80 AutoLock lock(lock_);
95 AutoLock lock(lock_);
106 AutoLock lock(lock_);
124 AutoLock lock(watchdog_->lock_);
142 AutoLock static_lock(static_data->lock);
156 AutoUnlock lock(watchdog_->lock_);
163 AutoLock static_lock(static_data->lock);
179 AutoLock lock(static_dat
[all...]
/external/guava/guava/src/com/google/common/util/concurrent/
H A DAbstractScheduledService.java49 * late. Also, all life cycle methods are executed with a lock held, so subclasses can safely
161 // This lock protects the task so we can ensure that none of the template methods (startUp,
163 private final ReentrantLock lock = new ReentrantLock();
167 lock.lock();
180 lock.unlock();
189 lock.lock();
198 lock.unlock();
209 lock
327 private final ReentrantLock lock = new ReentrantLock(); field in class:AbstractScheduledService.CustomScheduler.ReschedulableCallable
[all...]
/external/qemu/util/
H A Dqemu-thread-posix.c43 err = pthread_mutex_init(&mutex->lock, &mutexattr);
53 err = pthread_mutex_destroy(&mutex->lock);
62 err = pthread_mutex_lock(&mutex->lock);
69 return pthread_mutex_trylock(&mutex->lock);
76 err = pthread_mutex_unlock(&mutex->lock);
121 err = pthread_cond_wait(&cond->cond, &mutex->lock);
131 rc = pthread_mutex_init(&sem->lock, NULL);
160 rc = pthread_mutex_destroy(&sem->lock);
177 pthread_mutex_lock(&sem->lock);
184 pthread_mutex_unlock(&sem->lock);
[all...]
/external/bison/lib/glthread/
H A Dlock.h30 Taking the lock: gl_lock_lock (name);
31 Releasing the lock: gl_lock_unlock (name);
35 Taking the lock: err = glthread_lock_lock (&name);
36 Releasing the lock: err = glthread_lock_unlock (&name);
44 Taking the lock: gl_rwlock_rdlock (name);
46 Releasing the lock: gl_rwlock_unlock (name);
50 Taking the lock: err = glthread_rwlock_rdlock (&name);
52 Releasing the lock: err = glthread_rwlock_unlock (&name);
60 Taking the lock: gl_recursive_lock_lock (name);
61 Releasing the lock
238 pthread_mutex_t lock; /* protects the remaining fields */ member in struct:__anon323
643 CRITICAL_SECTION lock; member in struct:__anon329
682 CRITICAL_SECTION lock; /* protects the remaining fields */ member in struct:__anon331
721 CRITICAL_SECTION lock; member in struct:__anon332
749 CRITICAL_SECTION lock; member in struct:__anon333
[all...]

Completed in 708 milliseconds

1234567891011>>