Home
last modified time | relevance | path

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

/Zephyr-latest/tests/kernel/common/src/
Dtimeout_order.c53 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()
[all …]
Derrno.c80 for (int ii = 0; ii < N_THREADS; ii++) { in ZTEST() local
81 result[ii].pass = TC_FAIL; in ZTEST()
85 for (int ii = 0; ii < N_THREADS; ii++) { in ZTEST() local
86 k_thread_create(&threads[ii], stacks[ii], STACK_SIZE, in ZTEST()
87 errno_thread, INT_TO_POINTER(ii), in ZTEST()
88 INT_TO_POINTER(errno_values[ii]), NULL, in ZTEST()
89 K_PRIO_PREEMPT(ii + 5), 0, K_NO_WAIT); in ZTEST()
92 for (int ii = 0; ii < N_THREADS; ii++) { in ZTEST() local
107 for (int ii = 0; ii < N_THREADS; ii++) { in ZTEST() local
108 k_thread_join(&threads[ii], K_FOREVER); in ZTEST()
/Zephyr-latest/tests/unit/list/
Dsflist.c306 int ii; in ZTEST() local
310 for (ii = 0; ii < 6; ii++) { in ZTEST()
311 sys_sflist_append(&test_list, &data_node[ii].node); in ZTEST()
314 ii = 0; in ZTEST()
316 ii++; in ZTEST()
321 zassert_equal(ii, 3, ""); in ZTEST()
323 ii = 0; in ZTEST()
325 ii++; in ZTEST()
330 zassert_equal(ii, 1, ""); in ZTEST()
332 ii = 0; in ZTEST()
[all …]
Dslist.c321 int ii; in ZTEST() local
325 for (ii = 0; ii < 6; ii++) { in ZTEST()
326 sys_slist_append(&test_list, &data_node[ii].node); in ZTEST()
329 ii = 0; in ZTEST()
331 ii++; in ZTEST()
336 zassert_equal(ii, 3, ""); in ZTEST()
338 ii = 0; in ZTEST()
340 ii++; in ZTEST()
345 zassert_equal(ii, 1, ""); in ZTEST()
347 ii = 0; in ZTEST()
[all …]
Ddlist.c305 int ii; in ZTEST() local
309 for (ii = 0; ii < 6; ii++) { in ZTEST()
310 sys_dlist_append(&test_list, &data_node[ii].node); in ZTEST()
313 ii = 0; in ZTEST()
315 ii++; in ZTEST()
320 zassert_equal(ii, 3, ""); in ZTEST()
322 ii = 0; in ZTEST()
324 ii++; in ZTEST()
329 zassert_equal(ii, 1, ""); in ZTEST()
331 ii = 0; in ZTEST()
[all …]
/Zephyr-latest/tests/kernel/fifo/fifo_timeout/src/
Dmain.c141 int ii, j; in test_multiple_threads_pending() local
144 for (ii = 0; ii < test_data_size; ii++) { in test_multiple_threads_pending()
145 tid[ii] = k_thread_create(&ttdata[ii], ttstack[ii], TSTACK_SIZE, in test_multiple_threads_pending()
147 &test_data[ii], NULL, NULL, in test_multiple_threads_pending()
159 for (ii = 0; ii < test_data_size; ii++) { in test_multiple_threads_pending()
164 if (data->timeout_order == ii) { in test_multiple_threads_pending()
172 if (test_data[j].timeout_order == ii) { in test_multiple_threads_pending()
217 int ii; in test_multiple_threads_get_data() local
219 for (ii = 0; ii < test_data_size-1; ii++) { in test_multiple_threads_get_data()
220 tid[ii] = k_thread_create(&ttdata[ii], ttstack[ii], TSTACK_SIZE, in test_multiple_threads_get_data()
[all …]
/Zephyr-latest/tests/arch/arm/arm_irq_vector_table/src/
Darm_irq_vector_table.c103 for (int ii = 0; ii < 3; ii++) { in ZTEST() local
104 irq_enable(_ISR_OFFSET + ii); in ZTEST()
105 z_arm_irq_priority_set(_ISR_OFFSET + ii, 0, 0); in ZTEST()
106 k_sem_init(&sem[ii], 0, K_SEM_MAX_LIMIT); in ZTEST()
113 for (int ii = 0; ii < 3; ii++) { in ZTEST() local
119 NVIC_SetPendingIRQ(_ISR_OFFSET + ii); in ZTEST()
121 NVIC->STIR = _ISR_OFFSET + ii; in ZTEST()
/Zephyr-latest/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 to_ord_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()
438 intptr_t ii; in test_para_init() local
451 for (ii = 0; ii < NUM_SCRATCH_LIFO_PACKETS; ii++) { in test_para_init()
[all …]
/Zephyr-latest/samples/drivers/spi_bitbang/
DREADME.rst42 tx (ii) : 0003 0004 0105
43 rx (ii) : 0003 0004 0105
48 tx (ii) : 0003 0004 0105
49 rx (ii) : 0003 0004 0105
54 tx (ii) : 0003 0004 0105
55 rx (ii) : 0003 0004 0105
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c627 int ii; in ZTEST_USER() local
629 for (ii = 0; ii < 5; ii++) { in ZTEST_USER()
632 k_timer_user_data_set(user_data_timer[ii], in ZTEST_USER()
633 (void *)user_data[ii]); in ZTEST_USER()
634 check = (intptr_t)k_timer_user_data_get(user_data_timer[ii]); in ZTEST_USER()
636 zassert_true(check == user_data[ii]); in ZTEST_USER()
639 for (ii = 0; ii < 5; ii++) { in ZTEST_USER()
640 k_timer_start(user_data_timer[ii], K_MSEC(50 + ii * 50), in ZTEST_USER()
644 uint32_t wait_ms = 50 * ii + 50; in ZTEST_USER()
654 for (ii = 0; ii < 5; ii++) { in ZTEST_USER()
[all …]
/Zephyr-latest/tests/subsys/storage/flash_map/src/
Dmain.c192 for (int ii = 0; ii < chunk; ++ii, ++i) { in ZTEST() local
193 if ((uint8_t)buf[ii] != (uint8_t)flash_area_erased_val(fa)) { in ZTEST()
215 for (int ii = 0; ii < chunk; ++ii, ++i) { in ZTEST() local
216 if ((uint8_t)buf[ii] != (uint8_t)flash_area_erased_val(fa)) { in ZTEST()
/Zephyr-latest/tests/lib/p4workq/src/
Dmain.c78 int ii = sys_rand32_get() % MAX_ITEMS; in stress_handler() local
80 if (items[ii].item.thread == NULL && in stress_handler()
81 &items[ii] != titem && !items[ii].active) { in stress_handler()
82 stress_sub(&items[ii]); in stress_handler()
/Zephyr-latest/modules/nrf_wifi/bus/
Dspi_if.c161 for (int ii = 0; ii < 10; ii++) { in _spim_wait_while_rpu_awake() local
188 for (int ii = 0; ii < 10; ii++) { in spim_wait_while_rpu_wake_write() local
Dqspi_if.c1081 for (int ii = 0; ii < 1; ii++) { in qspi_validate_rpu_wake_writecmd() local
1127 for (int ii = 0; ii < 10; ii++) { in qspi_wait_while_rpu_awake() local
/Zephyr-latest/doc/connectivity/bluetooth/shell/audio/
Dgmap.rst29 ac_6_ii : Unicast audio configuration 6(ii)
30 ac_7_ii : Unicast audio configuration 7(ii)
32 ac_8_ii : Unicast audio configuration 8(ii)
34 ac_11_ii : Unicast audio configuration 11(ii)
Dcap.rst97 ac_6_ii : Unicast audio configuration 6(ii)
99 ac_7_ii : Unicast audio configuration 7(ii)
101 ac_8_ii : Unicast audio configuration 8(ii)
103 ac_9_ii : Unicast audio configuration 9(ii)
106 ac_11_ii : Unicast audio configuration 11(ii)
/Zephyr-latest/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-latest/kernel/
Dpoll.c241 for (int ii = 0; ii < num_events; ii++) { in register_events() local
246 if (is_condition_met(&events[ii], &state)) { in register_events()
247 set_event_ready(&events[ii], state); in register_events()
250 register_event(&events[ii], poller); in register_events()
/Zephyr-latest/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-latest/samples/drivers/virtualization/ivshmem/doorbell/
DREADME.rst206 (ii) make sure writes always respect the shared memory region size.
/Zephyr-latest/
DLICENSE20 otherwise, or (ii) ownership of fifty percent (50%) or more of the
/Zephyr-latest/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-latest/doc/
Dzephyr.doxyfile.in1016 # *.cpp, *.cppm, *.ccm, *.c++, *.c++m, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl,