Lines Matching refs:cups_write
69 static ssize_t cups_write(cups_file_t *fp, const char *buf, size_t bytes);
400 if (cups_write(fp, (char *)fp->cbuf, in cupsFileClose()
428 if (cups_write(fp, (char *)trailer, 8) < 0) in cupsFileClose()
645 bytes = cups_write(fp, fp->buf, (size_t)bytes); in cupsFileFlush()
1260 cups_write(fp, (char *)header, 10); in cupsFileOpenFd()
1406 if (cups_write(fp, fp->printf_buffer, (size_t)bytes) < 0) in cupsFilePrintf()
1431 return ((int)cups_write(fp, fp->printf_buffer, (size_t)bytes)); in cupsFilePrintf()
1589 if (cups_write(fp, s, (size_t)bytes) < 0) in cupsFilePuts()
1614 return ((int)cups_write(fp, s, (size_t)bytes)); in cupsFilePuts()
2112 if (cups_write(fp, buf, bytes) < 0) in cupsFileWrite()
2137 return (cups_write(fp, buf, bytes)); in cupsFileWrite()
2184 if (cups_write(fp, (char *)fp->cbuf, (size_t)(fp->stream.next_out - fp->cbuf)) < 0) in cups_compress()
2744 cups_write(cups_file_t *fp, /* I - CUPS file */ in cups_write() function