Lines Matching refs:ii
53 int ii, prio = k_thread_priority_get(k_current_get()) + 1; in ZTEST() local
55 for (ii = 0; ii < NUM_TIMEOUTS; ii++) { in ZTEST()
56 (void)k_thread_create(&threads[ii], stacks[ii], STACKSIZE, in ZTEST()
57 thread, INT_TO_POINTER(ii), 0, 0, in ZTEST()
59 k_timer_init(&timer[ii], 0, 0); in ZTEST()
60 k_sem_init(&sem[ii], 0, 1); in ZTEST()
61 results[ii] = -1; in ZTEST()
72 for (ii = 0; ii < NUM_TIMEOUTS; ii++) { in ZTEST()
73 k_timer_start(&timer[ii], K_MSEC(100), K_NO_WAIT); in ZTEST()
80 for (ii = 0; ii < NUM_TIMEOUTS; ii++) { in ZTEST()
81 zassert_equal(results[ii], ii, ""); in ZTEST()
85 for (ii = 0; ii < NUM_TIMEOUTS; ii++) { in ZTEST()
86 k_timer_stop(&timer[ii]); in ZTEST()
87 k_thread_join(&threads[ii], K_FOREVER); in ZTEST()