/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/ |
D | pthread_barrierattr_setpshared.c | 42 pthread_barrierattr_setpshared (pthread_barrierattr_t * attr, int pshared) in pthread_barrierattr_setpshared() argument 87 ((pshared == PTHREAD_PROCESS_SHARED) || in pthread_barrierattr_setpshared() 88 (pshared == PTHREAD_PROCESS_PRIVATE))) in pthread_barrierattr_setpshared() 90 if (pshared == PTHREAD_PROCESS_SHARED) in pthread_barrierattr_setpshared() 96 pshared = PTHREAD_PROCESS_PRIVATE; in pthread_barrierattr_setpshared() 110 (*attr)->pshared = pshared; in pthread_barrierattr_setpshared()
|
D | pthread_condattr_setpshared.c | 43 pthread_condattr_setpshared (pthread_condattr_t * attr, int pshared) in pthread_condattr_setpshared() argument 88 && ((pshared == PTHREAD_PROCESS_SHARED) in pthread_condattr_setpshared() 89 || (pshared == PTHREAD_PROCESS_PRIVATE))) in pthread_condattr_setpshared() 91 if (pshared == PTHREAD_PROCESS_SHARED) in pthread_condattr_setpshared() 96 pshared = PTHREAD_PROCESS_PRIVATE; in pthread_condattr_setpshared() 108 (*attr)->pshared = pshared; in pthread_condattr_setpshared()
|
D | pthread_rwlockattr_setpshared.c | 43 pthread_rwlockattr_setpshared (pthread_rwlockattr_t * attr, int pshared) in pthread_rwlockattr_setpshared() argument 88 ((pshared == PTHREAD_PROCESS_SHARED) || in pthread_rwlockattr_setpshared() 89 (pshared == PTHREAD_PROCESS_PRIVATE))) in pthread_rwlockattr_setpshared() 91 if (pshared == PTHREAD_PROCESS_SHARED) in pthread_rwlockattr_setpshared() 97 pshared = PTHREAD_PROCESS_PRIVATE; in pthread_rwlockattr_setpshared() 111 (*attr)->pshared = pshared; in pthread_rwlockattr_setpshared()
|
D | pthread_mutexattr_setpshared.c | 42 pthread_mutexattr_setpshared (pthread_mutexattr_t * attr, int pshared) in pthread_mutexattr_setpshared() argument 87 ((pshared == PTHREAD_PROCESS_SHARED) || in pthread_mutexattr_setpshared() 88 (pshared == PTHREAD_PROCESS_PRIVATE))) in pthread_mutexattr_setpshared() 90 if (pshared == PTHREAD_PROCESS_SHARED) in pthread_mutexattr_setpshared() 96 pshared = PTHREAD_PROCESS_PRIVATE; in pthread_mutexattr_setpshared() 110 (*attr)->pshared = pshared; in pthread_mutexattr_setpshared()
|
D | pthread_rwlockattr_getpshared.c | 44 int *pshared) in pthread_rwlockattr_getpshared() argument 85 if ((attr != NULL && *attr != NULL) && (pshared != NULL)) in pthread_rwlockattr_getpshared() 87 *pshared = (*attr)->pshared; in pthread_rwlockattr_getpshared()
|
D | pthread_mutexattr_getpshared.c | 42 pthread_mutexattr_getpshared (const pthread_mutexattr_t * attr, int *pshared) in pthread_mutexattr_getpshared() argument 83 if ((attr != NULL && *attr != NULL) && (pshared != NULL)) in pthread_mutexattr_getpshared() 85 *pshared = (*attr)->pshared; in pthread_mutexattr_getpshared()
|
D | pthread_condattr_getpshared.c | 43 pthread_condattr_getpshared (const pthread_condattr_t * attr, int *pshared) in pthread_condattr_getpshared() argument 85 if ((attr != NULL && *attr != NULL) && (pshared != NULL)) in pthread_condattr_getpshared() 87 *pshared = (*attr)->pshared; in pthread_condattr_getpshared()
|
D | pthread_barrierattr_getpshared.c | 43 int *pshared) in pthread_barrierattr_getpshared() argument 84 if ((attr != NULL && *attr != NULL) && (pshared != NULL)) in pthread_barrierattr_getpshared() 86 *pshared = (*attr)->pshared; in pthread_barrierattr_getpshared()
|
D | pthread_spin_init.c | 42 pthread_spin_init (pthread_spinlock_t * lock, int pshared) in pthread_spin_init() argument 60 if (pshared == PTHREAD_PROCESS_SHARED) in pthread_spin_init() 102 ma->pshared = pshared; in pthread_spin_init()
|
D | pthread_barrier_init.c | 54 b->pshared = (attr != NULL && *attr != NULL in pthread_barrier_init() 55 ? (*attr)->pshared : PTHREAD_PROCESS_PRIVATE); in pthread_barrier_init() 60 if (0 == sem_init (&(b->semBarrierBreeched), b->pshared, 0)) in pthread_barrier_init()
|
D | sem_init.c | 47 sem_init (sem_t * sem, int pshared, unsigned int value) in sem_init() argument 88 if (pshared != 0) in sem_init()
|
D | pthread.h | 1001 int *pshared); 1004 int pshared); 1025 int *pshared); 1028 int pshared); 1052 PTW32_DLLPORT int PTW32_CDECL pthread_spin_init (pthread_spinlock_t * lock, int pshared); 1081 int *pshared); 1084 int pshared); 1149 int *pshared); 1152 int pshared);
|
D | implement.h | 275 int pshared; member 330 int pshared; member 338 int pshared; member 380 int pshared; member 398 int pshared; member
|
D | pthread_rwlockattr_init.c | 77 rwa->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_rwlockattr_init()
|
D | pthread_barrierattr_init.c | 79 ba->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_barrierattr_init()
|
D | pthread_mutexattr_init.c | 79 ma->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_mutexattr_init()
|
/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/main/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/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()
|
/external/valgrind/main/helgrind/ |
D | hg_intercepts.c | 1198 int pshared) { in pthread_spin_init_or_unlock_WRK() argument 1209 CALL_FN_W_WW(ret, fn, lock,pshared); in pthread_spin_init_or_unlock_WRK() 1225 pthread_spinlock_t* lock, int pshared) { in PTH_FUNC() argument 1226 return pthread_spin_init_or_unlock_WRK(lock, pshared); in PTH_FUNC() 1763 static int sem_init_WRK(sem_t* sem, int pshared, unsigned long value) in sem_init_WRK() argument 1770 fprintf(stderr, "<< sem_init(%p,%d,%lu) ", sem,pshared,value); in sem_init_WRK() 1774 CALL_FN_W_WWW(ret, fn, sem,pshared,value); in sem_init_WRK() 1792 sem_t* sem, int pshared, unsigned long value) { in PTH_FUNC() argument 1793 return sem_init_WRK(sem, pshared, value); in PTH_FUNC() 1797 sem_t* sem, int pshared, unsigned long value) { in PTH_FUNC() argument [all …]
|
/external/valgrind/main/drd/ |
D | drd_pthread_intercepts.c | 814 int pthread_spin_init_intercept(pthread_spinlock_t *spinlock, int pshared) in pthread_spin_init_intercept() argument 821 CALL_FN_W_WW(ret, fn, spinlock, pshared); in pthread_spin_init_intercept() 828 (pthread_spinlock_t *spinlock, int pshared), (spinlock, pshared)); 960 int sem_init_intercept(sem_t *sem, int pshared, unsigned int value) in sem_init_intercept() argument 966 sem, pshared, value, 0, 0); in sem_init_intercept() 967 CALL_FN_W_WWW(ret, fn, sem, pshared, value); in sem_init_intercept() 974 (sem_t *sem, int pshared, unsigned int value), (sem, pshared, value));
|
/external/chromium_org/third_party/libvpx/source/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/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,
|