Lines Matching refs:bytes_in_buf
1654 int num_fds, be_fd = -1, reader, writer, bytes_in_buf, status_dirty = 0;
1689 reader = writer = bytes_in_buf = 0;
1718 if (bytes_in_buf)
1722 if (bytes_in_buf > 0)
1725 nbytes = bytes_in_buf;
1742 bytes_in_buf -= nwritten;
1762 assert (bytes_in_buf == 0);
1778 bytes_in_buf += length + 4;
1791 if (status_dirty && sizeof (buf) - bytes_in_buf >= 5)
1796 bytes_in_buf += 5;
1812 while (status == SANE_STATUS_GOOD || bytes_in_buf > 0 || status_dirty);