/external/clang/test/Analysis/ |
D | pthreadlock.c | 129 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/ |
D | sigslot.cc | 16 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/ |
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()
|
/external/compiler-rt/test/tsan/ |
D | mutex_cycle2.c | 14 pthread_mutex_init(&mu1, NULL); in main() 15 pthread_mutex_init(&mu2, NULL); in main()
|
D | must_deadlock.cc | 27 pthread_mutex_init(&mu1, NULL); in main() 28 pthread_mutex_init(&mu2, NULL); in main()
|
D | mutexset5.cc | 37 pthread_mutex_init(&mtx1, 0); in main() 38 pthread_mutex_init(&mtx2, 0); in main()
|
D | mutexset3.cc | 36 pthread_mutex_init(&mtx1, 0); in main() 37 pthread_mutex_init(&mtx2, 0); in main()
|
D | mutexset4.cc | 36 pthread_mutex_init(&mtx1, 0); in main() 37 pthread_mutex_init(&mtx2, 0); in main()
|
D | mutexset6.cc | 42 pthread_mutex_init(&mtx1, 0); in main() 43 pthread_mutex_init(&mtx2, 0); in main()
|
D | mutex_destroy_locked.cc | 7 pthread_mutex_init(&m, 0); in main()
|
/external/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()
|
D | 1-2.c | 188 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/ |
D | mutex.cc | 23 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/ |
D | selinux_internal.h | 150 #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/ |
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()
|
/external/stressapptest/src/ |
D | disk_blocks.cc | 27 pthread_mutex_init(&data_mutex_, NULL); in BlockData() 51 pthread_mutex_init(&data_mutex_, NULL); in DiskBlockTable() 52 pthread_mutex_init(¶meter_mutex_, NULL); in DiskBlockTable()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_mutex_trylock/ |
D | 4-3.c | 222 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/ |
D | libunwind_i.h | 108 #pragma weak pthread_mutex_init macro 113 (pthread_mutex_init != NULL ? pthread_mutex_init ((l), NULL) : 0)
|
/external/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
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_lock/ |
D | s-c1.c | 188 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/ |
D | sanitizer_stoptheworld_test.cc | 72 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/ |
D | tsan_posix.cc | 58 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/ |
D | 14-1-buildonly.c | 21 pthread_mutex_init(&a, NULL); in dummy_func()
|