Lines Matching refs:thrd_success
27 zassert_not_equal(thrd_success, mtx_init(NULL, FORTY_TWO)); in ZTEST()
28 zassert_not_equal(thrd_success, mtx_init(&mutex, FORTY_TWO)); in ZTEST()
32 zassert_not_equal(thrd_success, mtx_init(NULL, mtx_plain)); in ZTEST()
33 zassert_not_equal(thrd_success, mtx_init((mtx_t *)BIOS_FOOD, FORTY_TWO)); in ZTEST()
39 zassert_equal(thrd_success, mtx_init(&mutex, type)); in ZTEST()
53 zassert_equal(thrd_success, mtx_init(&mutex, mtx_plain)); in ZTEST()
61 zassert_not_equal(thrd_success, mtx_lock(NULL)); in ZTEST()
62 zassert_not_equal(thrd_success, mtx_lock((mtx_t *)BIOS_FOOD)); in ZTEST()
69 zassert_equal(thrd_success, mtx_init(&mutex, type)); in ZTEST()
70 zassert_equal(thrd_success, mtx_lock(&mutex)); in ZTEST()
74 zassert_not_equal(thrd_success, mtx_lock((&mutex))); in ZTEST()
77 zassert_equal(thrd_success, mtx_lock(&mutex)); in ZTEST()
78 zassert_equal(thrd_success, mtx_unlock(&mutex)); in ZTEST()
80 zassert_equal(thrd_success, mtx_unlock(&mutex)); in ZTEST()
112 zassert_equal(thrd_success, mtx_init(&mutex, mtx_timed)); in ZTEST()
115 zassert_equal(thrd_success, mtx_lock(&mutex)); in ZTEST()
116 zassert_equal(thrd_success, thrd_create(&th, mtx_timedlock_fn, &mutex)); in ZTEST()
117 zassert_equal(thrd_success, thrd_join(th, &ret)); in ZTEST()
123 zassert_equal(thrd_success, thrd_create(&th, mtx_timedlock_fn, &mutex)); in ZTEST()
126 zassert_equal(thrd_success, mtx_unlock(&mutex)); in ZTEST()
127 zassert_equal(thrd_success, thrd_join(th, &ret)); in ZTEST()
129 zassert_equal(thrd_success, ret); in ZTEST()
145 zassert_equal(thrd_success, mtx_init(&mutex, mtx_plain)); in ZTEST()
148 zassert_equal(thrd_success, mtx_lock(&mutex)); in ZTEST()
149 zassert_equal(thrd_success, thrd_create(&th, mtx_trylock_fn, &mutex)); in ZTEST()
150 zassert_equal(thrd_success, thrd_join(th, &ret)); in ZTEST()
162 zassert_not_equal(thrd_success, mtx_unlock(&mtx)); in ZTEST()
164 zassert_equal(thrd_success, mtx_init(&mtx, mtx_plain)); in ZTEST()
165 zassert_equal(thrd_success, mtx_lock(&mtx)); in ZTEST()
166 zassert_equal(thrd_success, mtx_unlock(&mtx)); in ZTEST()