Home
last modified time | relevance | path

Searched refs:Unlock (Results 1 – 25 of 86) sorted by relevance

1234

/external/clang/test/PCH/
Dthread-safety-attrs.cpp37 void Unlock() __attribute__((unlock_function));
120 sls_mw.mu.Unlock(); in sls_fun_0()
126 sls_mu.Unlock(); in sls_fun_2()
132 sls_mu.Unlock(); in sls_fun_3()
138 sls_mu2.Unlock(); in sls_fun_4()
144 sls_mu.Unlock(); in sls_fun_5()
150 sls_mu.Unlock(); in sls_fun_6()
156 sls_mu2.Unlock(); in sls_fun_7()
157 sls_mu.Unlock(); in sls_fun_7()
163 sls_mu.Unlock(); in sls_fun_8()
[all …]
/external/clang/test/SemaCXX/
Dwarn-thread-safety-analysis.cpp34 void Unlock() __attribute__((unlock_function));
161 sls_mw.mu.Unlock(); in sls_fun_0()
167 sls_mu.Unlock(); in sls_fun_2()
173 sls_mu.Unlock(); in sls_fun_3()
179 sls_mu2.Unlock(); in sls_fun_4()
185 sls_mu.Unlock(); in sls_fun_5()
191 sls_mu.Unlock(); in sls_fun_6()
197 sls_mu2.Unlock(); in sls_fun_7()
198 sls_mu.Unlock(); in sls_fun_7()
204 sls_mu.Unlock(); in sls_fun_8()
[all …]
Dwarn-thread-safety-negative.cpp34 void Unlock() __attribute__((unlock_function));
57 mu.Unlock(); in baz()
71 mu.Unlock(); in foo()
81 mu.Unlock(); in baz()
92 mu.Unlock(); in test2()
99 mu.Unlock(); in test3()
Dwarn-thread-safety-verbose.cpp31 void Unlock() __attribute__((unlock_function));
71 mu.Unlock(); in test5()
77 mu.Unlock(); in test6()
83 mu.Unlock(); in test7()
/external/v8/src/base/platform/
Dmutex-unittest.cc54 mutex1.Unlock(); in TEST()
55 mutex2.Unlock(); in TEST()
56 mutex3.Unlock(); in TEST()
61 mutex3.Unlock(); in TEST()
62 mutex2.Unlock(); in TEST()
63 mutex1.Unlock(); in TEST()
75 recursive_mutex1.Unlock(); in TEST()
76 recursive_mutex1.Unlock(); in TEST()
77 recursive_mutex2.Unlock(); in TEST()
78 recursive_mutex2.Unlock(); in TEST()
[all …]
Dmutex.h49 void Unlock();
148 void Unlock();
205 ~LockGuard() { mutex_->Unlock(); } in ~LockGuard()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mutex.cc28 t.Unlock(m); in TEST()
31 t.Unlock(m); in TEST()
35 t.Unlock(m); in TEST()
46 t.Unlock(m); in TEST()
49 t.Unlock(m); in TEST()
53 t.Unlock(m); in TEST()
64 t.Unlock(m); in TEST()
67 t.Unlock(m); in TEST()
71 t.Unlock(m); in TEST()
81 t.Unlock(m); in TEST()
[all …]
/external/valgrind/drd/tests/
Dtsan_unittest.cpp149 printf_mu.Unlock(); \
382 MU.Unlock(); in Waker()
393 MU.Unlock(); in Waiter()
429 MU.Unlock(); // calls ANNOTATE_CONDVAR_SIGNAL; in Waker()
437 MU.Unlock(); // Waker is done! in Waiter()
510 MU.Unlock(); in Waker()
522 MU.Unlock(); in Waiter()
562 MU.Unlock(); in Waker()
576 MU.Unlock(); in Waiter()
612 MU.Unlock(); // calls ANNOTATE_CONDVAR_SIGNAL; in Signaller()
[all …]
Dtsan_thread_wrappers_pthread.h124 void Unlock() { in Unlock() function
147 void Unlock() { in Unlock() function
204 void Unlock() { in Unlock() function
212 void ReaderUnlock() { Unlock(); } in ReaderUnlock()
268 mu_->Unlock(); in ~MutexLock()
305 void Unlock() { CHECK(0 == pthread_rwlock_unlock(&mu_)); } in Unlock() function
332 mu_->Unlock(); in ~WriterLockScoped()
388 mu_.Unlock(); in Put()
398 mu_.Unlock(); in Get()
408 mu_.Unlock(); in TryGet()
[all …]
Dannotate_smart_pointer.cpp68 void Unlock() in Unlock() function in Mutex
129 void Unlock() in Unlock() function in Mutex
281 m_mutex.Unlock(); in get()
289 m_mutex.Unlock(); in post_increment()
/external/sfntly/cpp/src/test/
Dlock_test.cc35 lock_->Unlock(); in ThreadMain()
41 lock_->Unlock(); in ThreadMain()
47 lock_->Unlock(); in ThreadMain()
72 lock.Unlock(); in BasicLockTest()
78 lock.Unlock(); in BasicLockTest()
84 lock.Unlock(); in BasicLockTest()
91 lock.Unlock(); in BasicLockTest()
111 lock_->Unlock(); in ThreadMain()
141 lock.Unlock(); in TryLockTest()
157 lock.Unlock(); in TryLockTest()
[all …]
/external/regex-re2/util/
Dmutex.h59 inline void Unlock(); // Release a lock acquired via Lock()
68 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock() in WriterUnlock()
98 void Mutex::Unlock() { assert(mutex_++ == -1); } in Unlock() function
111 void Mutex::Unlock() { SAFE_PTHREAD(pthread_rwlock_unlock(&mutex_)); } in Unlock() function
126 void Mutex::Unlock() { SAFE_PTHREAD(pthread_mutex_unlock(&mutex_)); } in Unlock() function
129 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
137 void Mutex::Unlock() { LeaveCriticalSection(&mutex_); } in Unlock() function
140 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
152 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
205 name.Unlock()
/external/ceres-solver/internal/ceres/
Dmutex.h159 inline void Unlock(); // Release a lock acquired via Lock()
170 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock() in WriterUnlock()
207 void Mutex::Unlock() { assert(mutex_++ == -1); } in Unlock() function
219 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); } in Unlock() function
225 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
239 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_rwlock_unlock); } in Unlock() function
261 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_mutex_unlock); } in Unlock() function
267 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
287 ~CeresMutexLock() { mu_->Unlock(); } in ~CeresMutexLock()
/external/lldb/source/Host/common/
DMutex.cpp135 Unlock(); in ~Locker()
149 Unlock (); in Lock()
156 Mutex::Locker::Unlock () in Unlock() function in Mutex::Locker
160 m_mutex_ptr->Unlock (); in Unlock()
172 Unlock (); in TryLock()
325 Mutex::Unlock() in Unlock() function in Mutex
346 TrackingMutex::Unlock () in Unlock() function in TrackingMutex
354 return Mutex::Unlock(); in Unlock()
368 LoggingMutex::Unlock () in Unlock() function in LoggingMutex
371 int x = Mutex::Unlock(); in Unlock()
/external/lldb/tools/debugserver/source/
DPThreadMutex.h44 void Unlock();
71 void Unlock()
79 Unlock();
87 Unlock();
123 err = Unlock(); in ~PThreadMutex()
139 int Unlock() in Unlock() function
/external/lldb/include/lldb/Host/
DMutex.h140 Unlock ();
233 Unlock();
268 Unlock ();
300 Unlock ();
DProcessRunLock.h114 Unlock(); in ~ProcessRunLocker()
126 Unlock(); in TryLock()
141 Unlock () in Unlock() function
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_sync_test.cc61 s1->mtx.Unlock(); in TEST()
82 s1->mtx.Unlock(); in TEST()
84 s2->mtx.Unlock(); in TEST()
103 s1->mtx.Unlock(); in TEST()
107 s2->mtx.Unlock(); in TEST()
118 s->mtx.Unlock(); in TEST()
/external/drm_hwcomposer/
Dworker.cpp77 int Worker::Unlock() { in Unlock() function in android::Worker
106 ret = Unlock(); in Signal()
123 ret = Unlock(); in Exit()
158 ret = worker->Unlock(); in InternalRoutine()
Dvirtualcompositorworker.cpp86 Unlock(); in QueueComposite()
93 Unlock(); in QueueComposite()
114 ret = Unlock(); in Routine()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h39 void Unlock() { in Unlock() function
85 void Unlock();
111 void Unlock() { in Unlock() function
183 mu_->Unlock(); in ~GenericScopedLock()
/external/sfntly/cpp/src/sfntly/port/
Dlock.h51 void Unlock();
66 lock_.Unlock(); in ~AutoLock()
Dlock.cc44 void Lock::Unlock() { in Unlock() function in sfntly::Lock
66 void Lock::Unlock() {
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.h46 void Unlock();
73 void Unlock(MutexType t);
Dtsan_rtl_mutex.cc81 s->mtx.Unlock(); in MutexCreate()
118 s->mtx.Unlock(); in MutexDestroy()
136 s->mtx.Unlock(); in MutexDestroy()
178 s->mtx.Unlock(); in MutexLock()
220 s->mtx.Unlock(); in MutexUnlock()
287 s->mtx.Unlock(); in MutexReadUnlock()
335 s->mtx.Unlock(); in MutexReadOrWriteUnlock()
350 s->mtx.Unlock(); in MutexRepair()
389 s->mtx.Unlock(); in Release()
401 s->mtx.Unlock(); in ReleaseStore()

1234