Home
last modified time | relevance | path

Searched refs:cbuf_write (Results 1 – 7 of 7) sorted by relevance

/lk-master/app/tests/
A Dcbuf_tests.c45 ASSERT_EQ(8UL, cbuf_write(&cbuf, "abcdefgh", 8, false)); in cbuf_tests()
51 ASSERT_EQ(7UL, cbuf_write(&cbuf, "ijklmnop", 8, false)); in cbuf_tests()
56 ASSERT_EQ(0UL, cbuf_write(&cbuf, "XXXXXXXX", 8, false)); in cbuf_tests()
95 int wrote = cbuf_write(&cbuf, buf_out, to_write, false); in cbuf_tests()
/lk-master/lib/cdcconsole/
A Dcdcconsole.c50 cbuf_write(&con->tx_buf, str, len, false); in cdcconsole_print()
82 cbuf_write(&console_input_cbuf, t->buf, t->bufpos, false); in cdcconsole_rx_cb()
/lk-master/platform/pc/
A Duart.c107 cbuf_write(&state->rx_buf, &c, 1, false); in uart_irq_handler()
155 return cbuf_write(&state->tx_buf, buf, len, true); in uart_write()
/lk-master/lib/cbuf/include/lib/
A Dcbuf.h99 size_t cbuf_write(cbuf_t *cbuf, const void *buf, size_t len, bool canreschedule);
/lk-master/platform/stm32f0xx/
A Dcan.c73 cbuf_write(&can_rx_buf, &msg, sizeof(msg), false); in stm32_CEC_CAN_IRQ()
/lk-master/lib/cbuf/
A Dcbuf.c51 size_t cbuf_write(cbuf_t *cbuf, const void *_buf, size_t len, bool canreschedule) { in cbuf_write() function
/lk-master/lib/minip/
A Dtcp.c615 cbuf_write(&s->rx_buffer, (uint8_t *)data + offset, copy_len, false); in handle_data()

Completed in 9 milliseconds