Home
last modified time | relevance | path

Searched refs:pthread_mutex_init (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/third_party/musl/Benchmark/musl/
Dlibc_pthread.cpp46 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_trylock_fast()
61 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_trylock_errchk()
76 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_trylock_rec()
91 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_trylock_pi_fast()
106 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_trylock_pi_errorcheck()
121 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_trylock_pi_rec()
137 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_timedlock_fast()
154 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_timedlock_errchk()
171 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_timedlock_rec()
188 pthread_mutex_init(&mutex, &mutexAttr); in Bm_function_pthread_mutex_timedlock_pi_fast()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_mutex_timedlock.c36 pthread_mutex_init(&mutex, &mutex_attr); in pthread_mutex_timedlock_0100()
59 pthread_mutex_init(&mutex, &mutex_attr); in pthread_mutex_timedlock_0200()
80 pthread_mutex_init(&mutex, &mutex_attr); in pthread_mutex_timedlock_0300()
103 pthread_mutex_init(&mutex, &mutex_attr); in pthread_mutex_timedlock_time64_0100()
Dpthread_mutex_lock.c70 pthread_mutex_init(&g_mutex, NULL); in pthread_mutex_lock_0100()
85 pthread_mutex_init(&g_mutex, (pthread_mutexattr_t *)(&type)); in pthread_mutex_lock_0200()
100 pthread_mutex_init(&g_mutex, (pthread_mutexattr_t *)(&type)); in pthread_mutex_lock_0300()
117 pthread_mutex_init(&g_mutex, (pthread_mutexattr_t *)(&type)); in pthread_mutex_lock_0400()
Dpthread_mutex_init.c30 int32_t ret = pthread_mutex_init(&g_mutex, NULL); in pthread_mutex_init_0100()
42 int32_t ret = pthread_mutex_init(&g_mutex, (pthread_mutexattr_t *)(&type)); in pthread_mutex_init_0200()
54 int32_t ret = pthread_mutex_init(&g_mutex, (pthread_mutexattr_t *)(&type)); in pthread_mutex_init_0300()
Dpthread_mutex_trylock.c29 pthread_mutex_init(&g_mutex, NULL); in pthread_mutex_trylock_0100()
42 pthread_mutex_init(&g_mutex, NULL); in pthread_mutex_trylock_0200()
Dpthread_mutex_unlock.c52 pthread_mutex_init(&g_mutex, (pthread_mutexattr_t *)(&type)); in pthread_mutex_un_lock_0100()
67 pthread_mutex_init(&g_mutex, (pthread_mutexattr_t *)(&type)); in pthread_mutex_un_lock_0200()
/third_party/ffmpeg/libavutil/
Dthread.h68 ASSERT_PTHREAD_NORET(pthread_mutex_init, mutex, attr); in strict_pthread_mutex_init()
73 ASSERT_PTHREAD_NORET(pthread_mutex_init, mutex, &local_attr); in strict_pthread_mutex_init()
134 #define pthread_mutex_init strict_pthread_mutex_init macro
156 #define ff_mutex_init pthread_mutex_init
/third_party/selinux/libselinux/src/
Dselinux_internal.h50 #pragma weak pthread_mutex_init macro
57 if (pthread_mutex_init != NULL) \
58 pthread_mutex_init(LOCK, ATTR); \
/third_party/musl/libc-test/src/functionalext/fortify/
Dpthread_fortify_test.c50 T(pthread_mutex_init(a[0], &ma)); in test_pthread_mutex_lock_after_destroyed()
77 T(pthread_mutex_init(a[0], &ma)); in test_pthread_mutex_unlock_after_destroyed()
106 T(pthread_mutex_init(a[0], &ma)); in test_pthread_mutex_timedlock_after_destroyed()
133 T(pthread_mutex_init(a[0], &ma)); in test_pthread_mutex_trylock_after_destroyed()
/third_party/pulseaudio/src/pulsecore/
Dmutex-posix.c64 pa_assert_se(pthread_mutex_init(&m->mutex, &attr) == 0); in pa_mutex_new()
67 if ((r = pthread_mutex_init(&m->mutex, &attr))) { in pa_mutex_new()
75 pa_assert_se(pthread_mutex_init(&m->mutex, &attr) == 0); in pa_mutex_new()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_destroy/
D2-1.c22 if (pthread_mutex_init(&mutex, NULL) != 0) { in main()
34 if (pthread_mutex_init(&mutex, NULL) != 0) { in main()
D1-1.c34 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main()
40 if ((rc = pthread_mutex_init(&mutex2, NULL)) != 0) { in main()
D2-2.c182 ret = pthread_mutex_init(&mtx, pma[i]); in main()
193 ret = pthread_mutex_init(&mtx, pma[j]); in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_init/
D1-1.c37 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main()
44 if ((rc = pthread_mutex_init(&mutex2, NULL)) != 0) { in main()
/third_party/musl/libc-test/src/functional/
Dpthread_robust.c44 TEST(r, pthread_mutex_init(&mtx, &mtx_a), "initializing robust mutex"); in f()
54 TEST(r, pthread_mutex_init(&mtx, &mtx_a), "initializing robust mutex"); in f()
63 TEST(r, pthread_mutex_init(&mtx, &mtx_a), ""); in f()
Dpthread_cond.c42 TEST(r, pthread_mutex_init(&mtx, 0), ""); in main()
53 TEST(r, pthread_mutex_init(&mtx, 0), ""); in main()
79 TEST(r, pthread_mutex_init(&mtx, 0), ""); in main()
Dpthread_mutex.c42 T(pthread_mutex_init(a[0], &ma)); in test_relock()
86 T(pthread_mutex_init(a[0], &ma)); in test_unlock()
106 T(pthread_mutex_init(a[0], &ma)); in test_unlock_other()
Dpthread_mutex_pi.c43 T(pthread_mutex_init(a[0], &ma)); in test_relock()
88 T(pthread_mutex_init(a[0], &ma)); in test_unlock()
109 T(pthread_mutex_init(a[0], &ma)); in test_unlock_other()
/third_party/FreeBSD/sys/sys/
Dsx.h46 #define sx_init(sx, des) (void)pthread_mutex_init(sx, 0)
47 #define sx_init_flags(sx,des,flag) (void)pthread_mutex_init(sx, 0)
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/
Dstress.c274 ret = pthread_mutex_init(&mtx[i], &ma); in main()
292 ret = pthread_mutex_init(&mtx[i], &ma); in main()
301 ret = pthread_mutex_init(&mtx[i + 1], NULL); in main()
/third_party/ntfs-3g/libfuse-lite/
Dfuse_misc.h13 #define fuse_mutex_init(mut) pthread_mutex_init(mut, NULL)
20 pthread_mutex_init(mut, &attr); in fuse_mutex_init()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D4-3.c221 ret = pthread_mutex_init(&mtx[i], &ma[i]); in test()
233 ret = pthread_mutex_init(&mtx[i], &ma[i]); in test()
238 ret = pthread_mutex_init(&mtx[i + 1], NULL); in test()
/third_party/libunwind/libunwind/include/
Dlibunwind_i.h155 #pragma weak pthread_mutex_init macro
160 (pthread_mutex_init != NULL ? pthread_mutex_init ((l), NULL) : 0)
/third_party/ltp/testcases/open_posix_testsuite/
DChangeLog35 - stress/threads/pthread_mutex_init/, pthread_mutex_lock/,
79 - Add case pthread_mutex_init/5-1.c,
80 pthread_mutex_init/speculative/5-2.c,
91 - Add cases pthread_mutex_init/1-2.c, 3-2.c, 5-3.c
/third_party/node/deps/v8/src/base/platform/
Dmutex.cc90 result = pthread_mutex_init(mutex, &attr); in InitializeNativeHandle()
95 result = pthread_mutex_init(mutex, nullptr); in InitializeNativeHandle()
108 result = pthread_mutex_init(mutex, &attr); in InitializeRecursiveNativeHandle()

12345678910>>...12