Home
last modified time | relevance | path

Searched refs:lock_ (Results 1 – 14 of 14) sorted by relevance

/external/sfntly/cpp/src/test/
Dlock_test.cc29 BasicLockTestThread(Lock* lock) : lock_(lock), acquired_(0) {} in BasicLockTestThread()
33 lock_->Acquire(); in ThreadMain()
35 lock_->Unlock(); in ThreadMain()
38 lock_->Acquire(); in ThreadMain()
41 lock_->Unlock(); in ThreadMain()
44 if (lock_->Try()) { in ThreadMain()
47 lock_->Unlock(); in ThreadMain()
55 Lock* lock_; member in sfntly::BasicLockTestThread
106 TryLockTestThread(Lock* lock) : lock_(lock), got_lock_(false) {} in TryLockTestThread()
109 got_lock_ = lock_->Try(); in ThreadMain()
[all …]
/external/sfntly/cpp/src/sfntly/port/
Dlock.h61 explicit AutoLock(Lock& lock) : lock_(lock) { in AutoLock()
62 lock_.Acquire(); in AutoLock()
66 lock_.Unlock(); in ~AutoLock()
70 Lock& lock_;
/external/drm_hwcomposer/
Dworker.cpp41 pthread_mutex_destroy(&lock_); in ~Worker()
51 ret = pthread_mutex_init(&lock_, NULL); in InitWorker()
61 pthread_mutex_destroy(&lock_); in InitWorker()
74 return pthread_mutex_lock(&lock_); in Lock()
78 return pthread_mutex_unlock(&lock_); in Unlock()
135 int ret = pthread_cond_wait(&cond_, &lock_); in WaitForSignalOrExitLocked()
Ddrmdisplaycompositor.cpp259 int ret = pthread_mutex_lock(&lock_); in ~DrmDisplayCompositor()
269 ret = pthread_mutex_unlock(&lock_); in ~DrmDisplayCompositor()
273 pthread_mutex_destroy(&lock_); in ~DrmDisplayCompositor()
280 int ret = pthread_mutex_init(&lock_, NULL); in Init()
287 pthread_mutex_destroy(&lock_); in Init()
293 pthread_mutex_destroy(&lock_); in Init()
330 int ret = pthread_mutex_lock(&lock_); in QueueComposition()
339 pthread_mutex_unlock(&lock_); in QueueComposition()
341 pthread_mutex_lock(&lock_); in QueueComposition()
346 ret = pthread_mutex_unlock(&lock_); in QueueComposition()
[all …]
Dworker.h64 pthread_mutex_t lock_; variable
Ddrmdisplaycompositor.h168 mutable pthread_mutex_t lock_; variable
/external/v8/src/libplatform/
Dtask-queue.cc16 base::LockGuard<base::Mutex> guard(&lock_); in ~TaskQueue()
23 base::LockGuard<base::Mutex> guard(&lock_); in Append()
33 base::LockGuard<base::Mutex> guard(&lock_); in GetNext()
50 base::LockGuard<base::Mutex> guard(&lock_); in Terminate()
Ddefault-platform.cc40 base::LockGuard<base::Mutex> guard(&lock_); in ~DefaultPlatform()
60 base::LockGuard<base::Mutex> guard(&lock_); in SetThreadPoolSize()
71 base::LockGuard<base::Mutex> guard(&lock_); in EnsureInitialized()
83 base::LockGuard<base::Mutex> guard(&lock_); in PumpMessageLoop()
105 base::LockGuard<base::Mutex> guard(&lock_); in CallOnForegroundThread()
Dtask-queue.h36 base::Mutex lock_;
Ddefault-platform.h44 base::Mutex lock_; variable
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp1354 Mutex lock_; member in thread_annot_lock_35_modified::Foo
1355 int a_ GUARDED_BY(lock_);
1358 void Func(Foo* child) LOCKS_EXCLUDED(lock_) { in Func()
1361 lock_.Lock(); in Func()
1371 lock_.Unlock(); in Func()
1374 void bar(int y) EXCLUSIVE_LOCKS_REQUIRED(lock_) { in bar()
1393 Mutex lock_; member in thread_annot_lock_36_modified::Foo
1394 int a_ GUARDED_BY(lock_);
1397 void Func(Foo* child) LOCKS_EXCLUDED(lock_);
1398 void bar(int y) EXCLUSIVE_LOCKS_REQUIRED(lock_);
[all …]
/external/valgrind/
Dglibc-2.34567-NPTL-helgrind.supp135 fun:__lll_*lock_*
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/
Dd3d11_screen.h104 #define SYNCHRONIZED lock_t<maybe_mutex_t<threadsafe> > lock_(mutex)
Dd3d11_context.h126 #define SYNCHRONIZED lock_t<maybe_mutex_t<threadsafe> > lock_(this->mutex)