Rizin
unix-like reverse engineering framework and cli tools
|
#include "gzguts.h"
Go to the source code of this file.
Functions | |
int gz_load | OF ((gz_statep, unsigned char *, unsigned, unsigned *)) |
int gz_avail | OF ((gz_statep)) |
int gz_skip | OF ((gz_statep, z_off64_t)) |
z_size_t gz_read | OF ((gz_statep, voidp, z_size_t)) |
int | gz_load (gz_statep state, unsigned char *buf, unsigned len, unsigned *have) |
int | gz_avail (gz_statep state) |
int | gz_look (gz_statep state) |
int | gz_decomp (gz_statep state) |
int | gz_fetch (gz_statep state) |
int | gz_skip (gz_statep state, z_off64_t len) |
z_size_t | gz_read (gz_statep state, voidp buf, z_size_t len) |
int ZEXPORT | gzread (gzFile file, voidp buf, unsigned len) |
z_size_t ZEXPORT | gzfread (voidp buf, z_size_t size, z_size_t nitems, gzFile file) |
int ZEXPORT | gzgetc (gzFile file) |
int ZEXPORT | gzgetc_ (gzFile file) |
int ZEXPORT | gzungetc (int c, gzFile file) |
char *ZEXPORT | gzgets (gzFile file, char *buf, int len) |
int ZEXPORT | gzdirect (gzFile file) |
int ZEXPORT | gzclose_r (gzFile file) |
Definition at line 56 of file gzread.c.
References lzma_stream::avail_in, gz_load(), state::in, n, lzma_stream::next_in, p, strm, Z_BUF_ERROR, and Z_OK.
Referenced by gz_decomp(), and gz_look().
Definition at line 175 of file gzread.c.
References lzma_stream::avail_in, lzma_stream::avail_out, gz_avail(), gz_error(), inflate(), LOOK, state::next, lzma_stream::next_out, NULL, strm, Z_BUF_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_NEED_DICT, Z_NO_FLUSH, Z_OK, Z_STREAM_END, and Z_STREAM_ERROR.
Referenced by gz_fetch(), and gz_read().
Definition at line 229 of file gzread.c.
References lzma_stream::avail_in, lzma_stream::avail_out, COPY, gz_decomp(), gz_load(), gz_look(), GZIP, LOOK, state::next, lzma_stream::next_out, state::out, and strm.
Definition at line 21 of file gzread.c.
References gz_error(), len, max, read(), unsigned, Z_ERRNO, and zstrerror.
Referenced by gz_avail(), gz_fetch(), and gz_read().
Definition at line 91 of file gzread.c.
References lzma_stream::avail_in, COPY, free(), gz_avail(), gz_error(), GZIP, state::in, inflateInit2, inflateReset(), malloc(), memcpy(), state::next, lzma_stream::next_in, NULL, state::out, strm, Z_MEM_ERROR, Z_NULL, and Z_OK.
Referenced by gz_fetch(), and gzdirect().
Definition at line 294 of file gzread.c.
References COPY, gz_decomp(), gz_fetch(), gz_load(), gz_skip(), len, LOOK, memcpy(), n, state::next, and unsigned.
Definition at line 259 of file gzread.c.
References GT_OFF, gz_fetch(), len, n, state::next, and z_off64_t.
Referenced by gz_read(), gzgets(), and gzungetc().
Definition at line 625 of file gzread.c.
References close, err, free(), gz_error(), GZ_READ, state::in, inflateEnd(), NULL, state::out, Z_BUF_ERROR, Z_ERRNO, Z_OK, and Z_STREAM_ERROR.
Referenced by gzclose().
Definition at line 411 of file gzread.c.
References gz_error(), GZ_READ, gz_read(), len, NULL, Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.
Definition at line 447 of file gzread.c.
References GZ_READ, gz_read(), state::next, NULL, Z_BUF_ERROR, and Z_OK.
Referenced by gzgetc_().
Definition at line 541 of file gzread.c.
References gz_fetch(), GZ_READ, gz_skip(), len, memcpy(), n, state::next, NULL, cmd_descs_generate::str, unsigned, Z_BUF_ERROR, and Z_OK.
Definition at line 375 of file gzread.c.
References gz_error(), GZ_READ, gz_read(), len, NULL, unsigned, Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.
Referenced by gzfilebuf::fillbuf(), operator>(), read(), izstream::read(), read_string(), and tar().
Definition at line 481 of file gzread.c.
References c, dest, gz_error(), GZ_READ, gz_skip(), state::next, NULL, state::out, src, Z_BUF_ERROR, Z_DATA_ERROR, and Z_OK.