Lines Matching full:no
18 pthread_mutex_lock(&mtx1); // no-warning in ok1()
24 pthread_mutex_unlock(&mtx1); // no-warning in ok2()
30 pthread_mutex_lock(&mtx1); // no-warning in ok3()
31 pthread_mutex_unlock(&mtx1); // no-warning in ok3()
32 pthread_mutex_lock(&mtx1); // no-warning in ok3()
33 pthread_mutex_unlock(&mtx1); // no-warning in ok3()
39 pthread_mutex_lock(&mtx1); // no-warning in ok4()
40 pthread_mutex_unlock(&mtx1); // no-warning in ok4()
41 pthread_mutex_lock(&mtx2); // no-warning in ok4()
42 pthread_mutex_unlock(&mtx2); // no-warning in ok4()
48 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok5()
49 pthread_mutex_unlock(&mtx1); // no-warning in ok5()
55 lck_mtx_lock(&lck1); // no-warning in ok6()
61 if (lck_mtx_try_lock(&lck1) != 0) // no-warning in ok7()
62 lck_mtx_unlock(&lck1); // no-warning in ok7()
68 pthread_mutex_lock(&mtx1); // no-warning in ok8()
69 pthread_mutex_lock(&mtx2); // no-warning in ok8()
70 pthread_mutex_unlock(&mtx2); // no-warning in ok8()
71 pthread_mutex_unlock(&mtx1); // no-warning in ok8()
77 pthread_mutex_unlock(&mtx1); // no-warning in ok9()
78 if (pthread_mutex_trylock(&mtx1) == 0) // no-warning in ok9()
79 pthread_mutex_unlock(&mtx1); // no-warning in ok9()
85 if (pthread_mutex_trylock(&mtx1) != 0) // no-warning in ok10()
86 pthread_mutex_lock(&mtx1); // no-warning in ok10()
87 pthread_mutex_unlock(&mtx1); // no-warning in ok10()
93 pthread_mutex_destroy(&mtx1); // no-warning in ok11()
99 pthread_mutex_destroy(&mtx1); // no-warning in ok12()
100 pthread_mutex_destroy(&mtx2); // no-warning in ok12()
106 pthread_mutex_unlock(&mtx1); // no-warning in ok13()
107 pthread_mutex_destroy(&mtx1); // no-warning in ok13()
113 pthread_mutex_unlock(&mtx1); // no-warning in ok14()
114 pthread_mutex_destroy(&mtx1); // no-warning in ok14()
115 pthread_mutex_unlock(&mtx2); // no-warning in ok14()
116 pthread_mutex_destroy(&mtx2); // no-warning in ok14()
122 pthread_mutex_lock(&mtx1); // no-warning in ok15()
123 pthread_mutex_unlock(&mtx1); // no-warning in ok15()
124 pthread_mutex_destroy(&mtx1); // no-warning in ok15()
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()
143 pthread_mutex_destroy(&mtx1); // no-warning in ok18()
144 pthread_mutex_init(&mtx1, NULL); // no-warning in ok18()
150 pthread_mutex_destroy(&mtx1); // no-warning in ok19()
151 pthread_mutex_init(&mtx1, NULL); // no-warning in ok19()
152 pthread_mutex_destroy(&mtx2); // no-warning in ok19()
153 pthread_mutex_init(&mtx2, NULL); // no-warning in ok19()
159 pthread_mutex_unlock(&mtx1); // no-warning in ok20()
160 pthread_mutex_destroy(&mtx1); // no-warning in ok20()
161 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
162 pthread_mutex_destroy(&mtx1); // no-warning in ok20()
163 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
168 pthread_mutex_lock(pmtx); // no-warning in ok21()
169 pthread_mutex_unlock(pmtx); // no-warning in ok21()
174 pthread_mutex_lock(pmtx); // no-warning in ok22()
175 pthread_mutex_unlock(pmtx); // no-warning in ok22()
176 pthread_mutex_lock(pmtx); // no-warning in ok22()
177 pthread_mutex_unlock(pmtx); // no-warning in ok22()
181 if (pthread_mutex_destroy(&mtx1) != 0) // no-warning in ok23()
182 pthread_mutex_destroy(&mtx1); // no-warning in ok23()
186 if (pthread_mutex_destroy(&mtx1) != 0) // no-warning in ok24()
187 pthread_mutex_lock(&mtx1); // no-warning in ok24()
191 if (pthread_mutex_destroy(&mtx1) != 0) // no-warning in ok25()
192 pthread_mutex_unlock(&mtx1); // no-warning in ok25()
196 pthread_mutex_unlock(&mtx1); // no-warning in ok26()
197 if (pthread_mutex_destroy(&mtx1) != 0) // no-warning in ok26()
198 pthread_mutex_lock(&mtx1); // no-warning in ok26()
202 pthread_mutex_unlock(&mtx1); // no-warning in ok27()
203 if (pthread_mutex_destroy(&mtx1) != 0) // no-warning in ok27()
204 pthread_mutex_lock(&mtx1); // no-warning in ok27()
206 pthread_mutex_init(&mtx1, NULL); // no-warning in ok27()
210 if (pthread_mutex_destroy(&mtx1) != 0) { // no-warning in ok28()
211 pthread_mutex_lock(&mtx1); // no-warning in ok28()
212 pthread_mutex_unlock(&mtx1); // no-warning in ok28()
213 pthread_mutex_destroy(&mtx1); // no-warning in ok28()
220 lck_rw_lock_exclusive(&rw); // no-warning in ok29()
221 lck_rw_unlock_exclusive(&rw); // no-warning in ok29()
230 pthread_mutex_lock(&local_mtx); // no-warning in ok30()
240 pthread_mutex_lock(&local_mtx); // no-warning in ok31()
248 pthread_mutex_lock(&mtx1); // no-warning in bad1()
255 pthread_mutex_lock(&mtx1); // no-warning in bad2()
256 pthread_mutex_unlock(&mtx1); // no-warning in bad2()
257 pthread_mutex_lock(&mtx1); // no-warning in bad2()
264 pthread_mutex_lock(&mtx1); // no-warning in bad3()
265 pthread_mutex_lock(&mtx2); // no-warning in bad3()
273 if (pthread_mutex_trylock(&mtx1)) // no-warning in bad4()
275 pthread_mutex_lock(&mtx2); // no-warning in bad4()
282 lck_mtx_lock(&lck1); // no-warning in bad5()
289 lck_mtx_lock(&lck1); // no-warning in bad6()
290 lck_mtx_unlock(&lck1); // no-warning in bad6()
291 lck_mtx_lock(&lck1); // no-warning in bad6()
298 lck_mtx_lock(&lck1); // no-warning in bad7()
299 lck_mtx_lock(&lck2); // no-warning in bad7()
307 if (lck_mtx_try_lock(&lck1) == 0) // no-warning in bad8()
309 lck_mtx_lock(&lck2); // no-warning in bad8()
316 lck_mtx_unlock(&lck1); // no-warning in bad9()
323 lck_mtx_lock(&lck1); // no-warning in bad10()
324 lck_mtx_unlock(&lck1); // no-warning in bad10()
337 lck_mtx_lock(&lck1); // no-warning in bad11()
338 lck_mtx_unlock(&lck1); // no-warning in bad11()
346 pthread_mutex_lock(&mtx1); // no-warning in bad12()
347 pthread_mutex_unlock(&mtx1); // no-warning in bad12()
348 pthread_mutex_lock(&mtx1); // no-warning in bad12()
349 pthread_mutex_unlock(&mtx1); // no-warning in bad12()
356 pthread_mutex_lock(&mtx1); // no-warning in bad13()
357 pthread_mutex_unlock(&mtx1); // no-warning in bad13()
358 pthread_mutex_lock(&mtx2); // no-warning in bad13()
359 pthread_mutex_unlock(&mtx2); // no-warning in bad13()
366 pthread_mutex_lock(&mtx1); // no-warning in bad14()
367 pthread_mutex_lock(&mtx2); // no-warning in bad14()
368 pthread_mutex_unlock(&mtx2); // no-warning in bad14()
369 pthread_mutex_unlock(&mtx1); // no-warning in bad14()
376 pthread_mutex_lock(&mtx1); // no-warning in bad15()
377 pthread_mutex_lock(&mtx2); // no-warning in bad15()
378 pthread_mutex_unlock(&mtx2); // no-warning in bad15()
379 pthread_mutex_unlock(&mtx1); // no-warning in bad15()
380 pthread_mutex_lock(&mtx1); // no-warning in bad15()
387 pthread_mutex_destroy(&mtx1); // no-warning in bad16()
394 pthread_mutex_destroy(&mtx1); // no-warning in bad17()
401 pthread_mutex_destroy(&mtx1); // no-warning in bad18()
408 pthread_mutex_lock(&mtx1); // no-warning in bad19()
415 lck_mtx_destroy(&mtx1, &grp1); // no-warning in bad20()
422 lck_mtx_destroy(&mtx1, &grp1); // no-warning in bad21()
429 lck_mtx_destroy(&mtx1, &grp1); // no-warning in bad22()
436 lck_mtx_lock(&mtx1); // no-warning in bad23()
443 pthread_mutex_init(&mtx1, NULL); // no-warning in bad24()
450 pthread_mutex_lock(&mtx1); // no-warning in bad25()
457 pthread_mutex_unlock(&mtx1); // no-warning in bad26()
462 pthread_mutex_unlock(&mtx1); // no-warning in bad27()
463 int ret = pthread_mutex_destroy(&mtx1); // no-warning in bad27()
464 if (ret != 0) // no-warning in bad27()
465 pthread_mutex_lock(&mtx1); // no-warning in bad27()
471 pthread_mutex_unlock(&mtx1); // no-warning in bad28()
472 int ret = pthread_mutex_destroy(&mtx1); // no-warning in bad28()
473 if (ret != 0) // no-warning in bad28()
474 pthread_mutex_lock(&mtx1); // no-warning in bad28()
480 pthread_mutex_lock(&mtx1); // no-warning in bad29()
481 pthread_mutex_unlock(&mtx1); // no-warning in bad29()
482 if (pthread_mutex_destroy(&mtx1) != 0) // no-warning in bad29()
485 pthread_mutex_init(&mtx1, NULL); // no-warning in bad29()
489 pthread_mutex_lock(&mtx1); // no-warning in bad30()
490 pthread_mutex_unlock(&mtx1); // no-warning in bad30()
491 if (pthread_mutex_destroy(&mtx1) != 0) // no-warning in bad30()
498 int ret = pthread_mutex_destroy(&mtx1); // no-warning in bad31()
519 if (ret == 0) // no crash in nocrash1()