/external/llvm-project/clang/test/Analysis/ |
D | pthreadlock.c | 130 pthread_mutex_init(&mtx1, NULL); // no-warning in ok16() 136 pthread_mutex_init(&mtx1, NULL); // no-warning in ok17() 137 pthread_mutex_init(&mtx2, NULL); // no-warning in ok17() 144 pthread_mutex_init(&mtx1, NULL); // no-warning in ok18() 151 pthread_mutex_init(&mtx1, NULL); // no-warning in ok19() 153 pthread_mutex_init(&mtx2, NULL); // no-warning in ok19() 161 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20() 163 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20() 206 pthread_mutex_init(&mtx1, NULL); // no-warning in ok27() 227 pthread_mutex_init(&local_mtx, NULL); in ok30() [all …]
|
/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/usrsctp/usrsctplib/netinet/ |
D | sctp_process_lock.h | 256 (void)pthread_mutex_init(&SCTP_BASE_INFO(wq_addr_mtx), &SCTP_BASE_VAR(mtx_attr)) 274 (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_ep_mtx), &SCTP_BASE_VAR(mtx_attr)) 300 (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_pktlog_mtx), &SCTP_BASE_VAR(mtx_attr)) 322 (void)pthread_mutex_init(&(_inp)->inp_rdata_mtx, &SCTP_BASE_VAR(mtx_attr)) 338 (void)pthread_mutex_init(&(_inp)->inp_mtx, &SCTP_BASE_VAR(mtx_attr)) 394 (void)pthread_mutex_init(&(_tcb)->tcb_send_mtx, &SCTP_BASE_VAR(mtx_attr)) 410 (void)pthread_mutex_init(&(_inp)->inp_create_mtx, &SCTP_BASE_VAR(mtx_attr)) 449 (void)pthread_mutex_init(&(_tcb)->tcb_mtx, &SCTP_BASE_VAR(mtx_attr)) 570 (void)pthread_mutex_init(&SCTP_BASE_INFO(ipi_addr_mtx), &SCTP_BASE_VAR(mtx_attr)) 595 (void)pthread_mutex_init(&sctp_it_ctl.it_mtx, &SCTP_BASE_VAR(mtx_attr)) [all …]
|
/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 | mutexset4.cc | 36 pthread_mutex_init(&mtx1, 0); in main() 37 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 | mutexset5.cc | 37 pthread_mutex_init(&mtx1, 0); in main() 38 pthread_mutex_init(&mtx2, 0); in main()
|
D | must_deadlock.cc | 27 pthread_mutex_init(&mu1, NULL); in main() 28 pthread_mutex_init(&mu2, NULL); in main()
|
D | mutexset6.cc | 42 pthread_mutex_init(&mtx1, 0); in main() 43 pthread_mutex_init(&mtx2, 0); in main()
|
/external/llvm-project/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 | mutexset5.cpp | 37 pthread_mutex_init(&mtx1, 0); in main() 38 pthread_mutex_init(&mtx2, 0); in main()
|
D | mutexset3.cpp | 36 pthread_mutex_init(&mtx1, 0); in main() 37 pthread_mutex_init(&mtx2, 0); in main()
|
D | must_deadlock.cpp | 27 pthread_mutex_init(&mu1, NULL); in main() 28 pthread_mutex_init(&mu2, NULL); in main()
|
D | mutexset4.cpp | 36 pthread_mutex_init(&mtx1, 0); in main() 37 pthread_mutex_init(&mtx2, 0); in main()
|
D | mutexset6.cpp | 42 pthread_mutex_init(&mtx1, 0); in main() 43 pthread_mutex_init(&mtx2, 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()
|
/external/llvm-project/compiler-rt/test/tsan/Darwin/ |
D | deadlock.mm | 15 pthread_mutex_init(&m1, NULL); 16 pthread_mutex_init(&m2, NULL);
|
/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/libfuse/lib/ |
D | fuse_misc.h | 23 #define fuse_mutex_init(mut) pthread_mutex_init(mut, NULL) 31 pthread_mutex_init(mut, &attr); in fuse_mutex_init()
|
/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/llvm-project/lldb/tools/debugserver/source/ |
D | PThreadMutex.h | 82 err = ::pthread_mutex_init(&m_mutex, NULL); in PThreadMutex() 93 err = ::pthread_mutex_init(&m_mutex, &attr); in PThreadMutex()
|
/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()
|