Searched refs:cbuf_read (Results 1 – 8 of 8) sorted by relevance
/lk-master/app/tests/ |
A D | cbuf_tests.c | 63 ASSERT_EQ(3UL, cbuf_read(&cbuf, buf, 3, false)); in cbuf_tests() 69 ASSERT_EQ(12UL, cbuf_read(&cbuf, buf, 32, false)); in cbuf_tests() 105 int read = cbuf_read(&cbuf, buf_in, to_read, false); in cbuf_tests()
|
/lk-master/lib/cbuf/include/lib/ |
A D | cbuf.h | 65 size_t cbuf_read(cbuf_t *cbuf, void *buf, size_t buflen, bool block); 141 cbuf_read(cbuf, NULL, cbuf_size(cbuf), false); in cbuf_reset()
|
/lk-master/platform/pc/ |
A D | uart.c | 127 char c = cbuf_read(&state->tx_buf, &c, 1, true); in uart_write_thread() 145 return cbuf_read(&state->rx_buf, buf, len, true); in uart_read()
|
/lk-master/lib/io/ |
A D | console.c | 96 ssize_t err = cbuf_read(&console_input_cbuf, s, len, true); in __debug_stdio_read()
|
/lk-master/lib/cdcconsole/ |
A D | cdcconsole.c | 73 cbuf_read(&con->tx_buf, NULL, t->bufpos, false); in cdcconsole_tx_cb()
|
/lk-master/platform/stm32f0xx/ |
A D | can.c | 203 bytes_read = cbuf_read(&can_rx_buf, msg, sizeof(*msg), block); in can_recv()
|
/lk-master/lib/cbuf/ |
A D | cbuf.c | 110 size_t cbuf_read(cbuf_t *cbuf, void *_buf, size_t buflen, bool block) { in cbuf_read() function
|
/lk-master/lib/minip/ |
A D | tcp.c | 1017 ret = cbuf_read(&s->rx_buffer, buf, len, false); in tcp_read()
|
Completed in 12 milliseconds