Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#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 gz_load(), state::in, Z_BUF_ERROR, and Z_OK.
Referenced by gz_decomp(), and gz_look().
Definition at line 173 of file gzread.c.
References gz_avail(), gz_error(), inflate(), LOOK, state::next, NULL, 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 227 of file gzread.c.
References COPY, gz_decomp(), gz_load(), gz_look(), GZIP, LOOK, state::next, and state::out.
Definition at line 21 of file gzread.c.
References gz_error(), len, max, read(), Z_ERRNO, and zstrerror.
Referenced by gz_avail(), gz_fetch(), and gz_read().
Definition at line 91 of file gzread.c.
References COPY, free, gz_avail(), gz_error(), GZIP, state::in, inflateInit2, inflateReset(), malloc, memcpy, state::next, NULL, state::out, Z_MEM_ERROR, Z_NULL, and Z_OK.
Referenced by gz_fetch(), and gzdirect().
Definition at line 292 of file gzread.c.
References COPY, gz_decomp(), gz_fetch(), gz_load(), gz_skip(), len, LOOK, memcpy, and state::next.
Definition at line 257 of file gzread.c.
References GT_OFF, gz_fetch(), len, state::next, and z_off64_t.
Referenced by gz_read(), gzgets(), and gzungetc().
Definition at line 623 of file gzread.c.
References 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 409 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 445 of file gzread.c.
References GZ_READ, gz_read(), state::next, NULL, Z_BUF_ERROR, and Z_OK.
Definition at line 539 of file gzread.c.
References gz_fetch(), GZ_READ, gz_skip(), len, memcpy, state::next, NULL, str, Z_BUF_ERROR, and Z_OK.
Definition at line 373 of file gzread.c.
References gz_error(), GZ_READ, gz_read(), len, NULL, Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.
Referenced by operator>(), read_string(), and tar().
Definition at line 479 of file gzread.c.
References gz_error(), GZ_READ, gz_skip(), state::next, NULL, state::out, Z_BUF_ERROR, Z_DATA_ERROR, and Z_OK.