Home
last modified time | relevance | path

Searched refs:pthread_rwlock_init (Results 1 – 25 of 81) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/thread/
Dpthread_rwlock_wrlock.c161 EXPECT_EQ(pthread_rwlock_init(&w, NULL), 0); in pthread_rwlock_timedwrlock_0010()
179 EXPECT_EQ(pthread_rwlock_init(&w, NULL), 0); in pthread_rwlock_timedwrlock_0020()
198 EXPECT_EQ(pthread_rwlock_init(&w, NULL), 0); in pthread_rwlock_timedwrlock_0030()
216 EXPECT_EQ(pthread_rwlock_init(&w, NULL), 0); in pthread_rwlock_timedwrlock_0040()
231 EXPECT_EQ(pthread_rwlock_init(&w_rwlock2, NULL), 0); in pthread_rwlock_timedwrlock_0050()
249 EXPECT_EQ(pthread_rwlock_init(&w_rwlock1, NULL), 0); in pthread_rwlock_timedwrlock_0060()
267 EXPECT_EQ(pthread_rwlock_init(&w_rwlock5, NULL), 0); in pthread_rwlock_timedwrlock_0070()
285 EXPECT_EQ(pthread_rwlock_init(&w_rwlock6, NULL), 0); in pthread_rwlock_timedwrlock_0080()
303 EXPECT_EQ(pthread_rwlock_init(&w_rwlock3, NULL), 0); in pthread_rwlock_timedwrlock_0090()
321 EXPECT_EQ(pthread_rwlock_init(&w_rwlock4, NULL), 0); in pthread_rwlock_timedwrlock_0100()
Dpthread_rwlock_rdlock.c49 TEST(pthread_rwlock_init(&g_rwlock1, NULL) == 0); in pthread_rwlock_clockrdlock_0010()
93 TEST(pthread_rwlock_init(&g_rwlock2, NULL) == 0); in pthread_rwlock_clockrdlock_0020()
134 TEST(pthread_rwlock_init(&g_rwlock3, NULL) == 0); in pthread_rwlock_clockrdlock_0030()
178 TEST(pthread_rwlock_init(&g_rwlock4, NULL) == 0); in pthread_rwlock_clockrdlock_0040()
218 TEST(pthread_rwlock_init(&g_rwlock5, NULL) == 0); in pthread_rwlock_timedrdlock_monotonic_np_0010()
262 TEST(pthread_rwlock_init(&g_rwlock6, NULL) == 0); in pthread_rwlock_timedrdlock_monotonic_np_0020()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_rwlock_timedrdlock.c31 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedrdlock_0100()
55 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedrdlock_0200()
79 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedrdlock_0300()
103 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedrdlock_time64_0100()
Dpthread_rwlock_timedwrlock.c31 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedwrlock_0100()
55 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedwrlock_0200()
79 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedwrlock_0300()
103 pthread_rwlock_init(&rwlock, NULL); in pthread_rwlock_timedwrlock_time64_0100()
Dpthread_rwlock_rdlock_sup.c52 TEST(pthread_rwlock_init(&g_rwlock1, NULL) == 0); in pthread_rwlock_rdlock_0100()
66 TEST(pthread_rwlock_init(&g_rwlock1, NULL) == 0); in pthread_rwlock_rdlock_0200()
82 TEST(pthread_rwlock_init(&g_rwlock1, NULL) == 0); in pthread_rwlock_rdlock_0300()
Dpthread_rwlock_tryrdlock.c29 pthread_rwlock_init(&rwlock, &rwlockattr); in pthread_rwlock_tryrdlock_0100()
50 pthread_rwlock_init(&rwlock, &rwlockattr); in pthread_rwlock_tryrdlock_0200()
Dpthread_rwlock_trywrlock.c29 pthread_rwlock_init(&rwlock, &rwlockattr); in pthread_rwlock_trywrlock_0100()
50 pthread_rwlock_init(&rwlock, &rwlockattr); in pthread_rwlock_trywrlock_0200()
Dpthread_rwlock_destroy.c29 pthread_rwlock_init(&rw_lock, NULL); in pthread_rwlock_destroy_0100()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/
D6-1.c33 rc = pthread_rwlock_init(&rwlock, NULL); in main()
42 rc = pthread_rwlock_init(&rwlock, NULL); in main()
Dcoverage.txt1 This document defines the coverage for the pthread_rwlock_init() function:
D3-1.c39 if (pthread_rwlock_init(&rwlock, &rwlockattr) != 0) { in main()
D2-1.c60 rc = pthread_rwlock_init(&rwlock, NULL); in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
Dthread_rwlock_test.cpp97 EXPECT_EQ(0, pthread_rwlock_init(&arg->lock_, nullptr)); in TestPthreadRwlockWakeupWriter()
347 EXPECT_EQ(0, pthread_rwlock_init(&wrLock, nullptr));
361 EXPECT_EQ(0, pthread_rwlock_init(&wrLock, nullptr));
377 EXPECT_EQ(0, pthread_rwlock_init(&wrLock, nullptr));
392 EXPECT_EQ(0, pthread_rwlock_init(&wrLock, nullptr));
411 EXPECT_EQ(0, pthread_rwlock_init(&wrLock, nullptr));
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlockattr_init/
D2-1.c37 if ((rc = pthread_rwlock_init(&rwl1, &rwa)) != 0) { in main()
42 if ((rc = pthread_rwlock_init(&rwl2, &rwa)) != 0) { in main()
/third_party/musl/Benchmark/musl/
Dlibc_pthread.cpp233 pthread_rwlock_init(&rwlock, nullptr); in Bm_function_pthread_rwlock_tryrdlock()
287 pthread_rwlock_init(&rwlock, nullptr); in Bm_function_pthread_rwlock_init()
297 pthread_rwlock_init(&rwlock, nullptr); in Bm_function_pthread_rwlock_init_destroy()
306 pthread_rwlock_init(&lock, nullptr); in BM_pthread_rwlock_tryread()
320 pthread_rwlock_init(&lock, nullptr); in BM_pthread_rwlock_trywrite()
351 pthread_rwlock_init(&lock, nullptr); in Bm_function_pthread_rwlock_timedrdlock()
369 pthread_rwlock_init(&lock, nullptr); in Bm_function_pthread_rwlock_timedwrlock()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
D5-1.c54 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in fn_wr_1()
99 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in fn_wr_2()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
D5-1.c47 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in fn_rd_1()
92 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in fn_rd_2()
/third_party/musl/src/thread/
Dpthread_rwlock_init.c3 int pthread_rwlock_init(pthread_rwlock_t *restrict rw, const pthread_rwlockattr_t *restrict a) in pthread_rwlock_init() function
/third_party/musl/porting/linux/user/src/thread/
Dpthread_rwlock_init.c3 int pthread_rwlock_init(pthread_rwlock_t *restrict rw, const pthread_rwlockattr_t *restrict a) in pthread_rwlock_init() function
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_destroy/
D1-1.c30 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in main()
D3-1.c28 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
D5-1.c32 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/
D3-1.c32 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in main()
/third_party/mesa3d/src/util/
Drwlock.h56 return pthread_rwlock_init(&rwlock->rwlock, NULL); in u_rwlock_init()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/
D4-2.c64 if (pthread_rwlock_init(&rwlock, NULL) != 0) { in main()

1234