Lines Matching refs:ret_value
65 int32_t ret_value; in futex_wait_task() local
71 ret_value = k_futex_wait(&simple_futex, in futex_wait_task()
76 zassert_true(ret_value == 0, in futex_wait_task()
78 zassert_false(ret_value == 0, in futex_wait_task()
82 zassert_true(ret_value == -ETIMEDOUT, in futex_wait_task()
87 zassert_true(ret_value == -ETIMEDOUT, in futex_wait_task()
96 int32_t ret_value; in futex_wake_task() local
99 ret_value = k_futex_wake(&simple_futex, in futex_wake_task()
101 zassert_true(ret_value == woken_num, in futex_wake_task()
107 int32_t ret_value; in futex_wait_wake_task() local
112 ret_value = k_futex_wait(&simple_futex, in futex_wait_wake_task()
117 zassert_true(ret_value == 0, in futex_wait_wake_task()
121 zassert_true(ret_value == -ETIMEDOUT, in futex_wait_wake_task()
125 zassert_true(ret_value == 0, in futex_wait_wake_task()
135 int32_t ret_value; in futex_multiple_wake_task() local
141 ret_value = k_futex_wake(&multiple_futex[idx], in futex_multiple_wake_task()
143 zassert_true(ret_value == woken_num, in futex_multiple_wake_task()
149 int32_t ret_value; in futex_multiple_wait_wake_task() local
155 ret_value = k_futex_wait(&multiple_futex[idx], in futex_multiple_wait_wake_task()
157 zassert_true(ret_value == 0, in futex_multiple_wait_wake_task()
457 int32_t ret_value; in futex_wait_wake() local
462 ret_value = k_futex_wait(&simple_futex, 13, K_FOREVER); in futex_wait_wake()
463 zassert_equal(ret_value, 0); in futex_wait_wake()
469 ret_value = k_futex_wake(&simple_futex, false); in futex_wait_wake()
470 zassert_equal(ret_value, 1); in futex_wait_wake()
476 int32_t ret_value; in futex_wake() local
480 ret_value = k_futex_wait(&simple_futex, 13, K_FOREVER); in futex_wake()
481 zassert_equal(ret_value, 0); in futex_wake()