Searched refs:buf_read_idx (Results 1 – 1 of 1) sorted by relevance
60 int buf_read_idx; member577 while (handle->buf_read_idx != handle->buf_write_idx) { in slc_watch_callback()579 end_char = strchr(&handle->buf[handle->buf_read_idx], '\r'); in slc_watch_callback()585 &handle->buf[handle->buf_read_idx]); in slc_watch_callback()590 handle->buf_read_idx = 1 + end_char - handle->buf; in slc_watch_callback()591 if (handle->buf_read_idx == handle->buf_write_idx) { in slc_watch_callback()592 handle->buf_read_idx = 0; in slc_watch_callback()599 if (handle->buf_read_idx) { in slc_watch_callback()601 &handle->buf[handle->buf_read_idx], in slc_watch_callback()602 handle->buf_write_idx - handle->buf_read_idx); in slc_watch_callback()[all …]