Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
Go to the source code of this file.
Functions | |
int gz_init | OF ((gz_statep)) |
int gz_comp | OF ((gz_statep, int)) |
int gz_zero | OF ((gz_statep, z_off64_t)) |
z_size_t gz_write | OF ((gz_statep, voidpc, z_size_t)) |
int | gz_init (gz_statep state) |
int | gz_comp (gz_statep state, int flush) |
int | gz_zero (gz_statep state, z_off64_t len) |
z_size_t | gz_write (gz_statep state, voidpc buf, z_size_t len) |
int ZEXPORT | gzwrite (gzFile file, voidpc buf, unsigned len) |
z_size_t ZEXPORT | gzfwrite (voidpc buf, z_size_t size, z_size_t nitems, gzFile file) |
int ZEXPORT | gzputc (gzFile file, int c) |
int ZEXPORT | gzputs (gzFile file, const char *s) |
int ZEXPORTVA | gzvprintf (gzFile file, const char *format, va_list va) |
int ZEXPORTVA | gzprintf (gzFile file, const char *format,...) |
int ZEXPORT | gzflush (gzFile file, int flush) |
int ZEXPORT | gzsetparams (gzFile file, int level, int strategy) |
int ZEXPORT | gzclose_w (gzFile file) |
Definition at line 73 of file gzwrite.c.
References deflate(), deflateReset(), gz_error(), gz_init(), int(), max, state::next, state::out, write(), Z_ERRNO, Z_FINISH, Z_NO_FLUSH, Z_OK, Z_STREAM_END, Z_STREAM_ERROR, and zstrerror.
Referenced by gz_write(), gz_zero(), gzclose_w(), gzflush(), gzsetparams(), and gzvprintf().
Definition at line 17 of file gzwrite.c.
References DEF_MEM_LEVEL, deflateInit2, free, gz_error(), state::in, malloc, MAX_WBITS, state::next, NULL, state::out, Z_DEFLATED, Z_MEM_ERROR, Z_NULL, and Z_OK.
Referenced by gz_comp(), gz_write(), and gzvprintf().
Definition at line 154 of file gzwrite.c.
References GT_OFF, gz_comp(), state::in, len, Z_NO_FLUSH, and z_off64_t.
Referenced by gz_write(), gzclose_w(), gzflush(), gzputc(), gzsetparams(), and gzvprintf().
Definition at line 639 of file gzwrite.c.
References deflateEnd(), free, gz_comp(), gz_error(), GZ_WRITE, gz_zero(), if(), state::in, NULL, state::out, Z_ERRNO, Z_FINISH, Z_OK, and Z_STREAM_ERROR.
Referenced by gzclose().
Definition at line 283 of file gzwrite.c.
References gz_error(), GZ_WRITE, gz_write(), len, NULL, Z_OK, and Z_STREAM_ERROR.
Definition at line 463 of file gzwrite.c.
References gzvprintf().
Definition at line 361 of file gzwrite.c.
References gz_error(), GZ_WRITE, gz_write(), int(), len, NULL, strlen(), Z_OK, and Z_STREAM_ERROR.
Definition at line 597 of file gzwrite.c.
References deflateParams(), gz_comp(), GZ_WRITE, gz_zero(), NULL, Z_BLOCK, Z_OK, and Z_STREAM_ERROR.
Definition at line 255 of file gzwrite.c.
References gz_error(), GZ_WRITE, gz_write(), len, NULL, Z_DATA_ERROR, and Z_OK.
Referenced by ozstream::close(), operator<(), and ozstream::os_flush().