/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/aarch64/ |
D | ilp32.rs | 1 use pthread_mutex_t; 13 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 14 pthread_mutex_t { 21 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 22 pthread_mutex_t { 29 pub const PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 30 pthread_mutex_t { 37 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 38 pthread_mutex_t { 45 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = [all …]
|
D | lp64.rs | 1 use pthread_mutex_t; 13 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 14 pthread_mutex_t { 22 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 23 pthread_mutex_t { 31 pub const PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 32 pthread_mutex_t { 40 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 41 pthread_mutex_t { 49 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = [all …]
|
/external/llvm/lib/Support/ |
D | Mutex.cpp | 48 pthread_mutex_t* mutex = in MutexImpl() 49 static_cast<pthread_mutex_t*>(malloc(sizeof(pthread_mutex_t))); in MutexImpl() 77 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in ~MutexImpl() 86 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in acquire() 96 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in release() 106 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in tryacquire()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | Mutex.cpp | 48 pthread_mutex_t* mutex = in MutexImpl() 49 static_cast<pthread_mutex_t*>(malloc(sizeof(pthread_mutex_t))); in MutexImpl() 77 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in ~MutexImpl() 86 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in acquire() 96 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in release() 106 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in tryacquire()
|
/external/llvm-project/clang/test/Analysis/Inputs/ |
D | system-header-simulator-for-pthread-lock.h | 8 } pthread_mutex_t; typedef 22 typedef pthread_mutex_t lck_mtx_t; 25 extern void fake_system_function_that_takes_a_mutex(pthread_mutex_t *mtx); 27 extern int pthread_mutex_lock(pthread_mutex_t *); 28 extern int pthread_mutex_unlock(pthread_mutex_t *); 29 extern int pthread_mutex_trylock(pthread_mutex_t *); 30 extern int pthread_mutex_destroy(pthread_mutex_t *); 31 extern int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr);
|
/external/llvm-project/polly/test/Isl/CodeGen/ |
D | PHIInExit.ll | 7 %union.pthread_mutex_t = type { %struct..0__pthread_mutex_s } 15 … = weak alias i32 (%union.pthread_mutex_t*), i32 (%union.pthread_mutex_t*)* @pthread_mutex_lock ; … 16 …= weak alias i32 (%union.pthread_mutex_t*), i32 (%union.pthread_mutex_t*)* @pthread_mutex_trylock … 17 …= weak alias i32 (%union.pthread_mutex_t*), i32 (%union.pthread_mutex_t*)* @pthread_mutex_unlock ;… 18 …pthread_mutex_t*, %union.pthread_mutexattr_t*), i32 (%union.pthread_mutex_t*, %union.pthread_mutex… 69 define i32 @pthread_mutex_lock(%union.pthread_mutex_t*) { 73 define i32 @pthread_mutex_trylock(%union.pthread_mutex_t*) { 77 define i32 @pthread_mutex_unlock(%union.pthread_mutex_t*) { 81 define i32 @pthread_mutex_init(%union.pthread_mutex_t*, %union.pthread_mutexattr_t*) {
|
/external/clang/test/Analysis/Inputs/ |
D | system-header-simulator-for-pthread-lock.h | 8 } pthread_mutex_t; typedef 18 typedef pthread_mutex_t lck_mtx_t; 20 extern int pthread_mutex_lock(pthread_mutex_t *); 21 extern int pthread_mutex_unlock(pthread_mutex_t *); 22 extern int pthread_mutex_trylock(pthread_mutex_t *); 23 extern int pthread_mutex_destroy(pthread_mutex_t *); 24 extern int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr);
|
/external/deqp/framework/delibs/dethread/unix/ |
D | deMutexUnix.c | 34 DE_STATIC_ASSERT(sizeof(deMutex) >= sizeof(pthread_mutex_t*)); 40 pthread_mutex_t* mutex = deMalloc(sizeof(pthread_mutex_t)); in deMutex_create() 90 pthread_mutex_t* pMutex = (pthread_mutex_t*)mutex; in deMutex_destroy() 98 int ret = pthread_mutex_lock((pthread_mutex_t*)mutex); in deMutex_lock() 105 int ret = pthread_mutex_unlock((pthread_mutex_t*)mutex); in deMutex_unlock() 112 return (pthread_mutex_trylock((pthread_mutex_t*)mutex) == 0); in deMutex_tryLock()
|
/external/libaom/libaom/aom_util/ |
D | aom_thread.h | 35 typedef CRITICAL_SECTION pthread_mutex_t; typedef 86 static INLINE int pthread_mutex_init(pthread_mutex_t *const mutex, in pthread_mutex_init() 93 static INLINE int pthread_mutex_trylock(pthread_mutex_t *const mutex) { in pthread_mutex_trylock() 97 static INLINE int pthread_mutex_lock(pthread_mutex_t *const mutex) { in pthread_mutex_lock() 102 static INLINE int pthread_mutex_unlock(pthread_mutex_t *const mutex) { in pthread_mutex_unlock() 107 static INLINE int pthread_mutex_destroy(pthread_mutex_t *const mutex) { in pthread_mutex_destroy() 136 pthread_mutex_t *const mutex) { in pthread_cond_wait() 150 #define pthread_mutex_t HMTX 202 static INLINE int pthread_mutex_init(pthread_mutex_t *const mutex, 208 static INLINE int pthread_mutex_trylock(pthread_mutex_t *const mutex) { [all …]
|
/external/llvm-project/clang/test/Modules/ |
D | merge-name-for-linkage.cpp | 4 typedef union {} pthread_mutex_t; typedef 5 typedef pthread_mutex_t pthread_mutex_t; typedef 7 pthread_mutex_t x; 9 pthread_mutex_t y;
|
/external/llvm-project/llvm/test/CodeGen/Generic/ |
D | 2009-03-17-LSR-APInt.ll | 28 %struct.pthread_mutex_t = type { %struct..0__pthread_mutex_s } 38 … weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock ;… 39 …eak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock … 40 …weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock … 41 …ruct.pthread_mutex_t*, %struct.Alignment*), i32 (%struct.pthread_mutex_t*, %struct.Alignment*)* @p… 86 define i32 @pthread_mutex_lock(%struct.pthread_mutex_t*) { 90 define i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) { 94 define i32 @pthread_mutex_unlock(%struct.pthread_mutex_t*) { 98 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*) {
|
/external/llvm/test/CodeGen/Generic/ |
D | 2009-03-17-LSR-APInt.ll | 28 %struct.pthread_mutex_t = type { %struct..0__pthread_mutex_s } 38 … weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock ;… 39 …eak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock … 40 …weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock … 41 …ruct.pthread_mutex_t*, %struct.Alignment*), i32 (%struct.pthread_mutex_t*, %struct.Alignment*)* @p… 86 define i32 @pthread_mutex_lock(%struct.pthread_mutex_t*) { 90 define i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) { 94 define i32 @pthread_mutex_unlock(%struct.pthread_mutex_t*) { 98 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*) {
|
/external/libvpx/libvpx/vpx_util/ |
D | vpx_thread.h | 35 typedef CRITICAL_SECTION pthread_mutex_t; typedef 101 static INLINE int pthread_mutex_init(pthread_mutex_t *const mutex, in pthread_mutex_init() 112 static INLINE int pthread_mutex_trylock(pthread_mutex_t *const mutex) { in pthread_mutex_trylock() 116 static INLINE int pthread_mutex_lock(pthread_mutex_t *const mutex) { in pthread_mutex_lock() 121 static INLINE int pthread_mutex_unlock(pthread_mutex_t *const mutex) { in pthread_mutex_unlock() 126 static INLINE int pthread_mutex_destroy(pthread_mutex_t *const mutex) { in pthread_mutex_destroy() 197 pthread_mutex_t *const mutex) { in pthread_cond_wait() 229 #define pthread_mutex_t HMTX 281 static INLINE int pthread_mutex_init(pthread_mutex_t *const mutex, 287 static INLINE int pthread_mutex_trylock(pthread_mutex_t *const mutex) { [all …]
|
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/ |
D | mod.rs | 3 use pthread_mutex_t; 253 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 254 pthread_mutex_t { 261 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 262 pthread_mutex_t { 269 pub const PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 270 pthread_mutex_t { 277 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 278 pthread_mutex_t { 285 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = [all …]
|
/external/gemmlowp/profiling/ |
D | pthread_everywhere.h | 46 using pthread_mutex_t = std::mutex *; variable 53 inline void pthread_mutex_init(pthread_mutex_t *mutex, std::nullptr_t) { in pthread_mutex_init() 56 inline void pthread_mutex_lock(pthread_mutex_t *mutex) { (*mutex)->lock(); } in pthread_mutex_lock() 57 inline void pthread_mutex_unlock(pthread_mutex_t *mutex) { (*mutex)->unlock(); } in pthread_mutex_unlock() 58 inline void pthread_mutex_destroy(pthread_mutex_t *mutex) { delete *mutex; } in pthread_mutex_destroy() 66 inline void pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) { in pthread_cond_wait()
|
/external/llvm-project/llvm/test/Transforms/GVN/ |
D | 2009-03-10-PREOnVoid.ll | 12 …%struct.pthread_mutex_t = type { i32, i32, %struct._pthread_descr_struct*, i32, %llvm.dbg.anchor.t… 25 … weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock ;… 26 …eak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock … 27 …weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock … 28 ….pthread_mutex_t*, %struct.__sched_param*), i32 (%struct.pthread_mutex_t*, %struct.__sched_param*)… 76 define i32 @pthread_mutex_lock(%struct.pthread_mutex_t*) { 80 define i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) { 84 define i32 @pthread_mutex_unlock(%struct.pthread_mutex_t*) { 88 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.__sched_param*) {
|
/external/llvm-project/llvm/test/Transforms/NewGVN/ |
D | 2009-03-10-PREOnVoid.ll | 12 …%struct.pthread_mutex_t = type { i32, i32, %struct._pthread_descr_struct*, i32, %llvm.dbg.anchor.t… 25 … weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock ;… 26 …eak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock … 27 …weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock … 28 ….pthread_mutex_t*, %struct.__sched_param*), i32 (%struct.pthread_mutex_t*, %struct.__sched_param*)… 76 define i32 @pthread_mutex_lock(%struct.pthread_mutex_t*) { 80 define i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) { 84 define i32 @pthread_mutex_unlock(%struct.pthread_mutex_t*) { 88 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.__sched_param*) {
|
/external/llvm/test/Transforms/GVN/ |
D | 2009-03-10-PREOnVoid.ll | 12 …%struct.pthread_mutex_t = type { i32, i32, %struct._pthread_descr_struct*, i32, %llvm.dbg.anchor.t… 25 … weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock ;… 26 …eak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock … 27 …weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock … 28 ….pthread_mutex_t*, %struct.__sched_param*), i32 (%struct.pthread_mutex_t*, %struct.__sched_param*)… 76 define i32 @pthread_mutex_lock(%struct.pthread_mutex_t*) { 80 define i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) { 84 define i32 @pthread_mutex_unlock(%struct.pthread_mutex_t*) { 88 define i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.__sched_param*) {
|
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_posix_util.h | 53 pthread_mutex_t *mutex, const pthread_mutexattr_t *attr); 54 extern "C" int __interceptor_pthread_mutex_lock(pthread_mutex_t *mutex); 55 extern "C" int __interceptor_pthread_mutex_unlock(pthread_mutex_t *mutex); 56 extern "C" int __interceptor_pthread_mutex_destroy(pthread_mutex_t *mutex); 57 extern "C" int __interceptor_pthread_mutex_trylock(pthread_mutex_t *mutex); 73 pthread_mutex_t *mutex);
|
/external/libhevc/common/ |
D | ithread.c | 61 return sizeof(pthread_mutex_t); in ithread_get_mutex_lock_size() 82 return (sizeof(pthread_mutex_t)); in ithread_get_mutex_struct_size() 86 return pthread_mutex_init((pthread_mutex_t *)mutex, NULL); in ithread_mutex_init() 91 return pthread_mutex_destroy((pthread_mutex_t *)mutex); in ithread_mutex_destroy() 96 return pthread_mutex_lock((pthread_mutex_t *)mutex); in ithread_mutex_lock() 101 return pthread_mutex_unlock((pthread_mutex_t *)mutex); in ithread_mutex_unlock() 202 return pthread_cond_wait((pthread_cond_t *)cond, (pthread_mutex_t *)mutex); in ithread_cond_wait()
|
/external/libmpeg2/common/ |
D | ithread.c | 67 return sizeof(pthread_mutex_t); in ithread_get_mutex_lock_size() 90 return(sizeof(pthread_mutex_t)); in ithread_get_mutex_struct_size() 94 return pthread_mutex_init((pthread_mutex_t *) mutex, NULL); in ithread_mutex_init() 99 return pthread_mutex_destroy((pthread_mutex_t *) mutex); in ithread_mutex_destroy() 104 return pthread_mutex_lock((pthread_mutex_t *)mutex); in ithread_mutex_lock() 109 return pthread_mutex_unlock((pthread_mutex_t *)mutex); in ithread_mutex_unlock()
|
/external/llvm-project/lldb/tools/debugserver/source/ |
D | PThreadMutex.h | 38 Locker(pthread_mutex_t *mutex, const char *function, const char *file, 49 Locker(pthread_mutex_t *mutex) : m_pMutex(mutex) { Lock(); } 66 void Reset(pthread_mutex_t *pMutex = NULL) { 71 pthread_mutex_t *m_pMutex; 109 pthread_mutex_t *Mutex() { return &m_mutex; } in Mutex() 116 pthread_mutex_t m_mutex;
|
/external/libavc/common/ |
D | ithread.c | 73 return sizeof(pthread_mutex_t); in ithread_get_mutex_lock_size() 92 return(sizeof(pthread_mutex_t)); in ithread_get_mutex_struct_size() 96 return pthread_mutex_init((pthread_mutex_t *) mutex, NULL); in ithread_mutex_init() 101 return pthread_mutex_destroy((pthread_mutex_t *) mutex); in ithread_mutex_destroy() 106 return pthread_mutex_lock((pthread_mutex_t *)mutex); in ithread_mutex_lock() 111 return pthread_mutex_unlock((pthread_mutex_t *)mutex); in ithread_mutex_unlock()
|
/external/libevent/ |
D | evthread_pthread.c | 48 pthread_mutex_t *lock = mm_malloc(sizeof(pthread_mutex_t)); in evthread_posix_lock_alloc() 63 pthread_mutex_t *lock = lock_; in evthread_posix_lock_free() 71 pthread_mutex_t *lock = lock_; in evthread_posix_lock() 81 pthread_mutex_t *lock = lock_; in evthread_posix_unlock() 141 pthread_mutex_t *lock = lock_; in evthread_posix_cond_wait()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | misc-non-copyable-objects.c | 5 typedef int pthread_mutex_t; typedef 10 void h(pthread_mutex_t m); 34 pthread_mutex_t m; // ok in func() 40 pthread_mutex_t *m1 = &m; // ok in func()
|