Lines Matching refs:file
8 /* Initialize state for writing a gzip file. Mark initialization by setting
59 /* Compress whatever is at avail_in and next_in and write to the output file.
60 Return -1 if there is an error writing to the output file or if gz_init()
64 to the output file without compressing, and ignore flush. */
171 /* Write len bytes from buf to file. Return the number of bytes written. If
218 /* directly compress user buffer to file */
237 int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len) {
241 if (file == NULL)
243 state = (gz_statep)file;
262 gzFile file) {
267 if (file == NULL)
269 state = (gz_statep)file;
287 int ZEXPORT gzputc(gzFile file, int c) {
294 if (file == NULL)
296 state = (gz_statep)file;
332 int ZEXPORT gzputs(gzFile file, const char *s) {
337 if (file == NULL)
339 state = (gz_statep)file;
359 int ZEXPORTVA gzvprintf(gzFile file, const char *format, va_list va) {
367 if (file == NULL)
369 state = (gz_statep)file;
430 int ZEXPORTVA gzprintf(gzFile file, const char *format, ...) {
435 ret = gzvprintf(file, format, va);
443 int ZEXPORTVA gzprintf(gzFile file, const char *format, int a1, int a2, int a3,
453 if (file == NULL)
455 state = (gz_statep)file;
528 int ZEXPORT gzflush(gzFile file, int flush) {
532 if (file == NULL)
534 state = (gz_statep)file;
557 int ZEXPORT gzsetparams(gzFile file, int level, int strategy) {
562 if (file == NULL)
564 state = (gz_statep)file;
595 int ZEXPORT gzclose_w(gzFile file) {
600 if (file == NULL)
602 state = (gz_statep)file;
615 /* flush, free memory, and close file */