Searched refs:sem_init (Results 1 - 25 of 54) sorted by relevance

123

/external/valgrind/main/none/tests/
H A Dsemlimit.c12 sem_init(&s[i], 0, 0);
/external/valgrind/main/drd/tests/
H A Dtc18_semabuse.stderr.exp3 at 0x........: sem_init (drd_pthread_intercepts.c:?)
6 at 0x........: sem_init (drd_pthread_intercepts.c:?)
13 at 0x........: sem_init (drd_pthread_intercepts.c:?)
H A Dannotate_sem.c26 static void sem_init(sem_t *p, unsigned value) function
82 sem_init(&s_sem, 1);
H A Dsem_as_mutex.c56 sem_init(&s_sem, 0, 1);
H A Dsem_wait.cpp18 if (sem_init(&mySemaphore, 0, 0) != 0)
19 throw FailedOn("sem_init", errno);
H A Dpth_detached_sem.c53 sem_init(&s_sem, 0, 0);
/external/valgrind/main/helgrind/tests/
H A Dtc18_semabuse.c22 /* Do sem_init with huge initial count */
23 r= sem_init(&s1, 0, ~0);
26 r= sem_init(&s1, 0, 0);
H A Dtc18_semabuse.stderr.exp8 Thread #x's call to sem_init failed
11 by 0x........: sem_init@* (hg_intercepts.c:...)
H A Dtc24_nonzero_sem.c56 if (sem_init(s, pshared, count) < 0) {
57 perror("sem_init");
/external/chromium_org/native_client_sdk/src/libraries/third_party/pthreads-win32/
H A Dpthread_barrier_destroy.c88 (void) sem_init (&(b->semBarrierBreeched), b->pshared, 0);
H A Dpthread_barrier_init.c60 if (0 == sem_init (&(b->semBarrierBreeched), b->pshared, 0))
H A Dpthread_cond_init.c102 if (sem_init (&(cv->semBlockLock), 0, 1) != 0)
108 if (sem_init (&(cv->semBlockQueue), 0, 0) != 0)
H A Dsem_init.c4 * Module: sem_init.c
47 sem_init (sem_t * sem, int pshared, unsigned int value) function
169 } /* sem_init */
H A Dsemaphore.h132 PTW32_DLLPORT int __cdecl sem_init (sem_t * sem,
/external/compiler-rt/test/tsan/
H A Dvptr_benign_race.cc8 sem_init(&sem_, 0, 0);
H A Dvptr_harmful_race.cc9 sem_init(&sem_, 0, 0);
H A Dvptr_harmful_race2.cc9 sem_init(&sem_, 0, 0);
H A Dvptr_harmful_race3.cc9 sem_init(&sem_, 0, 0);
/external/chromium_org/native_client_sdk/src/libraries/sdk_util/
H A Dthread_pool.cc23 status = sem_init(&work_sem_, 0, 0);
28 status = sem_init(&done_sem_, 0, 0);
/external/bluetooth/bluedroid/test/suite/support/
H A Dcallbacks.c90 sem_init(&callback_data[i].semaphore, 0, 0);
/external/deqp/framework/delibs/dethread/unix/
H A DdeSemaphoreUnix.c43 if (sem_init(sem, 0, initialValue) != 0)
/external/qemu/distrib/sdl-1.2.15/src/thread/pthread/
H A DSDL_syssem.c48 if ( sem_init(&sem->sem, 0, initial_value) < 0 ) {
49 SDL_SetError("sem_init() failed");
/external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
H A DSDL_syssem.c93 if ( sem_init(&sem->sem_data, 0, initial_value) < 0 ) {
94 SDL_SetError("sem_init() failed");
/external/valgrind/main/memcheck/tests/
H A Derr_disable4.c76 r = sem_init(&sem, 0, 0); assert(!r);
/external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
H A Dthreading.h88 #define sem_init(sem, sem_attr1, sem_init_value) (int)((*sem = CreateSemaphore(NULL,0,32768,NULL))==NULL) macro
103 static inline int sem_init(sem_t *sem, int pshared, unsigned int value) function
168 #define sem_init(X,Y,Z) semaphore_create(mach_task_self(), X, SYNC_POLICY_FIFO, Z) macro

Completed in 424 milliseconds

123