Lines Matching refs:i
39 uint32_t i; in thread_entry_fn_fifo() local
42 for (i = 0U; i < LIST_LEN; i++) { in thread_entry_fn_fifo()
44 zassert_equal(rx_data->value, fifo_data[i].value); in thread_entry_fn_fifo()
48 for (i = 0U; i < LIST_LEN; i++) { in thread_entry_fn_fifo()
49 fifo_data[i].value *= i; in thread_entry_fn_fifo()
50 k_fifo_put((struct k_fifo *)p1, &fifo_data[i]); in thread_entry_fn_fifo()
61 uint32_t i; in ZTEST() local
67 for (i = 0U; i < LIST_LEN; i++) { in ZTEST()
68 fifo_data[i].value = i; in ZTEST()
69 k_fifo_put(&fifo, &fifo_data[i]); in ZTEST()
81 for (i = 0U; i < LIST_LEN; i++) { in ZTEST()
83 zassert_equal(rx_data->value, fifo_data[i].value); in ZTEST()
108 uint32_t i; in thread_entry_fn_lifo() local
111 for (i = 0U; i < LIST_LEN; i++) { in thread_entry_fn_lifo()
113 zassert_equal(rx_data->value, lifo_data[LIST_LEN-1-i].value); in thread_entry_fn_lifo()
117 for (i = 0U; i < LIST_LEN; i++) { in thread_entry_fn_lifo()
118 lifo_data[i].value *= i; in thread_entry_fn_lifo()
119 k_lifo_put((struct k_lifo *)p1, &lifo_data[i]); in thread_entry_fn_lifo()
129 uint32_t i; in ZTEST() local
135 for (i = 0U; i < LIST_LEN; i++) { in ZTEST()
136 lifo_data[i].value = i; in ZTEST()
137 k_lifo_put(&lifo, &lifo_data[i]); in ZTEST()
149 for (i = 0U; i < LIST_LEN; i++) { in ZTEST()
151 zassert_equal(rx_data->value, lifo_data[LIST_LEN-1-i].value); in ZTEST()
180 for (int i = 0; i < STACK_LEN; i++) { in thread_entry_fn_stack() local
181 data[i] = i; in thread_entry_fn_stack()
185 for (int i = 0; i < STACK_LEN; i++) { in thread_entry_fn_stack() local
193 for (int i = 0; i < STACK_LEN; i++) { in thread_entry_fn_stack() local
194 stack_data[i] *= i; in thread_entry_fn_stack()
195 k_stack_push((struct k_stack *)p1, (stack_data_t)&stack_data[i]); in thread_entry_fn_stack()
211 for (int i = 0; i < STACK_LEN; i++) { in ZTEST() local
212 stack_data[i] = i; in ZTEST()
213 k_stack_push(&stack, (stack_data_t)&stack_data[i]); in ZTEST()
225 for (int i = 0; i < STACK_LEN; i++) { in ZTEST() local
256 uint32_t i; in thread_entry_fn_mutex() local
258 for (i = 0; i < NUMBER_OF_ITERATIONS; i++) { in thread_entry_fn_mutex()
267 uint32_t i; in thread_entry_fn_mutex_2() local
269 for (i = 0; i < NUMBER_OF_ITERATIONS*2; i++) { in thread_entry_fn_mutex_2()