Searched refs:buf_left (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/subsys/shell/backends/ |
D | shell_websocket.c | 115 size_t len, buf_left; in ws_recv() local 121 buf_left = sizeof(ws->rx_buf) - ws->rx_len; in ws_recv() 122 if (buf_left == 0) { in ws_recv() 131 ret = zsock_recv(pollfd->fd, buf, buf_left, 0); in ws_recv()
|
D | shell_telnet.c | 273 size_t len, off, buf_left, cmd_total_len; in telnet_recv() local 279 buf_left = sizeof(sh_telnet->rx_buf) - sh_telnet->rx_len; in telnet_recv() 280 if (buf_left == 0) { in telnet_recv() 289 ret = zsock_recv(pollfd->fd, buf, buf_left, 0); in telnet_recv()
|