Lines Matching refs:sample_data
31 uint8_t sample_data[SAMPLE_DATA_SIZE]; member
49 fixture.sample_data[i] = i; in uart_emul_device_setup()
125 sample_data_it = sizeof(fixture->sample_data) - fixture->tx_remaining; in uart_emul_device_isr_handle_tx_ready()
126 ret = uart_fifo_fill(fixture->dev, &fixture->sample_data[sample_data_it], in uart_emul_device_isr_handle_tx_ready()
188 zassert_mem_equal(fixture->rx_content, fixture->sample_data, SAMPLE_DATA_SIZE); in ZTEST_F()
208 zassert_equal(evt->data.tx.len, sizeof(fixture->sample_data)); in uart_emul_callback()
209 zassert_equal(evt->data.tx.buf, fixture->sample_data); in uart_emul_callback()
212 zassert_equal(evt->data.rx.len, sizeof(fixture->sample_data)); in uart_emul_callback()
213 zassert_mem_equal(&evt->data.rx.buf[evt->data.rx.offset], fixture->sample_data, in uart_emul_callback()
214 sizeof(fixture->sample_data)); in uart_emul_callback()
241 zassert_ok(uart_tx(fixture->dev, fixture->sample_data, sizeof(fixture->sample_data), in ZTEST_F()
257 zassert_mem_equal(fixture->rx_content, fixture->sample_data, SAMPLE_DATA_SIZE); in ZTEST_F()