/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; 309 typedef _Mutex mutex_type; [all …]
|
D | __mutex_base | 100 typedef _Mutex mutex_type; 103 mutex_type& __m_; 107 explicit lock_guard(mutex_type& __m) _LIBCPP_THREAD_SAFETY_ANNOTATION(acquire_capability(__m)) 110 …lock_guard(mutex_type& __m, adopt_lock_t) _LIBCPP_THREAD_SAFETY_ANNOTATION(requires_capability(__m… 124 typedef _Mutex mutex_type; 127 mutex_type* __m_; 134 explicit unique_lock(mutex_type& __m) 137 unique_lock(mutex_type& __m, defer_lock_t) _NOEXCEPT 140 unique_lock(mutex_type& __m, try_to_lock_t) 143 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); 129 typedef Mutex mutex_type; 131 explicit unique_lock(mutex_type& m); 132 unique_lock(mutex_type& m, defer_lock_t) noexcept; 133 unique_lock(mutex_type& m, try_to_lock_t); 134 unique_lock(mutex_type& m, adopt_lock_t); 136 unique_lock(mutex_type& m, const chrono::time_point<Clock, Duration>& abs_time); 138 unique_lock(mutex_type& m, const chrono::duration<Rep, Period>& rel_time); [all …]
|
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.guard/ |
D | variadic_types.pass.cpp | 31 auto test_typedef(int) -> typename LG::mutex_type; 50 static_assert(std::is_same<T::mutex_type, M1>::value, ""); in main() 55 static_assert(std::is_same<T::mutex_type, M1>::value, ""); in main()
|
D | types.pass.cpp | 27 static_assert((std::is_same<std::lock_guard<std::mutex>::mutex_type, in main()
|
/external/llvm/include/llvm/IR/ |
D | ValueMap.h | 54 typedef MutexT mutex_type; typedef 76 static mutex_type *getMutex(const ExtraDataT &/*Data*/) { return nullptr; } in getMutex() 258 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 259 unique_lock<typename Config::mutex_type> Guard; 261 Guard = unique_lock<typename Config::mutex_type>(*M); 270 typename Config::mutex_type *M = Config::getMutex(Copy.Map->Data); 271 unique_lock<typename Config::mutex_type> Guard; 273 Guard = unique_lock<typename Config::mutex_type>(*M);
|
/external/libcxx/src/ |
D | debug.cpp | 102 typedef mutex mutex_type; typedef 103 typedef lock_guard<mutex_type> WLock; 104 typedef lock_guard<mutex_type> RLock; 106 mutex_type& 109 static mutex_type m; in mut()
|
/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 | 29 static_assert((std::is_same<std::shared_lock<std::mutex>::mutex_type, in main()
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/ |
D | s-c.c | 115 int mutex_type; member 347 ret = pthread_mutexattr_settype(&ma, test_scenar[s].mutex_type); in do_threads_test()
|