Home
last modified time | relevance | path

Searched refs:sent_bytes (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/kernel/pipe/pipe/src/
Dtest_pipe.c53 uint32_t sent_bytes; member
163 zassert_true((written == single_elements[index].sent_bytes), in pipe_put_single()
166 single_elements[index].sent_bytes, index); in pipe_put_single()
201 zassert_true((read == single_elements[index].sent_bytes), in pipe_get_single()
203 read, single_elements[index].sent_bytes, index); in pipe_get_single()
239 zassert_true((written == multiple_elements[index].sent_bytes), in pipe_put_multiple()
242 multiple_elements[index].sent_bytes, index); in pipe_put_multiple()
279 zassert_true((read == multiple_elements[index].sent_bytes), in pipe_get_multiple()
281 read, multiple_elements[index].sent_bytes, index); in pipe_get_multiple()
598 zassert_true((written == wait_elements[index].sent_bytes), in pipe_put_forever_timeout()
[all …]
/Zephyr-latest/subsys/ipc/ipc_service/lib/
Dicmsg_me.c185 int sent_bytes = 0; in icmsg_me_send() local
204 sent_bytes = icmsg_buffer_len_to_user_buffer_len(r); in icmsg_me_send()
218 return sent_bytes; in icmsg_me_send()
Dicmsg.c338 int sent_bytes; in icmsg_send() local
368 sent_bytes = write_ret; in icmsg_send()
377 return sent_bytes; in icmsg_send()
/Zephyr-latest/tests/drivers/uart/uart_async_api/src/
Dtest_uart_async.c177 static void tdata_check_recv_buffers(const uint8_t *tx_buf, uint32_t sent_bytes) in tdata_check_recv_buffers() argument
182 zassert_equal(recv_bytes_total, sent_bytes, "Incorrect number of bytes received"); in tdata_check_recv_buffers()
206 uint32_t sent_bytes = 0; in ZTEST_USER() local
216 sent_bytes += 5; in ZTEST_USER()
223 tdata_check_recv_buffers(tx_buf, sent_bytes); in ZTEST_USER()
225 uart_tx(uart_dev, tx_buf + sent_bytes, 5, 100 * USEC_PER_MSEC); in ZTEST_USER()
226 sent_bytes += 5; in ZTEST_USER()
240 tdata_check_recv_buffers(tx_buf, sent_bytes); in ZTEST_USER()