Lines Matching refs:ii

141 	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()
222 &test_data[ii], NULL, NULL, in test_multiple_threads_get_data()
226 tid[ii] = k_thread_create(&ttdata[ii], ttstack[ii], TSTACK_SIZE, in test_multiple_threads_get_data()
228 &test_data[ii], NULL, NULL, in test_multiple_threads_get_data()
231 for (ii = 0; ii < test_data_size-1; ii++) { in test_multiple_threads_get_data()
232 k_fifo_put(test_data[ii].fifo, get_scratch_packet()); in test_multiple_threads_get_data()
236 TC_ERROR("thread %d got NULL value from fifo\n", ii); in test_multiple_threads_get_data()
240 if (data->q_order != ii) { in test_multiple_threads_get_data()
242 data->q_order, ii); in test_multiple_threads_get_data()
246 if (data->q_order == ii) { in test_multiple_threads_get_data()
254 TC_ERROR("thread %d got NULL value from fifo\n", ii); in test_multiple_threads_get_data()
258 if (data->q_order != ii) { in test_multiple_threads_get_data()
260 data->q_order, ii); in test_multiple_threads_get_data()
499 intptr_t ii; in test_timeout_setup() local
508 for (ii = 0; ii < NUM_SCRATCH_FIFO_PACKETS; ii++) { in test_timeout_setup()
509 scratch_fifo_packets[ii].data_if_needed = (void *)ii; in test_timeout_setup()
511 (void *)&scratch_fifo_packets[ii]); in test_timeout_setup()