Lines Matching refs:file
10 /* Initialize state for writing a gzip file. Mark initialization by setting
62 /* Compress whatever is at avail_in and next_in and write to the output file.
63 Return -1 if there is an error writing to the output file or if gz_init()
67 to the output file without compressing, and ignore flush. */
176 /* Write len bytes from buf to file. Return the number of bytes written. If
224 /* directly compress user buffer to file */
243 int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len) {
247 if (file == NULL)
249 state = (gz_statep)file;
268 gzFile file)
274 if (file == NULL)
276 state = (gz_statep)file;
294 int ZEXPORT gzputc(gzFile file, int c) {
301 if (file == NULL)
303 state = (gz_statep)file;
339 int ZEXPORT gzputs(gzFile file, const char *s) {
344 if (file == NULL)
346 state = (gz_statep)file;
366 int ZEXPORTVA gzvprintf(gzFile file, const char *format, va_list va) {
374 if (file == NULL)
376 state = (gz_statep)file;
437 int ZEXPORTVA gzprintf(gzFile file, const char *format, ...) {
442 ret = gzvprintf(file, format, va);
450 int ZEXPORTVA gzprintf(gzFile file, const char *format, int a1, int a2, int a3,
460 if (file == NULL)
462 state = (gz_statep)file;
535 int ZEXPORT gzflush(gzFile file, int flush) {
539 if (file == NULL)
541 state = (gz_statep)file;
564 int ZEXPORT gzsetparams(gzFile file, int level, int strategy) {
569 if (file == NULL)
571 state = (gz_statep)file;
602 int ZEXPORT gzclose_w(gzFile file) {
607 if (file == NULL)
609 state = (gz_statep)file;
622 /* flush, free memory, and close file */