Home
last modified time | relevance | path

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

123

/llvm-project-15.0.7/clang/test/PCH/
H A Dthread-safety-attrs.cpp126 sls_mu.Unlock(); in sls_fun_2()
132 sls_mu.Unlock(); in sls_fun_3()
144 sls_mu.Unlock(); in sls_fun_5()
150 sls_mu.Unlock(); in sls_fun_6()
157 sls_mu.Unlock(); in sls_fun_7()
173 sls_mu.Unlock(); in sls_fun_9()
187 sls_mu.Unlock(); in sls_fun_good_6()
202 sls_mu.Unlock(); in sls_fun_good_7()
219 sls_mu.Unlock(); in sls_fun_bad_2()
267 sls_mu.Unlock(); in sls_fun_bad_7()
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-thread-safety-analysis.cpp598 mu.Unlock(); in late_bad_1()
958 mu.Unlock(); in func()
996 mu2.Unlock(); in main()
998 mu1.Unlock(); in main()
1148 mu.Unlock(); in main()
1292 mu_.Unlock(); in bar()
2924 mu.Unlock(); in directUnlock()
3345 Unlock(); in test6()
3356 Unlock(); in test7()
4251 void Foo::unlock() { mu1_.Unlock(); mu2_.Unlock(); } in unlock()
[all …]
H A Dwarn-thread-safety-negative.cpp13 void Unlock() UNLOCK_FUNCTION();
41 mu.Unlock(); in baz()
55 mu.Unlock(); in foo()
65 mu.Unlock(); in baz()
76 mu.Unlock(); in test2()
83 mu.Unlock(); in test3()
H A Dwarn-thread-safety-verbose.cpp10 void Unlock() UNLOCK_FUNCTION();
49 mu.Unlock(); in test5()
55 mu.Unlock(); in test6()
61 mu.Unlock(); in test7()
H A Dtemplate-multiple-attr-propagation.cpp7 void Unlock() __attribute__((unlock_function()));
27 a.mu2.Unlock(); in f()
28 a.mu1.Unlock(); in f()
/llvm-project-15.0.7/compiler-rt/lib/tsan/tests/rtl/
H A Dtsan_mutex.cpp27 t.Unlock(m); in TEST_F()
30 t.Unlock(m); in TEST_F()
34 t.Unlock(m); in TEST_F()
45 t.Unlock(m); in TEST_F()
48 t.Unlock(m); in TEST_F()
52 t.Unlock(m); in TEST_F()
63 t.Unlock(m); in TEST_F()
66 t.Unlock(m); in TEST_F()
70 t.Unlock(m); in TEST_F()
80 t.Unlock(m); in TEST_F()
[all …]
H A Dtsan_bench.cpp97 t.Unlock(m); in TEST()
101 m.Unlock(); in TEST()
/llvm-project-15.0.7/lldb/tools/debugserver/source/
H A DPThreadMutex.h42 void Unlock();
56 void Unlock() {
61 ~Locker() { Unlock(); }
67 Unlock();
103 err = Unlock(); in ~PThreadMutex()
113 int Unlock() { return ::pthread_mutex_unlock(&m_mutex); } in Unlock() function
H A DPThreadMutex.cpp40 PThreadMutex::Locker::~Locker() { Unlock(); } in ~Locker()
58 void PThreadMutex::Locker::Unlock() { in Unlock() function in PThreadMutex::Locker
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dmutex_annotations.cpp25 void Unlock() { in Unlock() function in Mutex
38 m.Unlock(); in main()
42 m.Unlock(); in main()
H A Dcustom_mutex.h35 void Unlock() { in Unlock() function
43 Unlock(); in Wait()
87 prof_mu_.Unlock(); in Prof()
H A Dcustom_mutex0.cpp14 mu.Unlock(); in thr()
25 mu.Unlock(); in main()
H A Dcustom_mutex2.cpp13 mu.Unlock(); in thr()
27 mu.Unlock(); in main()
H A Dcustom_mutex1.cpp12 mu.Unlock(); in thr()
16 mu.Unlock(); in thr()
H A Dcustom_mutex4.cpp20 mu1->Unlock(); in main()
27 mu2->Unlock(); in main()
H A Dcustom_mutex5.cpp15 mu1->Unlock(); in main()
23 mu2->Unlock(); in main()
H A Dcustom_mutex3.cpp24 mu.Unlock(); in thr2()
38 mu.Unlock(); in main()
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dwarn-thread-safety-analysis.cpp6 void Unlock() __attribute__((unlock_function()));
25 a.mu2.Unlock(); in f()
27 a.mu1.Unlock(); in f()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DProcessRunLock.h40 ~ProcessRunLocker() { Unlock(); } in ~ProcessRunLocker()
48 Unlock(); in TryLock()
60 void Unlock() { in Unlock() function
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h39 void Unlock() SANITIZER_RELEASE() { in Unlock() function
133 ALWAYS_INLINE void Unlock() { in Unlock() function
225 void Unlock() SANITIZER_RELEASE() { in Unlock() function
226 CheckedMutex::Unlock(); in Unlock()
291 CheckedMutex::Unlock(); in ReadUnlock()
386 ~GenericScopedLock() SANITIZER_RELEASE() { mu_->Unlock(); } in SANITIZER_RELEASE()
426 mu_->Unlock(); in ~GenericScopedRWLock()
H A Dsanitizer_stackdepot.cpp100 void Unlock() SANITIZER_NO_THREAD_SAFETY_ANALYSIS;
187 void CompressThread::Unlock() { mutex_.Unlock(); } in Unlock() function in __sanitizer::__anon00152a2d0111::CompressThread
226 compress_thread.Unlock(); in StackDepotUnlockAll()
H A Dsanitizer_stack_store.h113 void Unlock() SANITIZER_NO_THREAD_SAFETY_ANALYSIS { mtx_.Unlock(); } in Unlock() function
/llvm-project-15.0.7/compiler-rt/lib/tsan/benchmarks/
H A Dvts_many_threads_bench.cpp36 void Unlock() { pthread_mutex_unlock(&m_); } in Unlock() function in Mutex
65 mutexes[(offset + i) % kNumMutexes].Unlock(); in Thread()
/llvm-project-15.0.7/clang/docs/
H A DThreadSafetyAnalysis.rst56 mu.Unlock();
211 mu1.Unlock();
268 void Unlock() RELEASE() { mu.Unlock(); }
277 c.Unlock();
299 mu.Unlock();
305 mu.Unlock();
381 m1.Unlock();
382 m2.Unlock();
441 mu.Unlock();
518 mu.Unlock();
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl.cpp498 ctx->report_mtx.Unlock(); in Finalize()
552 ScopedErrorReportLock::Unlock(); in ForkParentAfter()
553 ctx->report_mtx.Unlock(); in ForkParentAfter()
554 ctx->thread_registry.Unlock(); in ForkParentAfter()
563 ScopedErrorReportLock::Unlock(); in ForkChildAfter()
564 ctx->report_mtx.Unlock(); in ForkChildAfter()
565 ctx->thread_registry.Unlock(); in ForkChildAfter()

123