Home
last modified time | relevance | path

Searched refs:test_states (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.7.0/tests/lib/smf/src/
Dtest_lib_hierarchical_smf.c89 static const struct smf_state test_states[]; variable
150 smf_set_state(SMF_CTX(obj), &test_states[STATE_B]); in parent_ab_run()
267 smf_set_state(SMF_CTX(obj), &test_states[STATE_C]); in state_b_run()
302 smf_set_state(SMF_CTX(obj), &test_states[STATE_D]); in state_c_run()
339 static const struct smf_state test_states[] = { variable
345 &test_states[PARENT_AB], NULL),
347 &test_states[PARENT_AB], NULL),
349 &test_states[PARENT_C], NULL),
360 smf_set_initial((struct smf_ctx *)&test_obj, &test_states[STATE_A]); in ZTEST()
377 smf_set_initial((struct smf_ctx *)&test_obj, &test_states[STATE_A]); in ZTEST()
[all …]
Dtest_lib_self_transition_smf.c115 static const struct smf_state test_states[]; variable
228 smf_set_state(SMF_CTX(obj), &test_states[STATE_C]); in parent_ab_run()
272 smf_set_state(SMF_CTX(obj), &test_states[PARENT_C]); in parent_c_run()
317 smf_set_state(SMF_CTX(obj), &test_states[STATE_B]); in state_a_run()
404 smf_set_state(SMF_CTX(obj), &test_states[STATE_D]); in state_c_run()
446 static const struct smf_state test_states[] = { variable
447 [ROOT] = SMF_CREATE_STATE(root_entry, root_run, root_exit, NULL, &test_states[PARENT_AB]),
449 &test_states[ROOT], &test_states[STATE_A]),
451 &test_states[ROOT], &test_states[STATE_C]),
453 &test_states[PARENT_AB], NULL),
[all …]
Dtest_lib_flat_smf.c57 static const struct smf_state test_states[]; variable
107 smf_set_state(SMF_CTX(obj), &test_states[STATE_B]); in state_a_run()
147 smf_set_state(SMF_CTX(obj), &test_states[STATE_C]); in state_b_run()
179 smf_set_state(SMF_CTX(obj), &test_states[STATE_D]); in state_c_run()
215 static const struct smf_state test_states[] = { variable
228 smf_set_initial((struct smf_ctx *)&test_obj, &test_states[STATE_A]); in ZTEST()
245 smf_set_initial((struct smf_ctx *)&test_obj, &test_states[STATE_A]); in ZTEST()
262 smf_set_initial((struct smf_ctx *)&test_obj, &test_states[STATE_A]); in ZTEST()
279 smf_set_initial((struct smf_ctx *)&test_obj, &test_states[STATE_A]); in ZTEST()
Dtest_lib_hierarchical_5_ancestor_smf.c95 static const struct smf_state test_states[]; variable
137 smf_set_state(SMF_CTX(obj), &test_states[C]); in p05_run()
319 smf_set_state(SMF_CTX(obj), &test_states[B]); in a_run()
392 smf_set_state(SMF_CTX(obj), &test_states[D]); in c_run()
414 static const struct smf_state test_states[] = { variable
416 [P04] SMF_CREATE_STATE(p04_entry, p04_run, p04_exit, &test_states[P05], NULL),
417 [P03] SMF_CREATE_STATE(p03_entry, p03_run, p03_exit, &test_states[P04], NULL),
418 [P02] SMF_CREATE_STATE(p02_entry, p02_run, p02_exit, &test_states[P03], NULL),
419 [P01] SMF_CREATE_STATE(p01_entry, p01_run, p01_exit, &test_states[P02], NULL),
420 [A] = SMF_CREATE_STATE(a_entry, a_run, a_exit, &test_states[P01], NULL),
[all …]