Lines Matching refs:o
42 #define TEST_OBJECT(o) ((struct test_object *)o) argument
120 struct test_object *o = TEST_OBJECT(obj); in parent_ab_entry() local
122 o->tv_idx = 0; in parent_ab_entry()
123 zassert_equal(o->transition_bits, test_value[o->tv_idx], in parent_ab_entry()
126 if (o->terminate == PARENT_ENTRY) { in parent_ab_entry()
131 o->transition_bits |= PARENT_AB_ENTRY_BIT; in parent_ab_entry()
136 struct test_object *o = TEST_OBJECT(obj); in parent_ab_run() local
138 o->tv_idx++; in parent_ab_run()
140 zassert_equal(o->transition_bits, test_value[o->tv_idx], in parent_ab_run()
143 if (o->terminate == PARENT_RUN) { in parent_ab_run()
148 o->transition_bits |= PARENT_AB_RUN_BIT; in parent_ab_run()
155 struct test_object *o = TEST_OBJECT(obj); in parent_ab_exit() local
157 o->tv_idx++; in parent_ab_exit()
159 zassert_equal(o->transition_bits, test_value[o->tv_idx], in parent_ab_exit()
162 if (o->terminate == PARENT_EXIT) { in parent_ab_exit()
167 o->transition_bits |= PARENT_AB_EXIT_BIT; in parent_ab_exit()
172 struct test_object *o = TEST_OBJECT(obj); in parent_c_entry() local
174 o->tv_idx++; in parent_c_entry()
176 zassert_equal(o->transition_bits, test_value[o->tv_idx], in parent_c_entry()
178 o->transition_bits |= PARENT_C_ENTRY_BIT; in parent_c_entry()
189 struct test_object *o = TEST_OBJECT(obj); in parent_c_exit() local
191 o->tv_idx++; in parent_c_exit()
193 zassert_equal(o->transition_bits, test_value[o->tv_idx], in parent_c_exit()
195 o->transition_bits |= PARENT_C_EXIT_BIT; in parent_c_exit()
200 struct test_object *o = TEST_OBJECT(obj); in state_a_entry() local
202 o->tv_idx++; in state_a_entry()
204 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_a_entry()
207 if (o->terminate == ENTRY) { in state_a_entry()
212 o->transition_bits |= STATE_A_ENTRY_BIT; in state_a_entry()
217 struct test_object *o = TEST_OBJECT(obj); in state_a_run() local
219 o->tv_idx++; in state_a_run()
221 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_a_run()
224 o->transition_bits |= STATE_A_RUN_BIT; in state_a_run()
231 struct test_object *o = TEST_OBJECT(obj); in state_a_exit() local
233 o->tv_idx++; in state_a_exit()
235 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_a_exit()
237 o->transition_bits |= STATE_A_EXIT_BIT; in state_a_exit()
242 struct test_object *o = TEST_OBJECT(obj); in state_b_entry() local
244 o->tv_idx++; in state_b_entry()
246 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_b_entry()
248 o->transition_bits |= STATE_B_ENTRY_BIT; in state_b_entry()
253 struct test_object *o = TEST_OBJECT(obj); in state_b_run() local
255 o->tv_idx++; in state_b_run()
257 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_b_run()
260 if (o->terminate == RUN) { in state_b_run()
265 o->transition_bits |= STATE_B_RUN_BIT; in state_b_run()
272 struct test_object *o = TEST_OBJECT(obj); in state_b_exit() local
274 o->tv_idx++; in state_b_exit()
276 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_b_exit()
278 o->transition_bits |= STATE_B_EXIT_BIT; in state_b_exit()
283 struct test_object *o = TEST_OBJECT(obj); in state_c_entry() local
285 o->tv_idx++; in state_c_entry()
287 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_c_entry()
289 o->transition_bits |= STATE_C_ENTRY_BIT; in state_c_entry()
294 struct test_object *o = TEST_OBJECT(obj); in state_c_run() local
296 o->tv_idx++; in state_c_run()
298 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_c_run()
300 o->transition_bits |= STATE_C_RUN_BIT; in state_c_run()
307 struct test_object *o = TEST_OBJECT(obj); in state_c_exit() local
309 o->tv_idx++; in state_c_exit()
311 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_c_exit()
314 if (o->terminate == EXIT) { in state_c_exit()
319 o->transition_bits |= STATE_C_EXIT_BIT; in state_c_exit()
324 struct test_object *o = TEST_OBJECT(obj); in state_d_entry() local
326 o->tv_idx++; in state_d_entry()