Lines Matching refs:o
22 #define TEST_OBJECT(o) ((struct test_object *)o) argument
83 struct test_object *o = TEST_OBJECT(obj); in state_a_entry() local
85 o->tv_idx = 0; in state_a_entry()
86 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_a_entry()
89 if (o->terminate == ENTRY) { in state_a_entry()
94 o->transition_bits |= STATE_A_ENTRY_BIT; in state_a_entry()
99 struct test_object *o = TEST_OBJECT(obj); in state_a_run() local
101 o->tv_idx++; in state_a_run()
102 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_a_run()
105 o->transition_bits |= STATE_A_RUN_BIT; in state_a_run()
112 struct test_object *o = TEST_OBJECT(obj); in state_a_exit() local
114 o->tv_idx++; in state_a_exit()
115 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_a_exit()
118 o->transition_bits |= STATE_A_EXIT_BIT; in state_a_exit()
123 struct test_object *o = TEST_OBJECT(obj); in state_b_entry() local
125 o->tv_idx++; in state_b_entry()
126 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_b_entry()
129 o->transition_bits |= STATE_B_ENTRY_BIT; in state_b_entry()
134 struct test_object *o = TEST_OBJECT(obj); in state_b_run() local
136 o->tv_idx++; in state_b_run()
137 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_b_run()
140 if (o->terminate == RUN) { in state_b_run()
145 o->transition_bits |= STATE_B_RUN_BIT; in state_b_run()
152 struct test_object *o = TEST_OBJECT(obj); in state_b_exit() local
154 o->tv_idx++; in state_b_exit()
155 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_b_exit()
157 o->transition_bits |= STATE_B_EXIT_BIT; in state_b_exit()
162 struct test_object *o = TEST_OBJECT(obj); in state_c_entry() local
164 o->tv_idx++; in state_c_entry()
165 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_c_entry()
167 o->transition_bits |= STATE_C_ENTRY_BIT; in state_c_entry()
172 struct test_object *o = TEST_OBJECT(obj); in state_c_run() local
174 o->tv_idx++; in state_c_run()
175 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_c_run()
177 o->transition_bits |= STATE_C_RUN_BIT; in state_c_run()
184 struct test_object *o = TEST_OBJECT(obj); in state_c_exit() local
186 o->tv_idx++; in state_c_exit()
187 zassert_equal(o->transition_bits, test_value[o->tv_idx], in state_c_exit()
190 if (o->terminate == EXIT) { in state_c_exit()
195 o->transition_bits |= STATE_C_EXIT_BIT; in state_c_exit()
200 struct test_object *o = TEST_OBJECT(obj); in state_d_entry() local
202 o->tv_idx++; in state_d_entry()