Home | History | Annotate | Download | only in cups

Lines Matching defs:bytes

55  * update the value to contain the number of data bytes in the buffer.
64 int *datalen, /* IO - Size of data buffer on entry, number of bytes in buffer on return */
94 * update the value to contain the number of data bytes in the buffer.
104 int *datalen, /* IO - Size of data buffer on entry, number of bytes in buffer on return */
108 ssize_t bytes; /* Bytes read */
183 while ((bytes = read(CUPS_SC_FD, buffer, _CUPS_SC_MAX_BUFFER)) < 0)
197 * Watch for EOF or too few bytes...
200 if (bytes < 4)
202 DEBUG_printf(("1cupsSideChannelRead: Short read of " CUPS_LLFMT " bytes", CUPS_LLCAST bytes));
246 else if (!datalen || templen > *datalen || templen > (bytes - 4))
529 int datalen, /* I - Number of bytes of data */
533 ssize_t bytes; /* Bytes written */
604 bytes = 4;
609 bytes += datalen;
612 while (write(CUPS_SC_FD, buffer, (size_t)bytes) < 0)