/third_party/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
H A D | multi_con_pro.c | 32 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 D | 4-2.c | 82 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 D | 2-1.c | 81 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 D | 6-3.c | 53 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 D | 6-1.c | 80 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 D | 5-1.c | 82 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 D | 18-1.c | 81 static sem_t semsig1; 82 static sem_t semsig2; 91 sem_t *sem;
|
/foundation/ability/ability_runtime/test/unittest/lifecycle_test/ |
H A D | lifecycle_test_base.h | 52 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 D | child.h | 17 sem_t sem_parent; 23 sem_t sem_child;
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
H A D | child.h | 17 sem_t sem_parent; 23 sem_t sem_child;
|
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_once-deadlock.c | 29 static int deadlocked(sem_t *s) in deadlocked() 52 sem_t s1,s2,s3; in main()
|
H A D | pthread_cancel-sem_wait.c | 11 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 D | 3-3.c | 93 sem_t *sem; in main() 121 sem = (sem_t *) buf; in main()
|
H A D | 3-2.c | 93 sem_t *sem; in main() 121 sem = (sem_t *) buf; in main()
|
/third_party/musl/porting/liteos_m/user/hook/ |
H A D | los_usr_libc.c | 271 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 D | fnmatchndk132.cpp | 223 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 D | nstackx_dfile_session.h | 50 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 D | move_pages_support.c | 330 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 D | move_pages05.c | 86 void child(void **pages, sem_t * sem) in child() 132 sem_t *sem; in main()
|
H A D | move_pages11.c | 86 void child(void **pages, sem_t * sem) in child() 132 sem_t *sem; in main()
|
H A D | move_pages03.c | 85 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 D | 4-1.c | 84 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 D | 4-3.c | 108 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 D | 4-3.c | 55 static sem_t semsig1; 56 static sem_t semsig2; 65 sem_t *sem;
|
/third_party/ltp/testcases/open_posix_testsuite/functional/semaphores/ |
H A D | sem_philosopher.c | 30 static sem_t ph[PH_NUM]; 31 static sem_t lock;
|