Home
last modified time | relevance | path

Searched defs:sem (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/bionic/
Dsemaphore.cpp88 static inline atomic_uint* SEM_TO_ATOMIC_POINTER(sem_t* sem) { in SEM_TO_ATOMIC_POINTER()
103 int sem_init(sem_t* sem, int pshared, unsigned int value) { in sem_init()
214 int sem_wait(sem_t* sem) { in sem_wait()
233 static int __sem_timedwait(sem_t* sem, const timespec* abs_timeout, bool use_realtime_clock) { in __sem_timedwait()
270 int sem_timedwait(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait()
274 int sem_timedwait_monotonic_np(sem_t* sem, const timespec* abs_timeout) { in sem_timedwait_monotonic_np()
278 int sem_clockwait(sem_t* sem, clockid_t clock, const timespec* abs_timeout) { in sem_clockwait()
289 int sem_post(sem_t* sem) { in sem_post()
306 int sem_trywait(sem_t* sem) { in sem_trywait()
316 int sem_getvalue(sem_t* sem, int* sval) { in sem_getvalue()
/bionic/tests/
Dsemaphore_test.cpp71 static void SemWaitThreadTestFn(sem_t& sem) { in SemWaitThreadTestFn()
201 sem_t* sem = reinterpret_cast<sem_t*>(arg); in SemWaitEINTRThreadFn() local
Dmalloc_test.cpp1503 sem_t sem; in TEST() local
1510 auto* sem = reinterpret_cast<sem_t*>(ptr); in TEST() local