Lines Matching full:warning
17 pthread_mutex_lock(&mtx1); // no-warning
23 pthread_mutex_unlock(&mtx1); // no-warning
29 pthread_mutex_lock(&mtx1); // no-warning
30 pthread_mutex_unlock(&mtx1); // no-warning
31 pthread_mutex_lock(&mtx1); // no-warning
32 pthread_mutex_unlock(&mtx1); // no-warning
38 pthread_mutex_lock(&mtx1); // no-warning
39 pthread_mutex_unlock(&mtx1); // no-warning
40 pthread_mutex_lock(&mtx2); // no-warning
41 pthread_mutex_unlock(&mtx2); // no-warning
47 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning
48 pthread_mutex_unlock(&mtx1); // no-warning
54 lck_mtx_lock(&lck1); // no-warning
60 if (lck_mtx_try_lock(&lck1) != 0) // no-warning
61 lck_mtx_unlock(&lck1); // no-warning
67 pthread_mutex_lock(&mtx1); // no-warning
68 pthread_mutex_lock(&mtx2); // no-warning
69 pthread_mutex_unlock(&mtx2); // no-warning
70 pthread_mutex_unlock(&mtx1); // no-warning
76 pthread_mutex_unlock(&mtx1); // no-warning
77 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning
78 pthread_mutex_unlock(&mtx1); // no-warning
84 if (pthread_mutex_trylock(&mtx1) != 0) // no-warning
85 pthread_mutex_lock(&mtx1); // no-warning
86 pthread_mutex_unlock(&mtx1); // no-warning
92 pthread_mutex_destroy(&mtx1); // no-warning
98 pthread_mutex_destroy(&mtx1); // no-warning
99 pthread_mutex_destroy(&mtx2); // no-warning
105 pthread_mutex_unlock(&mtx1); // no-warning
106 pthread_mutex_destroy(&mtx1); // no-warning
112 pthread_mutex_unlock(&mtx1); // no-warning
113 pthread_mutex_destroy(&mtx1); // no-warning
114 pthread_mutex_unlock(&mtx2); // no-warning
115 pthread_mutex_destroy(&mtx2); // no-warning
121 pthread_mutex_lock(&mtx1); // no-warning
122 pthread_mutex_unlock(&mtx1); // no-warning
123 pthread_mutex_destroy(&mtx1); // no-warning
129 pthread_mutex_init(&mtx1, NULL); // no-warning
135 pthread_mutex_init(&mtx1, NULL); // no-warning
136 pthread_mutex_init(&mtx2, NULL); // no-warning
142 pthread_mutex_destroy(&mtx1); // no-warning
143 pthread_mutex_init(&mtx1, NULL); // no-warning
149 pthread_mutex_destroy(&mtx1); // no-warning
150 pthread_mutex_init(&mtx1, NULL); // no-warning
151 pthread_mutex_destroy(&mtx2); // no-warning
152 pthread_mutex_init(&mtx2, NULL); // no-warning
158 pthread_mutex_unlock(&mtx1); // no-warning
159 pthread_mutex_destroy(&mtx1); // no-warning
160 pthread_mutex_init(&mtx1, NULL); // no-warning
161 pthread_mutex_destroy(&mtx1); // no-warning
162 pthread_mutex_init(&mtx1, NULL); // no-warning
167 pthread_mutex_lock(pmtx); // no-warning
168 pthread_mutex_unlock(pmtx); // no-warning
173 pthread_mutex_lock(pmtx); // no-warning
174 pthread_mutex_unlock(pmtx); // no-warning
175 pthread_mutex_lock(pmtx); // no-warning
176 pthread_mutex_unlock(pmtx); // no-warning
183 pthread_mutex_lock(&mtx1); // no-warning
184 pthread_mutex_lock(&mtx1); // expected-warning{{This lock has already been acquired}}
190 pthread_mutex_lock(&mtx1); // no-warning
191 pthread_mutex_unlock(&mtx1); // no-warning
192 pthread_mutex_lock(&mtx1); // no-warning
193 pthread_mutex_lock(&mtx1); // expected-warning{{This lock has already been acquired}}
199 pthread_mutex_lock(&mtx1); // no-warning
200 pthread_mutex_lock(&mtx2); // no-warning
201 pthread_mutex_unlock(&mtx1); // expected-warning{{This was not the most recently acquired lock}}
208 if (pthread_mutex_trylock(&mtx1)) // no-warning
210 pthread_mutex_lock(&mtx2); // no-warning
211 pthread_mutex_unlock(&mtx1); // expected-warning{{This was not the most recently acquired lock}}
217 lck_mtx_lock(&lck1); // no-warning
218 lck_mtx_lock(&lck1); // expected-warning{{This lock has already been acquired}}
224 lck_mtx_lock(&lck1); // no-warning
225 lck_mtx_unlock(&lck1); // no-warning
226 lck_mtx_lock(&lck1); // no-warning
227 lck_mtx_lock(&lck1); // expected-warning{{This lock has already been acquired}}
233 lck_mtx_lock(&lck1); // no-warning
234 lck_mtx_lock(&lck2); // no-warning
235 lck_mtx_unlock(&lck1); // expected-warning{{This was not the most recently acquired lock}}
242 if (lck_mtx_try_lock(&lck1) == 0) // no-warning
244 lck_mtx_lock(&lck2); // no-warning
245 lck_mtx_unlock(&lck1); // expected-warning{{This was not the most recently acquired lock}}
251 lck_mtx_unlock(&lck1); // no-warning
252 lck_mtx_unlock(&lck1); // expected-warning{{This lock has already been unlocked}}
258 lck_mtx_lock(&lck1); // no-warning
259 lck_mtx_unlock(&lck1); // no-warning
260 lck_mtx_unlock(&lck1); // expected-warning{{This lock has already been unlocked}}
266 lck_mtx_unlock(lock); // expected-warning{{This lock has already been unlocked}}
272 lck_mtx_lock(&lck1); // no-warning
273 lck_mtx_unlock(&lck1); // no-warning
281 pthread_mutex_lock(&mtx1); // no-warning
282 pthread_mutex_unlock(&mtx1); // no-warning
283 pthread_mutex_lock(&mtx1); // no-warning
284 pthread_mutex_unlock(&mtx1); // no-warning
285 pthread_mutex_unlock(&mtx1); // expected-warning{{This lock has already been unlocked}}
291 pthread_mutex_lock(&mtx1); // no-warning
292 pthread_mutex_unlock(&mtx1); // no-warning
293 pthread_mutex_lock(&mtx2); // no-warning
294 pthread_mutex_unlock(&mtx2); // no-warning
295 pthread_mutex_unlock(&mtx1); // expected-warning{{This lock has already been unlocked}}
301 pthread_mutex_lock(&mtx1); // no-warning
302 pthread_mutex_lock(&mtx2); // no-warning
303 pthread_mutex_unlock(&mtx2); // no-warning
304 pthread_mutex_unlock(&mtx1); // no-warning
305 pthread_mutex_unlock(&mtx2); // expected-warning{{This lock has already been unlocked}}
311 pthread_mutex_lock(&mtx1); // no-warning
312 pthread_mutex_lock(&mtx2); // no-warning
313 pthread_mutex_unlock(&mtx2); // no-warning
314 pthread_mutex_unlock(&mtx1); // no-warning
315 pthread_mutex_lock(&mtx1); // no-warning
316 pthread_mutex_unlock(&mtx2); // expected-warning{{This lock has already been unlocked}}
322 pthread_mutex_destroy(&mtx1); // no-warning
323 pthread_mutex_lock(&mtx1); // expected-warning{{This lock has already been destroyed}}
329 pthread_mutex_destroy(&mtx1); // no-warning
330 pthread_mutex_unlock(&mtx1); // expected-warning{{This lock has already been destroyed}}
336 pthread_mutex_destroy(&mtx1); // no-warning
337 pthread_mutex_destroy(&mtx1); // expected-warning{{This lock has already been destroyed}}
343 pthread_mutex_lock(&mtx1); // no-warning
344 pthread_mutex_destroy(&mtx1); // expected-warning{{This lock is still locked}}
350 lck_mtx_destroy(&mtx1, &grp1); // no-warning
351 lck_mtx_lock(&mtx1); // expected-warning{{This lock has already been destroyed}}
357 lck_mtx_destroy(&mtx1, &grp1); // no-warning
358 lck_mtx_unlock(&mtx1); // expected-warning{{This lock has already been destroyed}}
364 lck_mtx_destroy(&mtx1, &grp1); // no-warning
365 lck_mtx_destroy(&mtx1, &grp1); // expected-warning{{This lock has already been destroyed}}
371 lck_mtx_lock(&mtx1); // no-warning
372 lck_mtx_destroy(&mtx1, &grp1); // expected-warning{{This lock is still locked}}
378 pthread_mutex_init(&mtx1, NULL); // no-warning
379 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}}
385 pthread_mutex_lock(&mtx1); // no-warning
386 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock is still being held}}
392 pthread_mutex_unlock(&mtx1); // no-warning
393 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}}