Lines Matching refs:mtx_init
85 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()
131 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()
181 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_timed)); in TEST()
197 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_timed)); in TEST()
222 TEST(threads, mtx_init) { in TEST() argument
227 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()
228 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_timed)); in TEST()
229 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain | mtx_recursive)); in TEST()
230 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_timed | mtx_recursive)); in TEST()
231 ASSERT_EQ(thrd_error, mtx_init(&m, 123)); in TEST()
232 ASSERT_EQ(thrd_error, mtx_init(&m, mtx_recursive)); in TEST()
241 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()
251 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()
266 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain | mtx_recursive)); in TEST()
282 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_timed)); in TEST()
303 ASSERT_EQ(thrd_success, mtx_init(&m, mtx_plain)); in TEST()