/third_party/musl/libc-test/src/functionalext/thread/ |
H A D | pthread_rwlock_wrlock.c | 29 EXPECT_EQ(pthread_rwlock_wrlock(&w_rwlock1), 0); in RwlockClockRealTimeOut1() 58 EXPECT_EQ(pthread_rwlock_wrlock(&w_rwlock2), 0); in RwlockClockRealTimeWait1() 77 EXPECT_EQ(pthread_rwlock_wrlock(&w_rwlock5), 0); in RwlockClockMonotonicTimeOut1() 108 EXPECT_EQ(pthread_rwlock_wrlock(&w_rwlock6), 0); in RwlockClockMonotonicTimeWait1() 126 EXPECT_EQ(pthread_rwlock_wrlock(&w_rwlock3), 0); in RwlockMonotonicTime1() 157 EXPECT_EQ(pthread_rwlock_wrlock(&w_rwlock4), 0); in RwlockMonotonicTime3() 185 EXPECT_EQ(pthread_rwlock_wrlock(&w), 0); in pthread_rwlock_timedwrlock_0010() 203 EXPECT_EQ(pthread_rwlock_wrlock(&w), 0); in pthread_rwlock_timedwrlock_0020() 222 EXPECT_EQ(pthread_rwlock_wrlock(&w), 0); in pthread_rwlock_timedwrlock_0030() 240 EXPECT_EQ(pthread_rwlock_wrlock( in pthread_rwlock_timedwrlock_0040() [all...] |
H A D | pthread_rwlock_rdlock.c | 25 TEST(pthread_rwlock_wrlock(&g_rwlock1) == 0); in PthreadClockRdlockNoOutRealTimeW1() 65 TEST(pthread_rwlock_wrlock(&g_rwlock2) == 0); in PthreadClockRdlockOutRealTimeW1() 110 TEST(pthread_rwlock_wrlock(&g_rwlock3) == 0); in PthreadClockRdlockNoOutMonoTimeW1() 150 TEST(pthread_rwlock_wrlock(&g_rwlock4) == 0); in PthreadClockRdlockOutMonoTimeW1() 194 TEST(pthread_rwlock_wrlock(&g_rwlock5) == 0); in PthreadTimedRdlockMonoNPNoOutW1() 234 TEST(pthread_rwlock_wrlock(&g_rwlock6) == 0); in PthreadTimedRdlockMonoNPOutW1()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_wrlock/ |
H A D | 3-1.c | 7 * Test pthread_rwlock_wrlock(pthread_rwlock_t *rwlock) 14 * 2. Perform a write lock via pthread_rwlock_wrlock() 15 * 3. Perform a write lock _again_ with pthread_rwlock_wrlock without first unlocking rwlock() 40 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main() 41 printf("Error at pthread_rwlock_wrlock()\n"); in main() 50 rc = pthread_rwlock_wrlock(&rwlock); in main() 52 /* Clean up before we test the return value of pthread_rwlock_wrlock() */ in main()
|
H A D | 1-1.c | 7 * Test pthread_rwlock_wrlock(pthread_rwlock_t *rwlock) 51 rc = pthread_rwlock_wrlock(&rwlock); in fn_wr() 61 ("Test FAILED: Error in pthread_rwlock_wrlock(), error code: %d\n", in fn_wr() 143 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
|
H A D | 2-1.c | 6 * Test pthread_rwlock_wrlock(pthread_rwlock_t * rwlock) 71 rc = pthread_rwlock_wrlock(&rwlock); in th_fn() 74 ("Test FAILED: sig_thread: Error at pthread_rwlock_wrlock(), error code:%d\n", in th_fn() 102 rc = pthread_rwlock_wrlock(&rwlock); in main() 105 ("main: Error at pthread_rwlock_wrlock(), error code:%d\n", in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_unlock/ |
H A D | 2-1.c | 50 if (pthread_rwlock_wrlock(&rwlock) != 0) { in fn_wr() 81 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main() 82 printf("main: Error at pthread_rwlock_wrlock()\n"); in main()
|
H A D | 3-1.c | 120 rc = pthread_rwlock_wrlock(&rwlock); in fn_wr_1() 157 rc = pthread_rwlock_wrlock(&rwlock); in fn_wr_2() 205 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
|
H A D | 1-1.c | 89 if (pthread_rwlock_wrlock(&rwlock) != 0) { in fn_rd()
|
/third_party/musl/src/thread/ |
H A D | pthread_rwlock_wrlock.c | 8 weak_alias(__pthread_rwlock_wrlock, pthread_rwlock_wrlock);
|
H A D | lock_ptc.c | 7 pthread_rwlock_wrlock(&lock); in __inhibit_ptc()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/ |
H A D | thread_rwlock_test.cpp | 107 EXPECT_EQ(0, pthread_rwlock_wrlock(&arg->lock_)); in TestPthreadRwlockWakeupWriter() 134 RwlockHandleControl* rhc = new RwlockHandleControl(&pthread_rwlock_wrlock); in HWTEST_F() 378 EXPECT_EQ(0, pthread_rwlock_wrlock(&wrLock)); in HWTEST_F() 417 EXPECT_EQ(0, pthread_rwlock_wrlock(&wrLock)); in HWTEST_F()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_init/ |
H A D | 3-1.c | 59 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_rwlock_tryrdlock.c | 52 int ret = pthread_rwlock_wrlock(&rwlock); in pthread_rwlock_tryrdlock_0200()
|
H A D | pthread_rwlock_trywrlock.c | 52 int ret = pthread_rwlock_wrlock(&rwlock); in pthread_rwlock_trywrlock_0200()
|
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_rwlock-ebusy.c | 38 T(pthread_rwlock_wrlock(&rw)); in main()
|
/third_party/mesa3d/src/util/ |
H A D | rwlock.h | 95 return pthread_rwlock_wrlock(&rwlock->rwlock); in u_rwlock_wrlock()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/ |
H A D | 1-1.c | 130 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/ |
H A D | 2-1.c | 100 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main() 101 printf("Error at pthread_rwlock_wrlock()\n"); in main()
|
H A D | 6-2.c | 133 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main() 134 printf("pthread_rwlock_wrlock()\n"); in main()
|
H A D | 6-1.c | 119 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main() 120 printf("main: Error at pthread_rwlock_wrlock()\n"); in main()
|
H A D | 3-1.c | 157 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/ |
H A D | 1-1.c | 149 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/ |
H A D | 2-1.c | 16 * 2. Main thread locks 'rwlock' for writing with pthread_rwlock_wrlock() 104 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main() 105 printf("Error at pthread_rwlock_wrlock()\n"); in main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | RWMutex.cpp | 96 int errorcode = pthread_rwlock_wrlock(rwlock);
|
/third_party/elfutils/libdw/ |
H A D | libdw_alloc.c | 60 pthread_rwlock_wrlock (&dbg->mem_rwl); in __libdw_alloc_tail()
|