Home
last modified time | relevance | path

Searched refs:pthread_rwlock_wrlock (Results 1 - 25 of 63) sorted by relevance

123

/third_party/musl/libc-test/src/functionalext/thread/
H A Dpthread_rwlock_wrlock.c29 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 Dpthread_rwlock_rdlock.c25 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 D3-1.c7 * 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 D1-1.c7 * 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 D2-1.c6 * 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 D2-1.c50 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 D3-1.c120 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 D1-1.c89 if (pthread_rwlock_wrlock(&rwlock) != 0) { in fn_rd()
/third_party/musl/src/thread/
H A Dpthread_rwlock_wrlock.c8 weak_alias(__pthread_rwlock_wrlock, pthread_rwlock_wrlock);
H A Dlock_ptc.c7 pthread_rwlock_wrlock(&lock); in __inhibit_ptc()
/third_party/musl/libc-test/src/functionalext/supplement/thread/thread_gtest/
H A Dthread_rwlock_test.cpp107 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 D3-1.c59 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
H A Dpthread_rwlock_tryrdlock.c52 int ret = pthread_rwlock_wrlock(&rwlock); in pthread_rwlock_tryrdlock_0200()
H A Dpthread_rwlock_trywrlock.c52 int ret = pthread_rwlock_wrlock(&rwlock); in pthread_rwlock_trywrlock_0200()
/third_party/musl/libc-test/src/regression/
H A Dpthread_rwlock-ebusy.c38 T(pthread_rwlock_wrlock(&rw)); in main()
/third_party/mesa3d/src/util/
H A Drwlock.h95 return pthread_rwlock_wrlock(&rwlock->rwlock); in u_rwlock_wrlock()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_rdlock/
H A D1-1.c130 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedrdlock/
H A D2-1.c100 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
101 printf("Error at pthread_rwlock_wrlock()\n"); in main()
H A D6-2.c133 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
134 printf("pthread_rwlock_wrlock()\n"); in main()
H A D6-1.c119 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
120 printf("main: Error at pthread_rwlock_wrlock()\n"); in main()
H A D3-1.c157 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_tryrdlock/
H A D1-1.c149 if (pthread_rwlock_wrlock(&rwlock) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_rwlock_timedwrlock/
H A D2-1.c16 * 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 DRWMutex.cpp96 int errorcode = pthread_rwlock_wrlock(rwlock);
/third_party/elfutils/libdw/
H A Dlibdw_alloc.c60 pthread_rwlock_wrlock (&dbg->mem_rwl); in __libdw_alloc_tail()

Completed in 8 milliseconds

123