Searched refs:bytes_in_buf (Results 1 - 2 of 2) sorted by relevance
/third_party/backends/frontend/ |
H A D | saned.c | 1654 int num_fds, be_fd = -1, reader, writer, bytes_in_buf, status_dirty = 0; in do_scan() local 1689 reader = writer = bytes_in_buf = 0; in do_scan() 1718 if (bytes_in_buf) in do_scan() 1722 if (bytes_in_buf > 0) in do_scan() 1725 nbytes = bytes_in_buf; in do_scan() 1742 bytes_in_buf -= nwritten; in do_scan() 1762 assert (bytes_in_buf == 0); in do_scan() 1778 bytes_in_buf += length + 4; in do_scan() 1791 if (status_dirty && sizeof (buf) - bytes_in_buf >= 5) in do_scan() 1796 bytes_in_buf in do_scan() [all...] |
/third_party/backends/backend/ |
H A D | artec.c | 3675 static int bytes_in_buf = 0; in sane_read() local 3678 DBG (9, "sane_read: bib = %d, ml = %d\n", bytes_in_buf, max_len); in sane_read() 3680 if (bytes_in_buf != 0) in sane_read() 3682 bytes_to_copy = max_len < bytes_in_buf ? max_len : bytes_in_buf; in sane_read() 3693 bytes_in_buf = *len; in sane_read() 3706 bytes_in_buf -= bytes_to_copy; in sane_read() 3710 bytes_to_copy, bytes_in_buf); in sane_read() 3712 for (loop = 0; loop < bytes_in_buf; loop++) in sane_read()
|
Completed in 7 milliseconds