/external/valgrind/drd/ |
D | drd_mutex.c | 69 const Addr mutex, const MutexT mutex_type) in DRD_() 77 p->mutex_type = mutex_type; in DRD_() 93 p ? DRD_(mutex_type_name)(p->mutex_type) : "(?)", in DRD_() 159 DRD_(mutex_get_or_allocate)(const Addr mutex, const MutexT mutex_type) in DRD_() 167 if (mutex_type == mutex_type_unknown || p->mutex_type == mutex_type) in DRD_() 183 DRD_(mutex_initialize)(p, mutex, mutex_type); in DRD_() 195 DRD_(mutex_init)(const Addr mutex, const MutexT mutex_type) in DRD_() 202 DRD_(mutex_type_name)(mutex_type), in DRD_() 205 if (mutex_type == mutex_type_invalid_mutex) in DRD_() 222 p->mutex_type = mutex_type; in DRD_() [all …]
|
D | drd_qtcore_intercepts.c | 79 static MutexT mutex_type(void* qt4_mutex) in mutex_type() function 126 mutex, mutex_type(mutex), 0, 0, 0); in QT4CORE_FUNC() 140 mutex, mutex_type(mutex), 0, 0, 0); in QT4CORE_FUNC() 151 mutex, mutex_type(mutex), 0, 0, 0); in QT4CORE_FUNC() 165 mutex, mutex_type(mutex), 1, 0, 0); in QT4CORE_FUNC() 181 mutex, mutex_type(mutex), 1, 0, 0); in QT4CORE_FUNC() 196 mutex, mutex_type(mutex), 0, 0, 0); in QT4CORE_FUNC()
|
D | drd_mutex.h | 39 struct mutex_info* DRD_(mutex_init)(const Addr mutex, const MutexT mutex_type); 44 void DRD_(mutex_pre_lock)(const Addr mutex, const MutexT mutex_type, 48 void DRD_(mutex_unlock)(const Addr mutex, const MutexT mutex_type);
|
D | drd_clientreq.c | 181 if (mutex_p && mutex_p->mutex_type == mutex_type_spinlock) in handle_client_request() 191 if (mutex_p && mutex_p->mutex_type == mutex_type_spinlock) in handle_client_request() 201 if (mutex_p && mutex_p->mutex_type == mutex_type_spinlock) in handle_client_request() 221 if (mutex_p && mutex_p->mutex_type == mutex_type_spinlock) in handle_client_request() 417 const MutexT mutex_type = arg[3]; in handle_client_request() local 418 DRD_(mutex_unlock)(mutex, mutex_type); in handle_client_request()
|
D | drd_pthread_intercepts.c | 367 static __always_inline MutexT DRD_(mutex_type)(pthread_mutex_t* mutex) in DRD_() argument 860 mutex, DRD_(mutex_type)(mutex), 0, 0, 0); in pthread_mutex_destroy_intercept() 880 mutex, DRD_(mutex_type)(mutex), 0, 0, 0); in pthread_mutex_lock_intercept() 907 DRD_(mutex_type)((pthread_mutex_t *) mutex), in lmutex_lock_intercept() 925 mutex, DRD_(mutex_type)(mutex), 1, 0, 0); in pthread_mutex_trylock_intercept() 949 mutex, DRD_(mutex_type)(mutex), 0, 0, 0); in pthread_mutex_timedlock_intercept() 973 mutex, DRD_(mutex_type)(mutex), 0, 0, 0); in pthread_mutex_unlock_intercept() 998 DRD_(mutex_type)((pthread_mutex_t *) mutex), in lmutex_unlock_intercept() 1078 cond, mutex, DRD_(mutex_type)(mutex), 0, 0); in pthread_cond_wait_intercept() 1103 cond, mutex, DRD_(mutex_type)(mutex), 0, 0); in pthread_cond_timedwait_intercept()
|
D | drd_clientobj.h | 69 MutexT mutex_type; // pthread_mutex_t or pthread_spinlock_t. member
|
/external/libcxx/include/ |
D | shared_mutex | 79 typedef Mutex mutex_type; 83 explicit shared_lock(mutex_type& m); // blocking 84 shared_lock(mutex_type& m, defer_lock_t) noexcept; 85 shared_lock(mutex_type& m, try_to_lock_t); 86 shared_lock(mutex_type& m, adopt_lock_t); 88 shared_lock(mutex_type& m, 91 shared_lock(mutex_type& m, 111 mutex_type* release() noexcept; 116 mutex_type* mutex() const noexcept; 307 typedef _Mutex mutex_type; [all …]
|
D | __mutex_base | 75 typedef _Mutex mutex_type; 78 mutex_type& __m_; 82 explicit lock_guard(mutex_type& __m) 85 lock_guard(mutex_type& __m, adopt_lock_t) 99 typedef _Mutex mutex_type; 102 mutex_type* __m_; 109 explicit unique_lock(mutex_type& __m) 112 unique_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT 115 unique_lock(mutex_type& __m, try_to_lock_t) 118 unique_lock(mutex_type& __m, adopt_lock_t) [all …]
|
D | mutex | 102 typedef Mutex mutex_type; 104 explicit lock_guard(mutex_type& m); 105 lock_guard(mutex_type& m, adopt_lock_t); 116 typedef Mutex mutex_type; 118 explicit unique_lock(mutex_type& m); 119 unique_lock(mutex_type& m, defer_lock_t) noexcept; 120 unique_lock(mutex_type& m, try_to_lock_t); 121 unique_lock(mutex_type& m, adopt_lock_t); 123 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 125 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time); [all …]
|
/external/llvm/include/llvm/IR/ |
D | ValueMap.h | 53 typedef MutexT mutex_type; typedef 75 static mutex_type *getMutex(const ExtraDataT &/*Data*/) { return nullptr; } in getMutex() 239 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 240 unique_lock<typename Config::mutex_type> Guard; 242 Guard = unique_lock<typename Config::mutex_type>(*M); 251 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 252 unique_lock<typename Config::mutex_type> Guard; 254 Guard = unique_lock<typename Config::mutex_type>(*M);
|
/external/libcxx/src/ |
D | debug.cpp | 39 typedef mutex mutex_type; typedef 40 typedef lock_guard<mutex_type> WLock; 41 typedef lock_guard<mutex_type> RLock; 43 mutex_type& 46 static mutex_type m; in mut()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/ |
D | types.pass.cpp | 27 static_assert((std::is_same<std::lock_guard<std::mutex>::mutex_type, in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/ |
D | types.pass.cpp | 27 static_assert((std::is_same<std::unique_lock<std::mutex>::mutex_type, in main()
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/ |
D | types.pass.cpp | 28 static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type, in main()
|