/external/valgrind/drd/tests/ |
D | annotate_smart_pointer.cpp | 62 Mutex() : m_mutex() in Mutex() 63 { InitializeCriticalSection(&m_mutex); } in Mutex() 65 { DeleteCriticalSection(&m_mutex); } in ~Mutex() 67 { EnterCriticalSection(&m_mutex); } in Lock() 69 { LeaveCriticalSection(&m_mutex); } in Unlock() 72 CRITICAL_SECTION m_mutex; member in Mutex 123 Mutex() : m_mutex() in Mutex() 124 { pthread_mutex_init(&m_mutex, NULL); } in Mutex() 126 { pthread_mutex_destroy(&m_mutex); } in ~Mutex() 128 { pthread_mutex_lock(&m_mutex); } in Lock() [all …]
|
D | monitor_example.cpp | 77 : m_mutex() in Monitor() 85 pthread_mutex_init(&m_mutex, &mutexattr); in Monitor() 99 pthread_mutex_destroy(&m_mutex); in ~Monitor() 103 pthread_mutex_lock(&m_mutex); in lock() 114 pthread_mutex_unlock(&m_mutex); in unlock() 121 pthread_cond_wait(&m_cond, &m_mutex); in wait() 138 pthread_mutex_lock(&m_mutex); in is_locked_by_self() 140 pthread_mutex_unlock(&m_mutex); in is_locked_by_self() 148 pthread_mutex_t m_mutex; member in Monitor
|
D | pth_broadcast.c | 21 pthread_mutex_t m_mutex; member 29 pthread_mutex_init(&p->m_mutex, 0); in csema_ctr() 36 pthread_mutex_destroy(&p->m_mutex); in csema_dtr() 41 pthread_mutex_lock(&p->m_mutex); in csema_p() 43 pthread_cond_wait(&p->m_cond, &p->m_mutex); in csema_p() 46 pthread_mutex_unlock(&p->m_mutex); in csema_p() 51 pthread_mutex_lock(&p->m_mutex); in csema_v() 54 pthread_mutex_unlock(&p->m_mutex); in csema_v()
|
/external/deqp/framework/delibs/decpp/ |
D | deMutex.hpp | 51 deMutex m_mutex; member in de::Mutex 65 ~ScopedLock (void) { m_mutex.unlock(); } in ~ScopedLock() 71 Mutex& m_mutex; member in de::ScopedLock 90 deMutex_lock(m_mutex); in lock() 104 deMutex_unlock(m_mutex); in unlock() 116 return deMutex_tryLock(m_mutex) == DE_TRUE; in tryLock() 126 : m_mutex(mutex) in ScopedLock() 128 m_mutex.lock(); in ScopedLock()
|
D | deMutex.cpp | 38 : m_mutex(0) in Mutex() 44 m_mutex = deMutex_create(&attribs); in Mutex() 45 if (!m_mutex) in Mutex() 51 deMutex_destroy(m_mutex); in ~Mutex()
|
/external/webrtc/webrtc/base/ |
D | sigslot.cc | 33 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local() 37 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local() 41 pthread_mutex_destroy(&m_mutex); in ~multi_threaded_local() 45 pthread_mutex_lock(&m_mutex); in lock() 49 pthread_mutex_unlock(&m_mutex); in unlock()
|
D | sigslot.h | 244 pthread_mutex_t m_mutex; 252 mt_policy *m_mutex; 255 : m_mutex(mtx) in lock_block() 257 m_mutex->lock(); in lock_block() 262 m_mutex->unlock(); in ~lock_block()
|
/external/deqp/framework/platform/wayland/ |
D | tcuWayland.cpp | 48 de::ScopedLock lock(m_mutex); in setQuitFlag() 54 de::ScopedLock lock(m_mutex); in getQuitFlag()
|
D | tcuWayland.hpp | 57 de::Mutex m_mutex; member in tcu::wayland::EventState
|
/external/deqp/framework/platform/X11/ |
D | tcuX11.cpp | 46 de::ScopedLock lock(m_mutex); in setQuitFlag() 52 de::ScopedLock lock(m_mutex); in getQuitFlag()
|
D | tcuX11.hpp | 55 de::Mutex m_mutex; member in tcu::x11::EventState
|
/external/deqp/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationInternallySynchronizedObjectsTests.cpp | 120 m_mutex.lock(); in getFreeQueue() 127 m_mutex.unlock(); in getFreeQueue() 130 m_mutex.unlock(); in getFreeQueue() 138 m_mutex.lock(); in releaseQueue() 140 m_mutex.unlock(); in releaseQueue() 157 Mutex m_mutex; member in vkt::synchronization::__anone698e8e60111::MultiQueues
|
/external/deqp/modules/gles31/functional/ |
D | es31fDebugTests.cpp | 1450 de::Mutex m_mutex; member in deqp::gles31::Functional::__anon0b3d5a1f0111::AsyncCase 1594 de::ScopedLock lock(m_mutex); in callback() 1621 const de::ScopedLock lock(m_mutex); // Don't block during API call in fetchLogMessages() 1635 const de::ScopedLock lock(m_mutex); in verify()
|
/external/vulkan-validation-layers/tests/ |
D | layer_validation_tests.cpp | 122 test_platform_thread_create_mutex(&m_mutex); in ErrorMonitor() 123 test_platform_thread_lock_mutex(&m_mutex); in ErrorMonitor() 126 test_platform_thread_unlock_mutex(&m_mutex); in ErrorMonitor() 129 ~ErrorMonitor() { test_platform_thread_delete_mutex(&m_mutex); } in ~ErrorMonitor() 134 test_platform_thread_lock_mutex(&m_mutex); in SetDesiredFailureMsg() 142 test_platform_thread_unlock_mutex(&m_mutex); in SetDesiredFailureMsg() 148 test_platform_thread_lock_mutex(&m_mutex); in SetDesiredFailureMsg() 156 test_platform_thread_unlock_mutex(&m_mutex); in SetDesiredFailureMsg() 161 test_platform_thread_lock_mutex(&m_mutex); in CheckForDesiredMsg() 210 test_platform_thread_unlock_mutex(&m_mutex); in CheckForDesiredMsg() [all …]
|