/third_party/musl/Benchmark/musl/ |
D | libc_pthread.cpp | 46 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/ |
D | pthread_mutex_timedlock.c | 36 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()
|
D | pthread_mutex_lock.c | 70 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()
|
D | pthread_mutex_init.c | 30 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()
|
D | pthread_mutex_trylock.c | 29 pthread_mutex_init(&g_mutex, NULL); in pthread_mutex_trylock_0100() 42 pthread_mutex_init(&g_mutex, NULL); in pthread_mutex_trylock_0200()
|
D | pthread_mutex_unlock.c | 52 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/ |
D | thread.h | 68 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/ |
D | selinux_internal.h | 50 #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/ |
D | pthread_fortify_test.c | 50 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/ |
D | mutex-posix.c | 64 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/ |
D | 2-1.c | 22 if (pthread_mutex_init(&mutex, NULL) != 0) { in main() 34 if (pthread_mutex_init(&mutex, NULL) != 0) { in main()
|
D | 1-1.c | 34 if ((rc = pthread_mutex_init(&mutex1, &mta)) != 0) { in main() 40 if ((rc = pthread_mutex_init(&mutex2, NULL)) != 0) { in main()
|
D | 2-2.c | 182 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/ |
D | 1-1.c | 37 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/ |
D | pthread_robust.c | 44 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()
|
D | pthread_cond.c | 42 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()
|
D | pthread_mutex.c | 42 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()
|
D | pthread_mutex_pi.c | 43 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/ |
D | sx.h | 46 #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/ |
D | stress.c | 274 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/ |
D | fuse_misc.h | 13 #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/ |
D | 4-3.c | 221 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/ |
D | libunwind_i.h | 155 #pragma weak pthread_mutex_init macro 160 (pthread_mutex_init != NULL ? pthread_mutex_init ((l), NULL) : 0)
|
/third_party/ltp/testcases/open_posix_testsuite/ |
D | ChangeLog | 35 - 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/ |
D | mutex.cc | 90 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()
|