Home
last modified time | relevance | path

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

123456

/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/valgrind/main/drd/tests/
Dtsan_unittest.cpp149 printf_mu.Unlock(); \
380 MU.Unlock(); in Waker()
391 MU.Unlock(); in Waiter()
427 MU.Unlock(); // calls ANNOTATE_CONDVAR_SIGNAL; in Waker()
435 MU.Unlock(); // Waker is done! in Waiter()
508 MU.Unlock(); in Waker()
520 MU.Unlock(); in Waiter()
560 MU.Unlock(); in Waker()
574 MU.Unlock(); in Waiter()
610 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.12/src/cdrom/macosx/
DSDL_syscdrom.c132 Unlock (); in CompletionProc()
150 Unlock (); in CompletionProc()
330 Unlock (); in SDL_SYS_CDStatus()
376 Unlock(); in SDL_SYS_CDPlay()
392 Unlock (); in SDL_SYS_CDPause()
398 Unlock (); in SDL_SYS_CDPause()
414 Unlock (); in SDL_SYS_CDResume()
420 Unlock (); in SDL_SYS_CDResume()
436 Unlock (); in SDL_SYS_CDStop()
441 Unlock (); in SDL_SYS_CDStop()
[all …]
/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/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()
Dtest-platform-nullos.cc32 CHECK_EQ(0, mutex->Unlock()); in LoopIncrement()
41 CHECK_EQ(0, mutex->Unlock()); in LoopIncrement()
Dtest-platform-linux.cc32 CHECK_EQ(0, mutex->Unlock()); in LoopIncrement()
41 CHECK_EQ(0, mutex->Unlock()); in LoopIncrement()
/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/chromium/net/disk_cache/
Dfile_lock.h34 Unlock(); in ~FileLock()
38 virtual void Unlock();
/external/valgrind/tsan/
Dts_lock.h45 void Unlock() {}; in Unlock() function
54 void Unlock();
68 ~ScopedLock() { lock_->Unlock(); } in ~ScopedLock()
/external/qemu/distrib/sdl-1.2.12/src/video/bwindow/
DSDL_BWin.h58 Unlock(); in SDL_BWin()
74 Unlock(); in ~SDL_BWin()
147 Unlock(); in CreateView()
189 Unlock(); in EndDraw()
DSDL_syswm.cc56 SDL_Win->Unlock(); in BE_GrabInput()
70 SDL_Win->Unlock(); in BE_GrabInput()
/external/chromium/chrome/common/
Dmulti_process_lock_mac.cc17 Unlock(); in ~MultiProcessLockMac()
39 virtual void Unlock() { in Unlock() function in MultiProcessLockMac
Dmulti_process_lock_win.cc17 Unlock(); in ~MultiProcessLockWin()
43 virtual void Unlock() { in Unlock() function in MultiProcessLockWin
/external/chromium/base/synchronization/
Dlock.h24 void Release() { lock_.Unlock(); } in Release()
47 lock_.Unlock();
/external/protobuf/src/google/protobuf/stubs/
Donce_unittest.cc71 void UnblockInit() { init_blocker_.Unlock(); } in UnblockInit()
165 mutex_.Unlock(); in Init()
167 init_blocker_.Unlock(); in Init()

123456