Home
last modified time | relevance | path

Searched refs:lck1 (Results 1 – 1 of 1) sorted by relevance

/external/clang/test/Analysis/
Dpthreadlock.c9 lck_mtx_t lck1, lck2; variable
54 lck_mtx_lock(&lck1); // no-warning in ok6()
60 if (lck_mtx_try_lock(&lck1) != 0) // no-warning in ok7()
61 lck_mtx_unlock(&lck1); // no-warning in ok7()
217 lck_mtx_lock(&lck1); // no-warning in bad5()
218 lck_mtx_lock(&lck1); // expected-warning{{This lock has already been acquired}} in bad5()
224 lck_mtx_lock(&lck1); // no-warning in bad6()
225 lck_mtx_unlock(&lck1); // no-warning in bad6()
226 lck_mtx_lock(&lck1); // no-warning in bad6()
227 lck_mtx_lock(&lck1); // expected-warning{{This lock has already been acquired}} in bad6()
[all …]