Lines Matching refs:pthread_mutex_init
129 pthread_mutex_init(&mtx1, NULL); // no-warning in ok16()
135 pthread_mutex_init(&mtx1, NULL); // no-warning in ok17()
136 pthread_mutex_init(&mtx2, NULL); // no-warning in ok17()
143 pthread_mutex_init(&mtx1, NULL); // no-warning in ok18()
150 pthread_mutex_init(&mtx1, NULL); // no-warning in ok19()
152 pthread_mutex_init(&mtx2, NULL); // no-warning in ok19()
160 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
162 pthread_mutex_init(&mtx1, NULL); // no-warning in ok20()
378 pthread_mutex_init(&mtx1, NULL); // no-warning in bad24()
379 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad24()
386 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock is still being held}} in bad25()
393 pthread_mutex_init(&mtx1, NULL); // expected-warning{{This lock has already been initialized}} in bad26()