Searched refs:test_object (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/tests/lib/smf/src/ |
D | test_lib_hierarchical_5_ancestor_smf.c | 36 #define TEST_OBJECT(o) ((struct test_object *)o) 110 static struct test_object { struct 118 struct test_object *o = TEST_OBJECT(obj); in p05_entry() argument 128 struct test_object *o = TEST_OBJECT(obj); in p05_run() 142 struct test_object *o = TEST_OBJECT(obj); in p05_exit() 154 struct test_object *o = TEST_OBJECT(obj); in p04_entry() 166 struct test_object *o = TEST_OBJECT(obj); in p04_run() 178 struct test_object *o = TEST_OBJECT(obj); in p04_exit() 190 struct test_object *o = TEST_OBJECT(obj); in p03_entry() 202 struct test_object *o = TEST_OBJECT(obj); in p03_run() [all …]
|
D | test_lib_hierarchical_smf.c | 42 #define TEST_OBJECT(o) ((struct test_object *)o) 111 static struct test_object { struct 120 struct test_object *o = TEST_OBJECT(obj); in parent_ab_entry() argument 136 struct test_object *o = TEST_OBJECT(obj); in parent_ab_run() 155 struct test_object *o = TEST_OBJECT(obj); in parent_ab_exit() 172 struct test_object *o = TEST_OBJECT(obj); in parent_c_entry() 189 struct test_object *o = TEST_OBJECT(obj); in parent_c_exit() 200 struct test_object *o = TEST_OBJECT(obj); in state_a_entry() 217 struct test_object *o = TEST_OBJECT(obj); in state_a_run() 231 struct test_object *o = TEST_OBJECT(obj); in state_a_exit() [all …]
|
D | test_lib_flat_smf.c | 22 #define TEST_OBJECT(o) ((struct test_object *)o) 74 static struct test_object { struct 83 struct test_object *o = TEST_OBJECT(obj); in state_a_entry() argument 99 struct test_object *o = TEST_OBJECT(obj); in state_a_run() 112 struct test_object *o = TEST_OBJECT(obj); in state_a_exit() 123 struct test_object *o = TEST_OBJECT(obj); in state_b_entry() 134 struct test_object *o = TEST_OBJECT(obj); in state_b_run() 152 struct test_object *o = TEST_OBJECT(obj); in state_b_exit() 162 struct test_object *o = TEST_OBJECT(obj); in state_c_entry() 172 struct test_object *o = TEST_OBJECT(obj); in state_c_run() [all …]
|
D | test_lib_self_transition_smf.c | 21 #define TEST_OBJECT(o) ((struct test_object *)o) 149 static struct test_object { struct 159 struct test_object *o = TEST_OBJECT(obj); in root_entry() argument 170 struct test_object *o = TEST_OBJECT(obj); in root_run() 183 struct test_object *o = TEST_OBJECT(obj); in root_exit() 193 struct test_object *o = TEST_OBJECT(obj); in parent_ab_entry() 209 struct test_object *o = TEST_OBJECT(obj); in parent_ab_run() 233 struct test_object *o = TEST_OBJECT(obj); in parent_ab_exit() 249 struct test_object *o = TEST_OBJECT(obj); in parent_c_entry() 264 struct test_object *o = TEST_OBJECT(obj); in parent_c_run() [all …]
|
/Zephyr-Core-3.7.0/tests/kernel/mem_protect/obj_validation/src/ |
D | main.c | 29 static int test_object(struct k_sem *sem, int retval) in test_object() function 54 zassert_false(test_object(sem, -EPERM), in object_permission_checks() 61 zassert_false(test_object(sem, -EINVAL), in object_permission_checks() 67 zassert_false(test_object(sem, 0), in object_permission_checks() 89 zassert_false(test_object(&stack_sem, -EBADF)); in ZTEST() 90 zassert_false(test_object((struct k_sem *)&bad_sem, -EBADF)); in ZTEST() 91 zassert_false(test_object((struct k_sem *)0xFFFFFFFF, -EBADF)); in ZTEST() 109 zassert_false(test_object(dyn_sem[i], -EINVAL)); in ZTEST() 113 zassert_false(test_object(dyn_sem[i], -EBADF)); in ZTEST()
|