Home
last modified time | relevance | path

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

12345678910>>...13

/external/clang/test/Analysis/
Dpthreadlock.c129 pthread_mutex_init(&mtx1, NULL); // no-warning in ok16()
135 pthread_mutex_init(&mtx1, NULL); // no-warning in ok17()
136 pthread_mutex_init(&mtx2, NULL); // no-warning in ok17()
143 pthread_mutex_init(&mtx1, NULL); // no-warning in ok18()
150 pthread_mutex_init(&mtx1, NULL); // no-warning in ok19()
152 pthread_mutex_init(&mtx2, NULL); // no-warning in ok19()
160 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
162 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
378 pthread_mutex_init(&mtx1, NULL); // no-warning in bad24()
379 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad24()
[all …]
/external/webrtc/webrtc/base/
Dsigslot.cc16 pthread_mutex_init(get_mutex(), NULL); in multi_threaded_global()
33 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local()
37 pthread_mutex_init(&m_mutex, NULL); in multi_threaded_local()
/external/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()
/external/compiler-rt/test/tsan/
Dmutex_cycle2.c14 pthread_mutex_init(&mu1, NULL); in main()
15 pthread_mutex_init(&mu2, NULL); in main()
Dmust_deadlock.cc27 pthread_mutex_init(&mu1, NULL); in main()
28 pthread_mutex_init(&mu2, NULL); in main()
Dmutexset5.cc37 pthread_mutex_init(&mtx1, 0); in main()
38 pthread_mutex_init(&mtx2, 0); in main()
Dmutexset3.cc36 pthread_mutex_init(&mtx1, 0); in main()
37 pthread_mutex_init(&mtx2, 0); in main()
Dmutexset4.cc36 pthread_mutex_init(&mtx1, 0); in main()
37 pthread_mutex_init(&mtx2, 0); in main()
Dmutexset6.cc42 pthread_mutex_init(&mtx1, 0); in main()
43 pthread_mutex_init(&mtx2, 0); in main()
Dmutex_destroy_locked.cc7 pthread_mutex_init(&m, 0); in main()
/external/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()
D1-2.c188 if ((ret = pthread_mutex_init(&mtx_null, NULL))) { in main()
195 if ((ret = pthread_mutex_init(&mtx_def, &mattr))) { in main()
/external/v8/src/base/platform/
Dmutex.cc23 result = pthread_mutex_init(mutex, &attr); in InitializeNativeHandle()
28 result = pthread_mutex_init(mutex, nullptr); in InitializeNativeHandle()
41 result = pthread_mutex_init(mutex, &attr); in InitializeRecursiveNativeHandle()
/external/selinux/libselinux/src/
Dselinux_internal.h150 #pragma weak pthread_mutex_init macro
157 if (pthread_mutex_init != NULL) \
158 pthread_mutex_init(LOCK, ATTR); \
/external/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()
/external/stressapptest/src/
Ddisk_blocks.cc27 pthread_mutex_init(&data_mutex_, NULL); in BlockData()
51 pthread_mutex_init(&data_mutex_, NULL); in DiskBlockTable()
52 pthread_mutex_init(&parameter_mutex_, NULL); in DiskBlockTable()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/
D4-3.c222 ret = pthread_mutex_init(&mtx[i], &ma[i]); in test()
234 ret = pthread_mutex_init(&mtx[i], &ma[i]); in test()
239 ret = pthread_mutex_init(&mtx[i + 1], NULL); in test()
/external/libunwind/include/
Dlibunwind_i.h108 #pragma weak pthread_mutex_init macro
113 (pthread_mutex_init != NULL ? pthread_mutex_init ((l), NULL) : 0)
/external/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
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/
Ds-c1.c188 ret = pthread_mutex_init(&m, NULL); in main()
213 ret = pthread_mutex_init(&mtx[i], &ma); in main()
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cc72 pthread_mutex_init(&incrementer_thread_exit_mutex, NULL); in TEST()
165 pthread_mutex_init(&advanced_incrementer_thread_exit_mutex, NULL); in TEST()
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_posix.cc58 EXPECT_EQ(pthread_mutex_init(&mtx, 0), 0); in TEST()
130 EXPECT_EQ(pthread_mutex_init(&ctx.m, 0), 0); in TEST()
/external/ltp/testcases/open_posix_testsuite/conformance/definitions/pthread_h/
D14-1-buildonly.c21 pthread_mutex_init(&a, NULL); in dummy_func()

12345678910>>...13