Lines Matching refs:ret_value
60 int32_t ret_value; in condvar_wait_task() local
68 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_task()
72 zassert_true(ret_value == 0, in condvar_wait_task()
74 zassert_false(ret_value == 0, in condvar_wait_task()
78 zassert_true(ret_value == -EAGAIN, in condvar_wait_task()
82 zassert_true(ret_value == -EAGAIN, in condvar_wait_task()
83 "k_condvar_wait failed.: %d", ret_value); in condvar_wait_task()
93 int32_t ret_value; in condvar_wake_task() local
95 ret_value = k_condvar_signal(&simple_condvar); in condvar_wake_task()
96 zassert_equal(ret_value, 0, in condvar_wake_task()
97 "k_condvar_wake failed. (%d!=%d)", ret_value, 0); in condvar_wake_task()
102 int32_t ret_value; in condvar_wake_multiple() local
105 ret_value = k_condvar_broadcast(&simple_condvar); in condvar_wake_multiple()
106 zassert_true(ret_value == woken_num, in condvar_wake_multiple()
107 "k_condvar_wake failed. (%d!=%d)", ret_value, woken_num); in condvar_wake_multiple()
112 int32_t ret_value; in condvar_wait_wake_task() local
117 ret_value = k_condvar_wait(&simple_condvar, &test_mutex, K_TICKS(time_val)); in condvar_wait_wake_task()
121 zassert_true(ret_value == 0, in condvar_wait_wake_task()
125 zassert_true(ret_value == -EAGAIN, in condvar_wait_wake_task()
129 zassert_true(ret_value == 0, in condvar_wait_wake_task()
322 int32_t ret_value; in condvar_multiple_wait_wake_task() local
331 ret_value = k_condvar_wait(&multiple_condvar[idx], in condvar_multiple_wait_wake_task()
333 zassert_true(ret_value == 0, "k_condvar_wait failed."); in condvar_multiple_wait_wake_task()
340 int32_t ret_value; in condvar_multiple_wake_task() local
347 ret_value = k_condvar_signal(&multiple_condvar[idx]); in condvar_multiple_wake_task()
349 ret_value = k_condvar_broadcast(&multiple_condvar[idx]); in condvar_multiple_wake_task()
352 zassert_true(ret_value == woken_num, "k_condvar_wake failed. (%d!=%d)", in condvar_multiple_wake_task()
353 ret_value, woken_num); in condvar_multiple_wake_task()