/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-7.0/llvm/lib/Support/ |
D | Mutex.cpp | 49 pthread_mutex_t* mutex = in MutexImpl() 50 static_cast<pthread_mutex_t*>(safe_malloc(sizeof(pthread_mutex_t))); in MutexImpl() 79 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in ~MutexImpl() 88 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in acquire() 98 pthread_mutex_t* mutex = static_cast<pthread_mutex_t*>(data_); in release() 108 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/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/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/ |
D | mod.rs | 3 use pthread_mutex_t; 186 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 187 pthread_mutex_t { 194 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 195 pthread_mutex_t { 202 pub const PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 203 pthread_mutex_t { 210 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 211 pthread_mutex_t { 218 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = [all …]
|
/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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/swiftshader/third_party/llvm-7.0/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/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/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/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()
|
/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/rust/crates/libc/src/fuchsia/ |
D | no_align.rs | 24 pub struct pthread_mutex_t { 77 impl PartialEq for pthread_mutex_t { 78 fn eq(&self, other: &pthread_mutex_t) -> bool { 86 impl Eq for pthread_mutex_t {} 87 impl ::fmt::Debug for pthread_mutex_t { 95 impl ::hash::Hash for pthread_mutex_t {
|
D | align.rs | 43 pub struct pthread_mutex_t { 96 impl PartialEq for pthread_mutex_t { 97 fn eq(&self, other: &pthread_mutex_t) -> bool { 104 impl Eq for pthread_mutex_t {} 105 impl ::fmt::Debug for pthread_mutex_t { 112 impl ::hash::Hash for pthread_mutex_t {
|
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b64/x86_64/ |
D | not_x32.rs | 1 use pthread_mutex_t; 28 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 29 pthread_mutex_t { 36 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 37 pthread_mutex_t { 44 pub const PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 45 pthread_mutex_t { 52 pub const PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = 53 pthread_mutex_t { 60 pub const PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP: ::pthread_mutex_t = [all …]
|
/external/ltp/testcases/kernel/sched/nptl/ |
D | nptl01.c | 56 pthread_mutex_t req; 57 pthread_mutex_t ack; 58 pthread_mutex_t wait; 72 void call_mutex_init(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_init() 82 void call_mutex_lock(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_lock() 92 void call_mutex_unlock(pthread_mutex_t * mutex, char *buf, size_t buf_len) in call_mutex_unlock() 112 void call_cond_wait(pthread_cond_t * cond, pthread_mutex_t * mutex, in call_cond_wait() 133 void do_timedwait(pthread_cond_t * cond, pthread_mutex_t * mutex, in do_timedwait()
|
/external/rust/crates/libc/src/unix/linux_like/android/b64/ |
D | mod.rs | 111 pub struct pthread_mutex_t { 133 impl PartialEq for pthread_mutex_t { 134 fn eq(&self, other: &pthread_mutex_t) -> bool { 144 impl Eq for pthread_mutex_t {} 146 impl ::fmt::Debug for pthread_mutex_t { 155 impl ::hash::Hash for pthread_mutex_t { 247 pub const PTHREAD_MUTEX_INITIALIZER: pthread_mutex_t = pthread_mutex_t {
|
/external/clang/test/Modules/ |
D | merge-name-for-linkage.cpp | 4 typedef union {} pthread_mutex_t; typedef 6 pthread_mutex_t x; 8 pthread_mutex_t y;
|
/external/libaom/libaom/av1/common/ |
D | thread_common.h | 35 pthread_mutex_t *mutex_[MAX_MB_PLANE]; 50 pthread_mutex_t *job_mutex; 76 pthread_mutex_t *mutex_[MAX_MB_PLANE]; 90 pthread_mutex_t *job_mutex;
|