/external/compiler-rt/test/sanitizer_common/TestCases/ |
D | pthread_mutexattr_get.cc | 12 int pshared; in main() local 13 res = pthread_mutexattr_getpshared(&ma, &pshared); in main() 15 assert(pshared == 1); in main()
|
/external/valgrind/helgrind/tests/ |
D | tc24_nonzero_sem.c | 49 static sem_t* my_sem_init (char* identity, int pshared, unsigned count) in my_sem_init() argument 56 if (sem_init(s, pshared, count) < 0) { in my_sem_init()
|
D | tc23_bogus_condwait.c | 97 static sem_t* my_sem_init (char* identity, int pshared, unsigned count) in my_sem_init() argument 104 if (sem_init(s, pshared, count) < 0) { in my_sem_init()
|
D | tc17_sembar.c | 221 static sem_t* my_sem_init (char* identity, int pshared, unsigned count) in my_sem_init() argument 228 if (sem_init(s, pshared, count) < 0) { in my_sem_init()
|
/external/libavc/common/ |
D | ithread.c | 140 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value) in ithread_sem_init() argument 142 return sem_init((sem_t *)sem,pshared,value); in ithread_sem_init()
|
D | ithread.h | 89 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value);
|
/external/libhevc/common/ |
D | ithread.c | 234 WORD32 ithread_sem_init(void *sem, WORD32 pshared, UWORD32 value) in ithread_sem_init() argument 392 WORD32 ithread_sem_init(void *sem, WORD32 pshared, UWORD32 value) in ithread_sem_init() argument 394 return sem_init((sem_t *)sem, pshared, value); in ithread_sem_init()
|
D | ithread.h | 69 WORD32 ithread_sem_init(void *sem, WORD32 pshared, UWORD32 value);
|
/external/valgrind/drd/ |
D | drd_pthread_intercepts.c | 821 int pthread_spin_init_intercept(pthread_spinlock_t *spinlock, int pshared) in pthread_spin_init_intercept() argument 828 CALL_FN_W_WW(ret, fn, spinlock, pshared); in pthread_spin_init_intercept() 835 (pthread_spinlock_t *spinlock, int pshared), (spinlock, pshared)); 967 int sem_init_intercept(sem_t *sem, int pshared, unsigned int value) in sem_init_intercept() argument 973 sem, pshared, value, 0, 0); in sem_init_intercept() 974 CALL_FN_W_WWW(ret, fn, sem, pshared, value); in sem_init_intercept() 981 (sem_t *sem, int pshared, unsigned int value), (sem, pshared, value));
|
D | drd_semaphore.h | 41 const Word pshared,
|
D | drd_semaphore.c | 170 const Word pshared, in DRD_()
|
/external/libmpeg2/common/ |
D | ithread.c | 235 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value) in ithread_sem_init() argument 395 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value) in ithread_sem_init() argument 397 return sem_init((sem_t *)sem,pshared,value); in ithread_sem_init()
|
D | ithread.h | 71 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value);
|
/external/valgrind/helgrind/ |
D | hg_intercepts.c | 1273 int pshared) { in pthread_spin_init_or_unlock_WRK() argument 1284 CALL_FN_W_WW(ret, fn, lock,pshared); in pthread_spin_init_or_unlock_WRK() 1300 pthread_spinlock_t* lock, int pshared) { in PTH_FUNC() argument 1301 return pthread_spin_init_or_unlock_WRK(lock, pshared); in PTH_FUNC() 1838 static int sem_init_WRK(sem_t* sem, int pshared, unsigned long value) in sem_init_WRK() argument 1845 fprintf(stderr, "<< sem_init(%p,%d,%lu) ", sem,pshared,value); in sem_init_WRK() 1849 CALL_FN_W_WWW(ret, fn, sem,pshared,value); in sem_init_WRK() 1867 sem_t* sem, int pshared, unsigned long value) { in PTH_FUNC() argument 1868 return sem_init_WRK(sem, pshared, value); in PTH_FUNC() 1872 sem_t* sem, int pshared, unsigned long value) { in PTH_FUNC() argument [all …]
|
/external/libvpx/libvpx/vp8/common/ |
D | threading.h | 103 static inline int sem_init(sem_t *sem, int pshared, unsigned int value) 105 DosCreateEventSem(NULL, &sem->event, pshared ? DC_SEM_SHARED : 0,
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_interceptors.cc | 1201 TSAN_INTERCEPTOR(int, pthread_spin_init, void *m, int pshared) { in TSAN_INTERCEPTOR() argument 1202 SCOPED_TSAN_INTERCEPTOR(pthread_spin_init, m, pshared); in TSAN_INTERCEPTOR() 1203 int res = REAL(pthread_spin_init)(m, pshared); in TSAN_INTERCEPTOR() 1372 TSAN_INTERCEPTOR(int, sem_init, void *s, int pshared, unsigned value) { in TSAN_INTERCEPTOR() argument 1373 SCOPED_TSAN_INTERCEPTOR(sem_init, s, pshared, value); in TSAN_INTERCEPTOR() 1374 int res = REAL(sem_init)(s, pshared, value); in TSAN_INTERCEPTOR()
|
/external/valgrind/memcheck/tests/darwin/ |
D | scalar.stderr.exp | 658 Syscall param sem_init(pshared) contains uninitialised byte(s)
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_common_interceptors.inc | 3546 INTERCEPTOR_PTHREAD_MUTEXATTR_GET(pshared, sizeof(int)) 3594 INTERCEPTOR_PTHREAD_RWLOCKATTR_GET(pshared, sizeof(int)) 3610 INTERCEPTOR_PTHREAD_CONDATTR_GET(pshared, sizeof(int)) 3626 INTERCEPTOR_PTHREAD_BARRIERATTR_GET(pshared, sizeof(int)) // !mac !android
|
/external/valgrind/coregrind/m_syswrap/ |
D | syswrap-darwin.c | 1808 int, pshared, unsigned int, value); in PRE()
|