Rizin
unix-like reverse engineering framework and cli tools
|
#include "gzguts.h"
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 | gzprintf (gzFile file, const char *format, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15, int a16, int a17, int a18, int a19, int a20) |
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 lzma_stream::avail_in, lzma_stream::avail_out, deflate(), deflateReset(), gz_error(), gz_init(), int, max, state::next, lzma_stream::next_in, lzma_stream::next_out, state::out, strm, unsigned, 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(), gzprintf(), and gzsetparams().
Definition at line 17 of file gzwrite.c.
References lzma_stream::avail_out, DEF_MEM_LEVEL, deflateInit2, free(), gz_error(), state::in, malloc(), MAX_WBITS, state::next, lzma_stream::next_in, lzma_stream::next_out, NULL, state::out, strm, Z_DEFLATED, Z_MEM_ERROR, Z_NULL, and Z_OK.
Referenced by gz_comp(), gz_write(), and gzprintf().
Definition at line 187 of file gzwrite.c.
References gz_comp(), gz_init(), gz_zero(), state::in, len, memcpy(), n, unsigned, z_const, and Z_NO_FLUSH.
Referenced by gzfwrite(), gzputc(), gzputs(), and gzwrite().
Definition at line 154 of file gzwrite.c.
References lzma_stream::avail_in, GT_OFF, gz_comp(), state::in, len, memset(), n, lzma_stream::next_in, strm, Z_NO_FLUSH, and z_off64_t.
Referenced by gz_write(), gzclose_w(), gzflush(), gzprintf(), gzputc(), and gzsetparams().
Definition at line 639 of file gzwrite.c.
References close, 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 565 of file gzwrite.c.
References gz_comp(), GZ_WRITE, gz_zero(), NULL, Z_FINISH, Z_OK, and Z_STREAM_ERROR.
Referenced by ozstream::flush().
Definition at line 283 of file gzwrite.c.
References gz_error(), GZ_WRITE, gz_write(), len, NULL, Z_OK, and Z_STREAM_ERROR.
int ZEXPORTVA gzprintf | ( | gzFile | file, |
const char * | format, | ||
int | a1, | ||
int | a2, | ||
int | a3, | ||
int | a4, | ||
int | a5, | ||
int | a6, | ||
int | a7, | ||
int | a8, | ||
int | a9, | ||
int | a10, | ||
int | a11, | ||
int | a12, | ||
int | a13, | ||
int | a14, | ||
int | a15, | ||
int | a16, | ||
int | a17, | ||
int | a18, | ||
int | a19, | ||
int | a20 | ||
) |
Definition at line 477 of file gzwrite.c.
References a15, a8, lzma_stream::avail_in, gz_comp(), gz_init(), GZ_WRITE, gz_zero(), if(), state::in, len, lzma_stream::next_in, NULL, snprintf, sprintf, strm, Z_NO_FLUSH, Z_OK, and Z_STREAM_ERROR.
Definition at line 313 of file gzwrite.c.
References lzma_stream::avail_in, c, GZ_WRITE, gz_write(), gz_zero(), state::in, lzma_stream::next_in, NULL, strm, unsigned, and Z_OK.
Definition at line 361 of file gzwrite.c.
References gz_error(), GZ_WRITE, gz_write(), int, len, NULL, s, Z_OK, and Z_STREAM_ERROR.
Definition at line 597 of file gzwrite.c.
References lzma_stream::avail_in, deflateParams(), gz_comp(), GZ_WRITE, gz_zero(), level, NULL, strm, Z_BLOCK, Z_OK, and Z_STREAM_ERROR.
Referenced by gzfilebuf::setcompression(), gzfilebuf::setcompressionlevel(), and gzfilebuf::setcompressionstrategy().
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(), gzfilebuf::flushbuf(), operator<(), ozstream::os_flush(), gzfilebuf::overflow(), ozstream::write(), and write().