Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 17 of 17) sorted by relevance

/Zephyr-Core-2.7.6/tests/kernel/common/src/
Dtimeout_order.c53 int ii, prio = k_thread_priority_get(k_current_get()) + 1; in test_timeout_order() local
55 for (ii = 0; ii < NUM_TIMEOUTS; ii++) { in test_timeout_order()
56 (void)k_thread_create(&threads[ii], stacks[ii], STACKSIZE, in test_timeout_order()
57 thread, INT_TO_POINTER(ii), 0, 0, in test_timeout_order()
59 k_timer_init(&timer[ii], 0, 0); in test_timeout_order()
60 k_sem_init(&sem[ii], 0, 1); in test_timeout_order()
61 results[ii] = -1; in test_timeout_order()
74 for (ii = 0; ii < NUM_TIMEOUTS; ii++) { in test_timeout_order()
75 k_timer_start(&timer[ii], K_MSEC(100), K_NO_WAIT); in test_timeout_order()
82 for (ii = 0; ii < NUM_TIMEOUTS; ii++) { in test_timeout_order()
[all …]
Derrno.c79 for (int ii = 0; ii < N_THREADS; ii++) { in test_thread_context() local
80 result[ii].pass = TC_FAIL; in test_thread_context()
84 for (int ii = 0; ii < N_THREADS; ii++) { in test_thread_context() local
85 k_thread_create(&threads[ii], stacks[ii], STACK_SIZE, in test_thread_context()
86 errno_thread, INT_TO_POINTER(ii), in test_thread_context()
87 INT_TO_POINTER(errno_values[ii]), NULL, in test_thread_context()
88 K_PRIO_PREEMPT(ii + 5), 0, K_NO_WAIT); in test_thread_context()
91 for (int ii = 0; ii < N_THREADS; ii++) { in test_thread_context() local
106 for (int ii = 0; ii < N_THREADS; ii++) { in test_thread_context() local
107 k_thread_join(&threads[ii], K_FOREVER); in test_thread_context()
/Zephyr-Core-2.7.6/tests/unit/list/
Dsflist.c298 int ii; in test_sflist() local
302 for (ii = 0; ii < 6; ii++) { in test_sflist()
303 sys_sflist_append(&test_list, &data_node[ii].node); in test_sflist()
306 ii = 0; in test_sflist()
308 ii++; in test_sflist()
313 zassert_equal(ii, 3, ""); in test_sflist()
315 ii = 0; in test_sflist()
317 ii++; in test_sflist()
322 zassert_equal(ii, 1, ""); in test_sflist()
324 ii = 0; in test_sflist()
[all …]
Dslist.c298 int ii; in test_slist() local
302 for (ii = 0; ii < 6; ii++) { in test_slist()
303 sys_slist_append(&test_list, &data_node[ii].node); in test_slist()
306 ii = 0; in test_slist()
308 ii++; in test_slist()
313 zassert_equal(ii, 3, ""); in test_slist()
315 ii = 0; in test_slist()
317 ii++; in test_slist()
322 zassert_equal(ii, 1, ""); in test_slist()
324 ii = 0; in test_slist()
[all …]
Ddlist.c297 int ii; in test_dlist() local
301 for (ii = 0; ii < 6; ii++) { in test_dlist()
302 sys_dlist_append(&test_list, &data_node[ii].node); in test_dlist()
305 ii = 0; in test_dlist()
307 ii++; in test_dlist()
312 zassert_equal(ii, 3, ""); in test_dlist()
314 ii = 0; in test_dlist()
316 ii++; in test_dlist()
321 zassert_equal(ii, 1, ""); in test_dlist()
323 ii = 0; in test_dlist()
[all …]
/Zephyr-Core-2.7.6/tests/kernel/fifo/fifo_timeout/src/
Dmain.c139 int ii, j; in test_multiple_threads_pending() local
142 for (ii = 0; ii < test_data_size; ii++) { in test_multiple_threads_pending()
143 tid[ii] = k_thread_create(&ttdata[ii], ttstack[ii], TSTACK_SIZE, in test_multiple_threads_pending()
145 &test_data[ii], NULL, NULL, in test_multiple_threads_pending()
157 for (ii = 0; ii < test_data_size; ii++) { in test_multiple_threads_pending()
162 if (data->timeout_order == ii) { in test_multiple_threads_pending()
170 if (test_data[j].timeout_order == ii) { in test_multiple_threads_pending()
188 data->timeout_order, ii); in test_multiple_threads_pending()
215 int ii; in test_multiple_threads_get_data() local
217 for (ii = 0; ii < test_data_size-1; ii++) { in test_multiple_threads_get_data()
[all …]
/Zephyr-Core-2.7.6/tests/arch/arm/arm_irq_vector_table/src/
Darm_irq_vector_table.c147 for (int ii = 0; ii < 3; ii++) { in test_arm_irq_vector_table() local
148 irq_enable(_ISR_OFFSET + ii); in test_arm_irq_vector_table()
149 z_arm_irq_priority_set(_ISR_OFFSET + ii, 0, 0); in test_arm_irq_vector_table()
150 k_sem_init(&sem[ii], 0, K_SEM_MAX_LIMIT); in test_arm_irq_vector_table()
157 for (int ii = 0; ii < 3; ii++) { in test_arm_irq_vector_table() local
163 NVIC_SetPendingIRQ(_ISR_OFFSET + ii); in test_arm_irq_vector_table()
165 NVIC->STIR = _ISR_OFFSET + ii; in test_arm_irq_vector_table()
/Zephyr-Core-2.7.6/tests/kernel/lifo/lifo_usage/src/
Dmain.c120 int ii; in test_multiple_threads_pending() local
122 for (ii = 0; ii < test_data_size; ii++) { in test_multiple_threads_pending()
123 tid[ii] = k_thread_create(&ttdata[ii], ttstack[ii], TSTACK_SIZE, in test_multiple_threads_pending()
125 &test_data[ii], NULL, NULL, in test_multiple_threads_pending()
129 for (ii = 0; ii < test_data_size; ii++) { in test_multiple_threads_pending()
133 if (data->timeout_order == ii) { in test_multiple_threads_pending()
138 zassert_equal(data->timeout_order, ii, " *** thread %d " in test_multiple_threads_pending()
140 data->timeout_order, ii); in test_multiple_threads_pending()
431 intptr_t ii; in test_para_init() local
444 for (ii = 0; ii < NUM_SCRATCH_LIFO_PACKETS; ii++) { in test_para_init()
[all …]
/Zephyr-Core-2.7.6/tests/kernel/timer/timer_api/src/
Dmain.c629 int ii; in test_timer_user_data() local
631 for (ii = 0; ii < 5; ii++) { in test_timer_user_data()
634 k_timer_user_data_set(user_data_timer[ii], in test_timer_user_data()
635 (void *)user_data[ii]); in test_timer_user_data()
636 check = (intptr_t)k_timer_user_data_get(user_data_timer[ii]); in test_timer_user_data()
638 zassert_true(check == user_data[ii], NULL); in test_timer_user_data()
641 for (ii = 0; ii < 5; ii++) { in test_timer_user_data()
642 k_timer_start(user_data_timer[ii], K_MSEC(50 + ii * 50), in test_timer_user_data()
646 uint32_t wait_ms = 50 * ii + 50; in test_timer_user_data()
656 for (ii = 0; ii < 5; ii++) { in test_timer_user_data()
[all …]
/Zephyr-Core-2.7.6/tests/lib/p4workq/src/
Dmain.c77 int ii = sys_rand32_get() % MAX_ITEMS; in stress_handler() local
79 if (items[ii].item.thread == NULL && in stress_handler()
80 &items[ii] != titem && !items[ii].active) { in stress_handler()
81 stress_sub(&items[ii]); in stress_handler()
/Zephyr-Core-2.7.6/tests/benchmarks/mbedtls/src/
Dbenchmark.c162 unsigned long ii, jj; \
170 for (ii = 1; ret == 0 && !mbedtls_timing_alarmed; ii++) { \
189 ii * BUFSIZE / 1024, \
205 for (ii = 12 - title_len; ii != 0; ii--) { \
222 unsigned long ii; \
230 for (ii = 1; !mbedtls_timing_alarmed && !ret ; ii++) { \
237 mbedtls_printf("%6lu " TYPE "/s", ii / 3); \
/Zephyr-Core-2.7.6/kernel/
Dpoll.c221 for (int ii = 0; ii < num_events; ii++) { in register_events() local
226 if (is_condition_met(&events[ii], &state)) { in register_events()
227 set_event_ready(&events[ii], state); in register_events()
230 register_event(&events[ii], poller); in register_events()
/Zephyr-Core-2.7.6/doc/security/
Dsensor-threat.rst233 ii. **Path validation**. The device shall verify that the
262 ii. **Token-based authentication**. It is also possible for the
325 ii. Securely wiping the flash area containing the
/Zephyr-Core-2.7.6/
DLICENSE20 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/Zephyr-Core-2.7.6/doc/releases/
Drelease-notes-2.3.rst1419 …rmittent failures in tests/kernel/common: test_timeout_order: (poll_events[ii].state not equal to …
Drelease-notes-1.14.rst1803 …rmittent failures in tests/kernel/common: test_timeout_order: (poll_events[ii].state not equal to …
/Zephyr-Core-2.7.6/doc/
Dzephyr.doxyfile.in791 # *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,