Home
last modified time | relevance | path

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

1234567

/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.cpp32 void Unlock() __attribute__((unlock_function));
113 sls_mw.mu.Unlock(); in sls_fun_0()
119 sls_mu.Unlock(); in sls_fun_2()
125 sls_mu.Unlock(); in sls_fun_3()
131 sls_mu2.Unlock(); in sls_fun_4()
137 sls_mu.Unlock(); in sls_fun_5()
143 sls_mu.Unlock(); in sls_fun_6()
149 sls_mu2.Unlock(); in sls_fun_7()
150 sls_mu.Unlock(); in sls_fun_7()
156 sls_mu.Unlock(); in sls_fun_8()
[all …]
/external/valgrind/unittest/
Ddeadlock_unittest.cc149 mu.Unlock(); in ThreadId()
167 mu2.Unlock(); in Worker1()
168 mu1.Unlock(); in Worker1()
174 mu1.Unlock(); in Worker2()
175 mu2.Unlock(); in Worker2()
191 mu2.Unlock(); mu1.Unlock(); in Worker1()
196 mu3.Unlock(); mu2.Unlock(); in Worker2()
201 mu4.Unlock(); mu3.Unlock(); in Worker3()
206 mu1.Unlock(); mu4.Unlock(); in Worker4()
Ddemo_tests.cc81 MU1.Lock(); CHECK(GLOB >= 0); MU1.Unlock(); in Worker()
85 MU2.Lock(); CHECK(GLOB >= 0); MU2.Unlock(); in Worker()
89 MU1.Lock(); CHECK(GLOB >= 0); MU1.Unlock(); in Worker()
93 MU1.Lock(); GLOB++; MU1.Unlock(); in Worker()
118 void Worker2() { MU.Lock(); GLOB=1; MU.Unlock();} in Worker2()
139 MU.Lock(); CHECK(STR->length() >= 4); MU.Unlock(); in Worker1()
149 MU.Lock(); CHECK(STR->length() >= 4); MU.Unlock(); in Worker3()
154 MU.Lock(); *STR += " + a very very long string"; MU.Unlock(); in Worker4()
186 void Worker1() { MU1.Lock(); MU2.Lock(); GLOB=1; MU2.Unlock(); MU1.Unlock(); } in Worker1()
187 void Worker2() { MU1.Lock(); GLOB=2; MU1.Unlock(); } in Worker2()
[all …]
Dracecheck_unittest.cc142 MU.Unlock(); in Waker()
153 MU.Unlock(); in Waiter()
189 MU.Unlock(); // calls ANNOTATE_CONDVAR_SIGNAL; in Waker()
197 MU.Unlock(); // Waker is done! in Waiter()
270 MU.Unlock(); in Waker()
278 MU.Unlock(); in Waiter()
320 MU.Unlock(); in Waker()
334 MU.Unlock(); in Waiter()
370 MU.Unlock(); // calls ANNOTATE_CONDVAR_SIGNAL; in Signaller()
379 MU.Unlock(); // Signaller is done! in Waiter()
[all …]
Dthread_wrappers_win.h86 void Unlock() { in Unlock() function
98 void ReaderUnlock() { Unlock(); } in ReaderUnlock()
115 Unlock(); in WaitLoop()
127 Unlock(); in WaitLoopWithTimeout()
156 mu->Unlock(); in Wait()
170 mu->Unlock(); in WaitWithTimeout()
Dthread_wrappers.h119 mu_.Unlock(); in Put()
129 mu_.Unlock(); in Get()
139 mu_.Unlock(); in TryGet()
289 mu_->Unlock(); in ~MutexLock()
306 mu_.Unlock(); in Wait()
Dthread_wrappers_pthread.h162 void Unlock() { in Unlock() function
171 void ReaderUnlock() { Unlock(); } in ReaderUnlock()
246 void Unlock() { CHECK(0 == pthread_rwlock_unlock(&mu_)); } in Unlock() function
284 mu_->Unlock(); in ~WriterLockScoped()
302 void Unlock() { in Unlock() function
324 void Unlock() { in Unlock() function
/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/main/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.cpp67 void Unlock() in Unlock() function in Mutex
128 void Unlock() in Unlock() function in Mutex
280 m_mutex.Unlock(); in get()
288 m_mutex.Unlock(); in post_increment()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DSDL_syscdrom.c132 Unlock (); in CompletionProc()
150 Unlock (); in CompletionProc()
339 Unlock (); in SDL_SYS_CDStatus()
385 Unlock(); in SDL_SYS_CDPlay()
401 Unlock (); in SDL_SYS_CDPause()
407 Unlock (); in SDL_SYS_CDPause()
423 Unlock (); in SDL_SYS_CDResume()
429 Unlock (); in SDL_SYS_CDResume()
445 Unlock (); in SDL_SYS_CDStop()
450 Unlock (); in SDL_SYS_CDStop()
[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.h153 inline void Unlock(); // Release a lock acquired via Lock()
164 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock() in WriterUnlock()
201 void Mutex::Unlock() { assert(mutex_++ == -1); } in Unlock() function
213 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); } in Unlock() function
219 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
233 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_rwlock_unlock); } in Unlock() function
255 void Mutex::Unlock() { CERES_SAFE_PTHREAD(pthread_mutex_unlock); } in Unlock() function
261 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
280 ~CeresMutexLock() { mu_->Unlock(); } in ~CeresMutexLock()
/external/chromium/sdch/open-vcdiff/src/
Dmutex.h147 inline void Unlock(); // Release a lock acquired via Lock()
158 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock() in WriterUnlock()
193 void Mutex::Unlock() { assert(mutex_++ == -1); } in Unlock() function
205 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); } in Unlock() function
211 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
226 void Mutex::Unlock() { SAFE_PTHREAD(pthread_rwlock_unlock); } in Unlock() function
249 void Mutex::Unlock() { SAFE_PTHREAD(pthread_mutex_unlock); } in Unlock() function
255 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
267 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
/external/open-vcdiff/gflags/src/
Dmutex.h173 inline void Unlock(); // Release a lock acquired via Lock()
184 inline void WriterUnlock() { Unlock(); } // Release a lock from WriterLock() in WriterUnlock()
221 void Mutex::Unlock() { assert(mutex_++ == -1); } in Unlock() function
240 void Mutex::Unlock() { if (is_safe_) LeaveCriticalSection(&mutex_); } in Unlock() function
246 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
264 void Mutex::Unlock() { SAFE_PTHREAD(pthread_rwlock_unlock); } in Unlock() function
289 void Mutex::Unlock() { SAFE_PTHREAD(pthread_mutex_unlock); } in Unlock() function
295 void Mutex::ReaderUnlock() { Unlock(); } in ReaderUnlock()
307 ~MutexLock() { mu_->Unlock(); } in ~MutexLock()
/external/webkit/Source/WebCore/platform/haiku/
DClipboardHaiku.cpp65 be_clipboard->Unlock(); in clearData()
74 be_clipboard->Unlock(); in clearAllData()
90 be_clipboard->Unlock(); in getData()
111 be_clipboard->Unlock(); in setData()
134 be_clipboard->Unlock(); in types()
210 be_clipboard->Unlock(); in hasData()
/external/chromium/chrome/browser/importer/
Dfirefox_profile_lock_unittest.cc28 lock1.Unlock(); in TEST_F()
50 lock->Unlock(); in TEST_F()
62 lock->Unlock(); in TEST_F()
90 lock->Unlock(); in TEST_F()
114 lock1->Unlock(); in TEST_F()
119 lock2->Unlock(); in TEST_F()
/external/v8/test/cctest/
Dtest-lock.cc20 CHECK_EQ(0, mutex->Unlock()); // can unlock with the right token in TEST()
28 CHECK_EQ(0, mutex->Unlock()); in TEST()
36 CHECK_EQ(0, mutex->Unlock()); in TEST()
38 CHECK_EQ(0, mutex->Unlock()); in TEST()
/external/webkit/Source/JavaScriptCore/wtf/
DTCSpinLock.h94 inline void Unlock() { in Unlock() function
215 inline void Unlock() { in Unlock() function
253 inline void Unlock() { in Unlock() function
260 Unlock(); in IsHeld()
277 inline ~TCMalloc_SpinLockHolder() { lock_->Unlock(); } in ~TCMalloc_SpinLockHolder()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h39 void Unlock() { in Unlock() function
75 void Unlock();
91 mu_->Unlock(); in ~GenericScopedLock()
/external/chromium/net/disk_cache/
Dfile_lock.h34 Unlock(); in ~FileLock()
38 virtual void Unlock();
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/
DSDL_BWin.h59 Unlock(); in SDL_BWin()
75 Unlock(); in ~SDL_BWin()
148 Unlock(); in CreateView()
190 Unlock(); in EndDraw()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.h45 void Unlock();
72 void Unlock(MutexType t);

1234567