/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_mutex_timedlock.c | 38 int rev = pthread_mutex_timedlock(&mutex, &ts); in pthread_mutex_timedlock_0100() 60 int rev = pthread_mutex_timedlock(&mutex, &ts); in pthread_mutex_timedlock_0200() 83 rev = pthread_mutex_timedlock(&mutex, &ts); in pthread_mutex_timedlock_0300()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_mutex_test.cpp | 184 EXPECT_EQ(ETIMEDOUT, pthread_mutex_timedlock(&mutex_, &timeSpec_)); in HWTEST_F() 186 EXPECT_EQ(EINVAL, pthread_mutex_timedlock(&mutex_, &timeSpec_)); in HWTEST_F() 190 EXPECT_EQ(0, pthread_mutex_timedlock(&mutex_, &timeSpec_)); in HWTEST_F() 196 * @tc.desc: Verify the correctness of the pthread_mutex_timedlock, especially whether the ETIMEOUT error can be 205 EXPECT_EQ(0, pthread_mutex_timedlock(&mutex_, &timeSpec_)); in HWTEST_F() 214 intptr_t joinResult = pthread_mutex_timedlock(mutexArg, &ts); in HWTEST_F()
|
/third_party/musl/Benchmark/musl/ |
H A D | libc_pthread.cpp | 140 pthread_mutex_timedlock(&mutex, &ts); in Bm_function_pthread_mutex_timedlock_fast() 157 pthread_mutex_timedlock(&mutex, &ts); in Bm_function_pthread_mutex_timedlock_errchk() 174 pthread_mutex_timedlock(&mutex, &ts); in Bm_function_pthread_mutex_timedlock_rec() 191 pthread_mutex_timedlock(&mutex, &ts); in Bm_function_pthread_mutex_timedlock_pi_fast() 208 pthread_mutex_timedlock(&mutex, &ts); in Bm_function_pthread_mutex_timedlock_pi_errchk() 225 pthread_mutex_timedlock(&mutex, &ts); in Bm_function_pthread_mutex_timedlock_pi_rec()
|
/third_party/musl/compat/time32/ |
H A D | pthread_mutex_timedlock_time32.c | 7 return pthread_mutex_timedlock(m, !ts32 ? 0 : (&(struct timespec){ in __pthread_mutex_timedlock_time32()
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | pthread.h | 114 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict); 236 __REDIR(pthread_mutex_timedlock, __pthread_mutex_timedlock_time64);
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | pthread.h | 114 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict); 236 __REDIR(pthread_mutex_timedlock, __pthread_mutex_timedlock_time64);
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | pthread.h | 114 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict); 236 __REDIR(pthread_mutex_timedlock, __pthread_mutex_timedlock_time64);
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | pthread.h | 107 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict); 228 __REDIR(pthread_mutex_timedlock, __pthread_mutex_timedlock_time64);
|
H A D | usr_lib_ops.h | 73 int (*pthread_mutex_timedlock)(pthread_mutex_t *mutex, const struct timespec *absTimeout); member
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_timedlock/ |
H A D | 5-2.c | 8 * Test that pthread_mutex_timedlock() 19 * 2. Call pthread_mutex_timedlock inside of the thread passing to it 21 * 3. Save the return value of pthread_mutex_timedlock(). It should be EINVAL. 37 pthread_mutex_timedlock(). */ 41 pthread_mutex_timedlock(). */ 53 /* Create a thread that will call pthread_mutex_timedlock */ in main() 65 /* Check the return status of pthread_mutex_timedlock(). */ in main() 98 ret = pthread_mutex_timedlock(&mutex, &timeout); in f1()
|
H A D | 5-1.c | 8 * Test that pthread_mutex_timedlock() 19 * 2. Call pthread_mutex_timedlock inside of the thread passing to it a negative number in the 21 * 3. Save the return value of pthread_mutex_timedlock(). It should be EINVAL. 37 pthread_mutex_timedlock(). */ 41 pthread_mutex_timedlock(). */ 53 /* Create a thread that will call pthread_mutex_timedlock */ in main() 65 /* Check the return status of pthread_mutex_timedlock(). */ in main() 98 ret = pthread_mutex_timedlock(&mutex, &timeout); in f1()
|
H A D | 5-3.c | 8 * Test that pthread_mutex_timedlock() 17 * 2. Inside the thread, call pthread_mutex_timedlock. It should block and return 19 * 3. Save the return value of pthread_mutex_timedlock() and cleanup mutex stuff. 33 pthread_mutex_timedlock(). */ 37 pthread_mutex_timedlock(). */ 55 /* Create a thread that will call pthread_mutex_timedlock */ in main() 78 /* Check the return status of pthread_mutex_timedlock(). */ in main() 105 ret = pthread_mutex_timedlock(&mutex, &timeout); in f1()
|
H A D | 4-1.c | 8 * Test that pthread_mutex_timedlock() 14 * 1. Create a thread, and call pthread_mutex_timedlock inside of it. It should not block 16 * 2. Save the return value of pthread_mutex_timedlock(). It should be 0. 29 pthread_mutex_timedlock(). */ 33 pthread_mutex_timedlock(). */ 45 /* Create a thread that will call pthread_mutex_timedlock */ in main() 57 /* Check the return status of pthread_mutex_timedlock(). */ in main() 82 ret = pthread_mutex_timedlock(&mutex, &timeout); in f1()
|
H A D | 2-1.c | 8 * Test that pthread_mutex_timedlock() 19 * 2. Create a thread, and call pthread_mutex_timedlock inside of it. It should block for 39 pthread_mutex_timedlock(). */ 45 pthread_mutex_timedlock(). */ 62 /* Create a thread that will call pthread_mutex_timedlock */ in main() 136 if (pthread_mutex_timedlock(&mutex, &timeout) != ETIMEDOUT) { in f1() 137 perror("Error in pthread_mutex_timedlock().\n"); in f1()
|
H A D | 1-1.c | 8 * Test that pthread_mutex_timedlock() 19 * 2. Create a thread, and call pthread_mutex_timedlock inside of it. It should block for 36 pthread_mutex_timedlock(). */ 42 pthread_mutex_timedlock(). */ 59 /* Create a thread that will call pthread_mutex_timedlock */ in main() 123 if (pthread_mutex_timedlock(&mutex, &timeout) != ETIMEDOUT) { in f1() 124 perror("Error in pthread_mutex_timedlock().\n"); in f1()
|
/third_party/musl/libc-test/src/regression/ |
H A D | pthread-robust-detach.c | 50 TX(r, pthread_mutex_timedlock(&mtx, &ts), EOWNERDEAD); in f()
|
/third_party/musl/porting/linux/user/include/ |
H A D | pthread.h | 137 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict); 409 __REDIR(pthread_mutex_timedlock, __pthread_mutex_timedlock_time64);
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | pthread.h | 178 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict); 281 __REDIR(pthread_mutex_timedlock, __pthread_mutex_timedlock_time64);
|
/third_party/musl/include/ |
H A D | pthread.h | 112 int pthread_mutex_timedlock(pthread_mutex_t *__restrict, const struct timespec *__restrict); 384 __REDIR(pthread_mutex_timedlock, __pthread_mutex_timedlock_time64);
|
/third_party/musl/porting/linux/user/src/thread/ |
H A D | pthread_mutex_timedlock.c | 116 weak_alias(__pthread_mutex_timedlock, pthread_mutex_timedlock)
|
/third_party/musl/porting/liteos_a/user/src/thread/ |
H A D | pthread_mutex_timedlock.c | 90 weak_alias(__pthread_mutex_timedlock, pthread_mutex_timedlock);
|
/third_party/musl/src/thread/ |
H A D | pthread_mutex_timedlock.c | 103 weak_alias(__pthread_mutex_timedlock, pthread_mutex_timedlock);
|
/third_party/musl/libc-test/src/common/ |
H A D | test.h | 74 #define __pthread_mutex_timedlock_time64 pthread_mutex_timedlock
|
/third_party/ltp/lib/ |
H A D | safe_pthread.c | 227 ret = pthread_mutex_timedlock(mutex, abstime); in safe_pthread_mutex_timedlock() 231 "pthread_mutex_timedlock(%p, {%lld, %ld}) failed: %s", in safe_pthread_mutex_timedlock()
|
/third_party/musl/libc-test/src/functionalext/fortify/ |
H A D | pthread_fortify_test.c | 91 *(int*)a[1] = pthread_mutex_timedlock(a[0], &ts); in pthread_mutex_timedlock_after_destroyed()
|