Home | History | Annotate | Download | only in Analysis

Lines Matching full:lock

5 #include "Inputs/system-header-simulator-for-pthread-lock.h"
184 pthread_mutex_lock(&mtx1); // expected-warning{{This lock has already been acquired}}
193 pthread_mutex_lock(&mtx1); // expected-warning{{This lock has already been acquired}}
201 pthread_mutex_unlock(&mtx1); // expected-warning{{This was not the most recently acquired lock}}
211 pthread_mutex_unlock(&mtx1); // expected-warning{{This was not the most recently acquired lock}}
218 lck_mtx_lock(&lck1); // expected-warning{{This lock has already been acquired}}
227 lck_mtx_lock(&lck1); // expected-warning{{This lock has already been acquired}}
235 lck_mtx_unlock(&lck1); // expected-warning{{This was not the most recently acquired lock}}
245 lck_mtx_unlock(&lck1); // expected-warning{{This was not the most recently acquired lock}}
252 lck_mtx_unlock(&lck1); // expected-warning{{This lock has already been unlocked}}
260 lck_mtx_unlock(&lck1); // expected-warning{{This lock has already been unlocked}}
264 bad11_sub(pthread_mutex_t *lock)
266 lck_mtx_unlock(lock); // expected-warning{{This lock has already been unlocked}}
285 pthread_mutex_unlock(&mtx1); // expected-warning{{This lock has already been unlocked}}
295 pthread_mutex_unlock(&mtx1); // expected-warning{{This lock has already been unlocked}}
305 pthread_mutex_unlock(&mtx2); // expected-warning{{This lock has already been unlocked}}
316 pthread_mutex_unlock(&mtx2); // expected-warning{{This lock has already been unlocked}}
323 pthread_mutex_lock(&mtx1); // expected-warning{{This lock has already been destroyed}}
330 pthread_mutex_unlock(&mtx1); // expected-warning{{This lock has already been destroyed}}
337 pthread_mutex_destroy(&mtx1); // expected-warning{{This lock has already been destroyed}}
344 pthread_mutex_destroy(&mtx1); // expected-warning{{This lock is still locked}}
351 lck_mtx_lock(&mtx1); // expected-warning{{This lock has already been destroyed}}
358 lck_mtx_unlock(&mtx1); // expected-warning{{This lock has already been destroyed}}
365 lck_mtx_destroy(&mtx1, &grp1); // expected-warning{{This lock has already been destroyed}}
372 lck_mtx_destroy(&mtx1, &grp1); // expected-warning{{This lock is still locked}}
379 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}}
386 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock is still being held}}
393 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}}