Home
last modified time | relevance | path

Searched refs:_sem (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Python/
Dthread_beos.h10 sem_id _sem; member
24 ben->_sem = create_sem( 0, name ); in benaphore_create()
26 if( ben->_sem < B_NO_ERROR ) { in benaphore_create()
38 if( ben->_sem >= B_NO_ERROR ) { in benaphore_destroy()
42 status_t del_retval = delete_sem( ben->_sem ); in benaphore_destroy()
56 return acquire_sem( ben->_sem ); in benaphore_lock()
67 status_t retval = acquire_sem_etc( ben->_sem, 1, B_TIMEOUT, micros ); in benaphore_timedlock()
91 return release_sem( ben->_sem ); in benaphore_unlock()
/external/valgrind/helgrind/
Dhelgrind.h285 #define VALGRIND_HG_SEM_INIT_POST(_sem, _value) \ argument
287 void*, (_sem), unsigned long, (_value))
291 #define VALGRIND_HG_SEM_WAIT_POST(_sem) \ argument
293 void*,(_sem))
297 #define VALGRIND_HG_SEM_POST_PRE(_sem) \ argument
299 void*,(_sem))
302 #define VALGRIND_HG_SEM_DESTROY_PRE(_sem) \ argument
304 void*, (_sem))
/external/python/cpython2/Lib/multiprocessing/
Dqueues.py69 self._sem = BoundedSemaphore(maxsize)
79 self._rlock, self._wlock, self._sem, self._opid)
83 self._rlock, self._wlock, self._sem, self._opid) = state
101 if not self._sem.acquire(block, timeout):
118 self._sem.release()
136 self._sem.release()
143 return self._maxsize - self._sem._semlock._get_value()
149 return self._sem._semlock._is_zero()
313 if not self._sem.acquire(block, timeout):
/external/llvm/test/CodeGen/X86/
D2010-09-16-asmcrash.ll25 %struct._sem = type { i32, %struct._usem }
28 define void @_sem_timedwait(%struct._sem* noalias %sem) nounwind ssp {
33 %tmp4 = getelementptr inbounds %struct._sem, %struct._sem* %sem, i64 0, i32 1, i32 1
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2010-09-16-asmcrash.ll25 %struct._sem = type { i32, %struct._usem }
28 define void @_sem_timedwait(%struct._sem* noalias %sem) nounwind ssp {
33 %tmp4 = getelementptr inbounds %struct._sem* %sem, i64 0, i32 1, i32 1
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c865 static void radv_amdgpu_destroy_sem(struct radeon_winsys_sem *_sem) in radv_amdgpu_destroy_sem() argument
867 amdgpu_semaphore_handle sem = (amdgpu_semaphore_handle)_sem; in radv_amdgpu_destroy_sem()