Lines Matching refs:cups_write
40 static ssize_t cups_write(cups_file_t *fp, const char *buf, size_t bytes);
372 if (cups_write(fp, (char *)fp->cbuf, in cupsFileClose()
400 if (cups_write(fp, (char *)trailer, 8) < 0) in cupsFileClose()
613 bytes = cups_write(fp, fp->buf, (size_t)bytes); in cupsFileFlush()
1222 cups_write(fp, (char *)header, 10); in cupsFileOpenFd()
1356 if (cups_write(fp, fp->printf_buffer, (size_t)bytes) < 0) in cupsFilePrintf()
1381 return ((int)cups_write(fp, fp->printf_buffer, (size_t)bytes)); in cupsFilePrintf()
1535 if (cups_write(fp, s, (size_t)bytes) < 0) in cupsFilePuts()
1560 return ((int)cups_write(fp, s, (size_t)bytes)); in cupsFilePuts()
2048 if (cups_write(fp, buf, bytes) < 0) in cupsFileWrite()
2073 return (cups_write(fp, buf, bytes)); in cupsFileWrite()
2120 if (cups_write(fp, (char *)fp->cbuf, (size_t)(fp->stream.next_out - fp->cbuf)) < 0) in cups_compress()
2678 cups_write(cups_file_t *fp, /* I - CUPS file */ in cups_write() function