Home
last modified time | relevance | path

Searched refs:sem_t (Results 51 - 75 of 296) sorted by relevance

12345678910>>...12

/third_party/ltp/testcases/open_posix_testsuite/stress/semaphores/
H A Dmulti_con_pro.c32 sem_t full;
33 sem_t empty;
34 sem_t lock;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_signal/
H A D4-2.c82 static sem_t semsig1;
83 static sem_t semsig2;
92 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_equal/
H A D2-1.c81 static sem_t semsig1;
82 static sem_t semsig2;
91 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_join/
H A D6-3.c53 static sem_t semsig1;
54 static sem_t semsig2;
64 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_once/
H A D6-1.c80 static sem_t semsig1;
81 static sem_t semsig2;
90 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_setschedparam/
H A D5-1.c82 static sem_t semsig1;
83 static sem_t semsig2;
92 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_sigmask/
H A D18-1.c81 static sem_t semsig1;
82 static sem_t semsig2;
91 sem_t *sem;
/foundation/ability/ability_runtime/test/unittest/lifecycle_test/
H A Dlifecycle_test_base.h52 sem_t sem_;
82 static int SemTimedWaitMillis(long msecs, sem_t& sem) in SemTimedWaitMillis()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/ptrace/
H A Dchild.h17 sem_t sem_parent;
23 sem_t sem_child;
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
H A Dchild.h17 sem_t sem_parent;
23 sem_t sem_child;
/third_party/musl/libc-test/src/regression/
H A Dpthread_once-deadlock.c29 static int deadlocked(sem_t *s) in deadlocked()
52 sem_t s1,s2,s3; in main()
H A Dpthread_cancel-sem_wait.c11 extern int __sem_timedwait_time64(sem_t *__restrict, const struct timespec *__restrict);
13 static sem_t sem1, sem2;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
H A D3-3.c93 sem_t *sem; in main()
121 sem = (sem_t *) buf; in main()
H A D3-2.c93 sem_t *sem; in main()
121 sem = (sem_t *) buf; in main()
/third_party/musl/porting/liteos_m/user/hook/
H A Dlos_usr_libc.c271 int sem_init(sem_t *sem, int shared, unsigned int value) in sem_init()
276 int sem_destroy(sem_t *sem) in sem_destroy()
281 int sem_wait(sem_t *sem) in sem_wait()
286 int sem_post(sem_t *sem) in sem_post()
291 int sem_timedwait(sem_t *sem, const struct timespec *timeout) in sem_timedwait()
296 int sem_getvalue(sem_t *sem, int *currVal) in sem_getvalue()
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/
H A Dfnmatchndk132.cpp223 extern "C" int __sem_timedwait_time64(sem_t *__restrict, const struct timespec *__restrict);
226 sem_t *psem = (sem_t *)arg; in SemTimedWaitTime64Thread()
238 sem_t sem; in Sem_timedWait_time64()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
H A Dnstackx_dfile_session.h50 sem_t sendWait;
51 sem_t semNewCycle;
104 sem_t outboundQueueWait[NSTACKX_MULTI_PATH_NUM];
/third_party/ltp/testcases/kernel/syscalls/move_pages/
H A Dmove_pages_support.c330 sem_t *alloc_sem(int num) in alloc_sem()
332 sem_t *sem; in alloc_sem()
370 void free_sem(sem_t * sem, int num) in free_sem()
H A Dmove_pages05.c86 void child(void **pages, sem_t * sem) in child()
132 sem_t *sem; in main()
H A Dmove_pages11.c86 void child(void **pages, sem_t * sem) in child()
132 sem_t *sem; in main()
H A Dmove_pages03.c85 void child(void **pages, sem_t * sem) in child()
131 sem_t *sem; in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/
H A D4-1.c84 static sem_t semsig1;
85 static sem_t semsig2;
94 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
H A D4-3.c108 static sem_t semsig1;
109 static sem_t semsig2;
118 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/
H A D4-3.c55 static sem_t semsig1;
56 static sem_t semsig2;
65 sem_t *sem;
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/
H A Dsem_philosopher.c30 static sem_t ph[PH_NUM];
31 static sem_t lock;

Completed in 10 milliseconds

12345678910>>...12