Lines Matching refs:pthread_mutex_init
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()
237 pthread_mutex_init(&local_mtx, NULL); in ok31()
443 pthread_mutex_init(&mtx1, NULL); // no-warning in bad24()
444 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad24()
451 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock is still being held}} in bad25()
458 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad26()
483 … pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad29()
485 pthread_mutex_init(&mtx1, NULL); // no-warning in bad29()
492 … pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad30()