Home
last modified time | relevance | path

Searched refs:case_type (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/tests/ztest/error_hook/src/
Dmain.c19 static ZTEST_BMEM int case_type; variable
160 switch (case_type) { in ztest_post_fatal_error_hook()
189 switch (case_type) { in ztest_post_assert_fail_hook()
211 printk("case type is %d\n", case_type); in tThread_entry()
250 case_type = i; in run_trigger_thread()
258 (void *)&case_type, NULL, NULL, in run_trigger_thread()
301 case_type = ZTEST_CATCH_ASSERT_FAIL; in ZTEST_USER()
332 case_type = ZTEST_CATCH_ASSERT_IN_ISR; in ZTEST()
356 case_type = ZTEST_CATCH_USER_FATAL_K_OOPS; in ZTEST()
/Zephyr-latest/tests/kernel/mutex/mutex_api/src/
Dtest_mutex_apis.c15 static ZTEST_DMEM int case_type; variable
130 if (case_type == 1) { in tThread_T1_priority_inheritance()
141 } else if (case_type == 2) { in tThread_T1_priority_inheritance()
149 } else if (case_type == 3) { in tThread_T1_priority_inheritance()
167 if (case_type == 1) { in tThread_T2_priority_inheritance()
172 } else if (case_type == 2 || case_type == 3) { in tThread_T2_priority_inheritance()
324 case_type = 1; in ZTEST_USER()
354 case_type = 2; in ZTEST_USER()
380 case_type = 3; in ZTEST_USER()
/Zephyr-latest/tests/kernel/mutex/mutex_error_case/src/
Dtest_mutex_error.c14 static ZTEST_DMEM int case_type; variable
105 case_type = choice; in create_negative_test_thread()
109 &mutex, (void *)&case_type, NULL, in create_negative_test_thread()
/Zephyr-latest/tests/kernel/threads/thread_error_case/src/
Dmain.c13 static ZTEST_DMEM int case_type; variable
117 case_type = choice; in create_negative_test_thread()
121 (void *)&case_type, NULL, NULL, in create_negative_test_thread()
/Zephyr-latest/tests/kernel/interrupt/src/
Dinterrupt_offload.c183 static void run_test_offload(int case_type, int real_irq) in run_test_offload() argument
205 switch (case_type) { in run_test_offload()