Home
last modified time | relevance | path

Searched refs:pshared (Results 1 – 19 of 19) sorted by relevance

/external/compiler-rt/test/sanitizer_common/TestCases/
Dpthread_mutexattr_get.cc12 int pshared; in main() local
13 res = pthread_mutexattr_getpshared(&ma, &pshared); in main()
15 assert(pshared == 1); in main()
/external/valgrind/helgrind/tests/
Dtc24_nonzero_sem.c49 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()
Dtc23_bogus_condwait.c97 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()
Dtc17_sembar.c221 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/
Dithread.c140 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()
Dithread.h89 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value);
/external/libhevc/common/
Dithread.c234 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()
Dithread.h69 WORD32 ithread_sem_init(void *sem, WORD32 pshared, UWORD32 value);
/external/valgrind/drd/
Ddrd_pthread_intercepts.c821 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));
Ddrd_semaphore.h41 const Word pshared,
Ddrd_semaphore.c170 const Word pshared, in DRD_()
/external/libmpeg2/common/
Dithread.c235 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()
Dithread.h71 WORD32 ithread_sem_init(void *sem,WORD32 pshared,UWORD32 value);
/external/valgrind/helgrind/
Dhg_intercepts.c1273 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/
Dthreading.h103 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/
Dtsan_interceptors.cc1201 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/
Dscalar.stderr.exp658 Syscall param sem_init(pshared) contains uninitialised byte(s)
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_interceptors.inc3546 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/
Dsyswrap-darwin.c1808 int, pshared, unsigned int, value); in PRE()