Searched refs:m_pMutex (Results 1 – 6 of 6) sorted by relevance
/external/llvm-project/lldb/tools/debugserver/source/ |
D | PThreadMutex.cpp | 21 : m_pMutex(m.Mutex()), m_function(function), m_file(file), m_line(line), in Locker() 28 : m_pMutex(m ? m->Mutex() : NULL), m_function(function), m_file(file), in Locker() 35 : m_pMutex(mutex), m_function(function), m_file(file), m_line(line), in Locker() 43 if (m_pMutex) { in Lock() 45 if (::pthread_mutex_trylock(m_pMutex) != 0) { in Lock() 48 m_pMutex, m_function, m_file, m_line); in Lock() 49 ::pthread_mutex_lock(m_pMutex); in Lock() 52 m_pMutex, DNBTimer::GetTimeOfDay() - m_lock_time, m_function, in Lock() 61 m_pMutex, DNBTimer::GetTimeOfDay() - m_lock_time, m_function, m_file, in Unlock() 63 ::pthread_mutex_unlock(m_pMutex); in Unlock()
|
D | PThreadMutex.h | 45 Locker(PThreadMutex &m) : m_pMutex(m.Mutex()) { Lock(); } 47 Locker(PThreadMutex *m) : m_pMutex(m ? m->Mutex() : NULL) { Lock(); } 49 Locker(pthread_mutex_t *mutex) : m_pMutex(mutex) { Lock(); } 52 if (m_pMutex) 53 ::pthread_mutex_lock(m_pMutex); 57 if (m_pMutex) 58 ::pthread_mutex_unlock(m_pMutex); 68 m_pMutex = pMutex; 71 pthread_mutex_t *m_pMutex; variable
|
/external/vulkan-validation-layers/layers/ |
D | vk_mem_alloc.h | 3734 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 3735 { if(m_pMutex) { m_pMutex->Lock(); } } in VMA_CLASS_NO_COPY() 3737 { if(m_pMutex) { m_pMutex->Unlock(); } } in ~VmaMutexLock() 3739 VMA_MUTEX* m_pMutex; 3748 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 3749 { if(m_pMutex) { m_pMutex->LockRead(); } } in VMA_CLASS_NO_COPY() 3750 ~VmaMutexLockRead() { if(m_pMutex) { m_pMutex->UnlockRead(); } } in ~VmaMutexLockRead() 3752 VMA_RW_MUTEX* m_pMutex; 3761 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 3762 { if(m_pMutex) { m_pMutex->LockWrite(); } } in VMA_CLASS_NO_COPY() [all …]
|
/external/angle/third_party/vulkan_memory_allocator/src/ |
D | vk_mem_alloc.h | 4529 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 4530 { if(m_pMutex) { m_pMutex->Lock(); } } in VMA_CLASS_NO_COPY() 4532 { if(m_pMutex) { m_pMutex->Unlock(); } } in ~VmaMutexLock() 4534 VMA_MUTEX* m_pMutex; 4543 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 4544 { if(m_pMutex) { m_pMutex->LockRead(); } } in VMA_CLASS_NO_COPY() 4545 ~VmaMutexLockRead() { if(m_pMutex) { m_pMutex->UnlockRead(); } } in ~VmaMutexLockRead() 4547 VMA_RW_MUTEX* m_pMutex; 4556 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 4557 { if(m_pMutex) { m_pMutex->LockWrite(); } } in VMA_CLASS_NO_COPY() [all …]
|
/external/skia/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 4510 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 4511 { if(m_pMutex) { m_pMutex->Lock(); } } in VMA_CLASS_NO_COPY() 4513 { if(m_pMutex) { m_pMutex->Unlock(); } } in ~VmaMutexLock() 4515 VMA_MUTEX* m_pMutex; 4524 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 4525 { if(m_pMutex) { m_pMutex->LockRead(); } } in VMA_CLASS_NO_COPY() 4526 ~VmaMutexLockRead() { if(m_pMutex) { m_pMutex->UnlockRead(); } } in ~VmaMutexLockRead() 4528 VMA_RW_MUTEX* m_pMutex; 4537 m_pMutex(useMutex ? &mutex : VMA_NULL) in VMA_CLASS_NO_COPY() 4538 { if(m_pMutex) { m_pMutex->LockWrite(); } } in VMA_CLASS_NO_COPY() [all …]
|
/external/skqp/third_party/vulkanmemoryallocator/include/ |
D | vk_mem_alloc.h | 2587 m_pMutex(useMutex ? &mutex : VMA_NULL) in VmaMutexLock() 2589 if(m_pMutex) in VmaMutexLock() 2591 m_pMutex->Lock(); in VmaMutexLock() 2597 if(m_pMutex) in ~VmaMutexLock() 2599 m_pMutex->Unlock(); in ~VmaMutexLock() 2604 VMA_MUTEX* m_pMutex;
|