Home
last modified time | relevance | path

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

12

/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
Dpthread_barrierattr_setpshared.c42 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()
Dpthread_condattr_setpshared.c43 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()
Dpthread_rwlockattr_setpshared.c43 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()
Dpthread_mutexattr_setpshared.c42 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()
Dpthread_rwlockattr_getpshared.c44 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()
Dpthread_mutexattr_getpshared.c42 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()
Dpthread_condattr_getpshared.c43 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()
Dpthread_barrierattr_getpshared.c43 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()
Dpthread_spin_init.c42 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()
Dpthread_barrier_init.c54 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()
Dsem_init.c47 sem_init (sem_t * sem, int pshared, unsigned int value) in sem_init() argument
88 if (pshared != 0) in sem_init()
Dpthread.h1001 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);
Dimplement.h275 int pshared; member
330 int pshared; member
338 int pshared; member
380 int pshared; member
398 int pshared; member
Dpthread_rwlockattr_init.c77 rwa->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_rwlockattr_init()
Dpthread_barrierattr_init.c79 ba->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_barrierattr_init()
Dpthread_mutexattr_init.c79 ma->pshared = PTHREAD_PROCESS_PRIVATE; in pthread_mutexattr_init()
/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/main/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/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()
/external/valgrind/main/helgrind/
Dhg_intercepts.c1198 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/
Ddrd_pthread_intercepts.c814 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/
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/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,

12