Home | History | Annotate | Download | only in cups

Lines Matching full:bytes

41  * Reads up to "bytes" bytes from the backchannel/backend. The "timeout"
48 ssize_t /* O - Bytes read or -1 on error */
50 size_t bytes, /* I - Bytes to read */
77 * Read bytes from the pipe...
81 return ((ssize_t)_read(3, buffer, (unsigned)bytes));
83 return (read(3, buffer, bytes));
91 * Writes "bytes" bytes to the backchannel/filter. The "timeout" parameter
99 ssize_t /* O - Bytes written or -1 on error */
102 size_t bytes, /* I - Bytes to write */
108 ssize_t count; /* Current bytes */
109 size_t total; /* Total bytes */
113 * Write all bytes...
118 while (total < bytes)
139 * Write bytes to the pipe...
143 count = (ssize_t)_write(3, buffer, (unsigned)(bytes - total));
145 count = write(3, buffer, bytes - total);
168 return ((ssize_t)bytes);