/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/llvm/test/Linker/ |
D | 2011-08-22-ResolveAlias.ll | 5 %union.pthread_mutex_t = type { [40 x i8] } 20 @_ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pth… 21 @_ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @… 22 …utex_timedlockP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_mutex_t*, %struct.tim… 23 @_ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @p… 24 …itP15pthread_mutex_tPK19pthread_mutexattr_t = alias weak i32 (%union.pthread_mutex_t*, %union.pthr… 25 @_ZL29__gthrw_pthread_mutex_destroyP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @… 28 …tP15pthread_mutex_t = alias weak i32 (%union.pthread_cond_t*, %union.pthread_mutex_t*)* @pthread_c… 29 …_mutex_tPK8timespec = alias weak i32 (%union.pthread_cond_t*, %union.pthread_mutex_t*, %struct.tim… 57 declare extern_weak i32 @pthread_mutex_lock(%union.pthread_mutex_t*) [all …]
|
D | 2011-08-22-ResolveAlias2.ll | 7 %union.pthread_mutex_t = type { [40 x i8] } 23 @_ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @pth… 24 @_ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @… 25 …utex_timedlockP15pthread_mutex_tPK8timespec = alias weak i32 (%union.pthread_mutex_t*, %struct.tim… 26 @_ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @p… 27 …itP15pthread_mutex_tPK19pthread_mutexattr_t = alias weak i32 (%union.pthread_mutex_t*, %union.pthr… 28 @_ZL29__gthrw_pthread_mutex_destroyP15pthread_mutex_t = alias weak i32 (%union.pthread_mutex_t*)* @… 31 …tP15pthread_mutex_t = alias weak i32 (%union.pthread_cond_t*, %union.pthread_mutex_t*)* @pthread_c… 32 …_mutex_tPK8timespec = alias weak i32 (%union.pthread_cond_t*, %union.pthread_mutex_t*, %struct.tim… 84 define weak i32 @pthread_mutex_lock(%union.pthread_mutex_t*) { [all …]
|
/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/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
D | pthread_mutex_consistent.c | 77 ptw32_robust_mutex_inherit(pthread_mutex_t * mutex) in ptw32_robust_mutex_inherit() 80 pthread_mutex_t mx = *mutex; in ptw32_robust_mutex_inherit() 116 ptw32_robust_mutex_add(pthread_mutex_t* mutex, pthread_t self) in ptw32_robust_mutex_add() 119 pthread_mutex_t mx = *mutex; in ptw32_robust_mutex_add() 142 ptw32_robust_mutex_remove(pthread_mutex_t* mutex, ptw32_thread_t* otp) in ptw32_robust_mutex_remove() 145 pthread_mutex_t mx = *mutex; in ptw32_robust_mutex_remove() 166 pthread_mutex_consistent (pthread_mutex_t* mutex) in pthread_mutex_consistent() 168 pthread_mutex_t mx = *mutex; in pthread_mutex_consistent()
|
/external/libnfc-nci/halimpl/bcm2079x/gki/ulinux/ |
D | gki_int.h | 33 pthread_mutex_t GKI_mutex; 35 pthread_mutex_t thread_evt_mutex[GKI_MAX_TASKS]; 37 pthread_mutex_t thread_timeout_mutex[GKI_MAX_TASKS]; 40 pthread_mutex_t gki_timer_mutex; 44 pthread_mutex_t GKI_trace_mutex;
|
/external/libnfc-nci/src/gki/ulinux/ |
D | gki_int.h | 33 pthread_mutex_t GKI_mutex; 35 pthread_mutex_t thread_evt_mutex[GKI_MAX_TASKS]; 37 pthread_mutex_t thread_timeout_mutex[GKI_MAX_TASKS]; 40 pthread_mutex_t gki_timer_mutex; 44 pthread_mutex_t GKI_trace_mutex;
|
/external/libvpx/libvpx/vp9/decoder/ |
D | vp9_thread.h | 33 typedef CRITICAL_SECTION pthread_mutex_t; typedef 69 static INLINE int pthread_mutex_init(pthread_mutex_t *const mutex, in pthread_mutex_init() 76 static INLINE int pthread_mutex_trylock(pthread_mutex_t *const mutex) { in pthread_mutex_trylock() 80 static INLINE int pthread_mutex_lock(pthread_mutex_t *const mutex) { in pthread_mutex_lock() 85 static INLINE int pthread_mutex_unlock(pthread_mutex_t *const mutex) { in pthread_mutex_unlock() 90 static INLINE int pthread_mutex_destroy(pthread_mutex_t *const mutex) { in pthread_mutex_destroy() 133 pthread_mutex_t *const mutex) { in pthread_cond_wait() 169 pthread_mutex_t mutex_;
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/decoder/ |
D | vp9_thread.h | 33 typedef CRITICAL_SECTION pthread_mutex_t; typedef 69 static INLINE int pthread_mutex_init(pthread_mutex_t *const mutex, in pthread_mutex_init() 76 static INLINE int pthread_mutex_trylock(pthread_mutex_t *const mutex) { in pthread_mutex_trylock() 80 static INLINE int pthread_mutex_lock(pthread_mutex_t *const mutex) { in pthread_mutex_lock() 85 static INLINE int pthread_mutex_unlock(pthread_mutex_t *const mutex) { in pthread_mutex_unlock() 90 static INLINE int pthread_mutex_destroy(pthread_mutex_t *const mutex) { in pthread_mutex_destroy() 133 pthread_mutex_t *const mutex) { in pthread_cond_wait() 169 pthread_mutex_t mutex_;
|
/external/libnfc-nci/src/include/ |
D | NfcAdaptation.h | 35 operator pthread_mutex_t* () {return &mMutex;} 37 pthread_mutex_t mMutex; 48 operator pthread_mutex_t* () {return ThreadMutex::operator pthread_mutex_t*();} 59 operator pthread_mutex_t* () {return (pthread_mutex_t*)mm;}
|
/external/llvm/test/CodeGen/Generic/ |
D | 2009-03-17-LSR-APInt.ll | 28 %struct.pthread_mutex_t = type { %struct..0__pthread_mutex_s } 38 …thread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock ; <i32 (%struct.p… 39 …read_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock ; <i32 (%struct.… 40 …hread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock ; <i32 (%struct.… 41 …tr_t = alias weak i32 (%struct.pthread_mutex_t*, %struct.Alignment*)* @pthread_mutex_init ; <i32 … 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/valgrind/main/drd/tests/ |
D | recursive_mutex.c | 13 static void lock_twice(pthread_mutex_t* const p) in lock_twice() 29 pthread_mutex_t m = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP; in main() 38 pthread_mutex_t m; in main() 52 pthread_mutex_t m; in main() 66 pthread_mutex_t m = PTHREAD_MUTEX_INITIALIZER; in main()
|
/external/lldb/tools/debugserver/source/ |
D | PThreadMutex.h | 41 Locker(pthread_mutex_t *mutex, const char *function, const char *file, int line); 59 Locker(pthread_mutex_t *mutex) : 85 void Reset(pthread_mutex_t *pMutex = NULL) 91 pthread_mutex_t *m_pMutex; 129 pthread_mutex_t *Mutex() in Mutex() 145 pthread_mutex_t m_mutex;
|
/external/clang/test/Analysis/ |
D | pthreadlock.c | 7 } pthread_mutex_t; typedef 17 typedef pthread_mutex_t lck_mtx_t; 19 extern int pthread_mutex_lock(pthread_mutex_t *); 20 extern int pthread_mutex_unlock(pthread_mutex_t *); 21 extern int pthread_mutex_trylock(pthread_mutex_t *); 22 extern int pthread_mutex_destroy(pthread_mutex_t *); 23 extern int pthread_mutex_init(pthread_mutex_t *mutex, const pthread_mutexattr_t *mutexattr); 29 pthread_mutex_t mtx1, mtx2; 270 bad11_sub(pthread_mutex_t *lock) in bad11_sub()
|
/external/bluetooth/bluedroid/gki/ulinux/ |
D | gki_int.h | 58 pthread_mutex_t GKI_mutex; 60 pthread_mutex_t thread_evt_mutex[GKI_MAX_TASKS]; 62 pthread_mutex_t thread_timeout_mutex[GKI_MAX_TASKS]; 65 pthread_mutex_t GKI_trace_mutex;
|
/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 …thread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock ; <i32 (%struct.p… 26 …read_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock ; <i32 (%struct.… 27 …hread_mutex_t = alias weak i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock ; <i32 (%struct.… 28 …_t = alias weak i32 (%struct.pthread_mutex_t*, %struct.__sched_param*)* @pthread_mutex_init ; <i3… 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/chromium_org/v8/src/platform/ |
D | mutex.cc | 14 static V8_INLINE void InitializeNativeHandle(pthread_mutex_t* mutex) { in InitializeNativeHandle() 35 static V8_INLINE void InitializeRecursiveNativeHandle(pthread_mutex_t* mutex) { in InitializeRecursiveNativeHandle() 49 static V8_INLINE void DestroyNativeHandle(pthread_mutex_t* mutex) { in DestroyNativeHandle() 56 static V8_INLINE void LockNativeHandle(pthread_mutex_t* mutex) { in LockNativeHandle() 63 static V8_INLINE void UnlockNativeHandle(pthread_mutex_t* mutex) { in UnlockNativeHandle() 70 static V8_INLINE bool TryLockNativeHandle(pthread_mutex_t* mutex) { in TryLockNativeHandle()
|
/external/valgrind/main/helgrind/ |
D | hg_intercepts.c | 421 pthread_mutex_t *mutex, in PTH_FUNC() 444 pthread_mutex_t*,mutex, long,mbRec); in PTH_FUNC() 460 pthread_mutex_t *mutex) in PTH_FUNC() 472 static const pthread_mutex_t mutex_init = PTHREAD_MUTEX_INITIALIZER; in PTH_FUNC() 479 pthread_mutex_t*, mutex, unsigned long, mutex_is_init); in PTH_FUNC() 498 pthread_mutex_t *mutex) in PTH_FUNC() 508 pthread_mutex_t*,mutex, long,0/*!isTryLock*/); in PTH_FUNC() 519 pthread_mutex_t*,mutex); in PTH_FUNC() 542 pthread_mutex_t *mutex) in PTH_FUNC() 552 pthread_mutex_t*,mutex, long,1/*isTryLock*/); in PTH_FUNC() [all …]
|
/external/valgrind/main/helgrind/tests/ |
D | tc22_exit_w_lock.c | 10 pthread_mutex_t mxC1 = PTHREAD_MUTEX_INITIALIZER; 11 pthread_mutex_t mxC2 = PTHREAD_MUTEX_INITIALIZER; 12 pthread_mutex_t mxC2b = PTHREAD_MUTEX_INITIALIZER; 13 pthread_mutex_t mxP = PTHREAD_MUTEX_INITIALIZER;
|
D | tc04_free_lock.c | 10 pthread_mutex_t lock; int morestuff[2000]; } XX; 36 pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; in bar() 45 pthread_mutex_t mx; in foo()
|
D | tc09_bad_unlock.c | 11 pthread_mutex_unlock( (pthread_mutex_t*)arg ); /* ERROR */ in child_fn() 18 pthread_mutex_t mx1, mx2; in nearly_main() 41 pthread_mutex_unlock( (pthread_mutex_t*) &bogus[50] ); /* ERROR */ in nearly_main()
|
/external/libusb/libusb/ |
D | libusbi.h | 152 pthread_mutex_t usb_devs_lock; 157 pthread_mutex_t open_devs_lock; 164 pthread_mutex_t flying_transfers_lock; 168 pthread_mutex_t pollfds_lock; 173 pthread_mutex_t pollfd_modify_lock; 181 pthread_mutex_t events_lock; 188 pthread_mutex_t event_waiters_lock; 207 pthread_mutex_t lock; 223 pthread_mutex_t lock; 265 pthread_mutex_t lock;
|
/external/compiler-rt/test/tsan/ |
D | race_on_mutex2.c | 8 pthread_mutex_lock((pthread_mutex_t*)x); in Thread() 9 pthread_mutex_unlock((pthread_mutex_t*)x); in Thread() 14 pthread_mutex_t Mtx; in main()
|
/external/qemu/include/qemu/ |
D | thread-posix.h | 7 pthread_mutex_t lock; 16 pthread_mutex_t lock; 26 pthread_mutex_t lock;
|
/external/chromium_org/third_party/libusb/src/libusb/os/ |
D | threads_posix.h | 26 #define usbi_mutex_static_t pthread_mutex_t 31 #define usbi_mutex_t pthread_mutex_t 46 extern int usbi_mutex_init_recursive(pthread_mutex_t *mutex, pthread_mutexattr_t *attr);
|