pngcrush
1.8.13
About: Pngcrush is an optimizer for PNG (Portable Network Graphics) files.
![]() ![]() |
#include "gzguts.h"
Go to the source code of this file.
Functions | |
static int | gz_load () |
static int | gz_avail () |
static int | gz_look () |
static int | gz_decomp () |
static int | gz_fetch () |
static int | gz_skip () |
static z_size_t | gz_read () |
static int | gz_load (gz_statep state, unsigned char *buf, unsigned len, unsigned *have) |
static int | gz_avail (gz_statep state) |
static int | gz_look (gz_statep state) |
static int | gz_decomp (gz_statep state) |
static int | gz_fetch (gz_statep state) |
static int | gz_skip (gz_statep state, long len) |
static z_size_t | gz_read (gz_statep state, voidp buf, z_size_t len) |
int | gzread (gzFile file, voidp buf, unsigned len) |
z_size_t | gzfread (voidp buf, z_size_t size, z_size_t nitems, gzFile file) |
int | gzgetc (gzFile file) |
int | gzgetc_ (gzFile file) |
int | gzungetc (int c, gzFile file) |
char * | gzgets (gzFile file, char *buf, int len) |
int | gzdirect (gzFile file) |
int | gzclose_r (gzFile file) |
|
static |
Referenced by gz_decomp(), and gz_look().
|
static |
Definition at line 57 of file gzread.c.
References z_stream_s::avail_in, gz_load(), z_stream_s::next_in, Z_BUF_ERROR, and Z_OK.
|
static |
Referenced by gz_fetch(), and gz_read().
|
static |
Definition at line 176 of file gzread.c.
References z_stream_s::avail_in, z_stream_s::avail_out, gz_avail(), gz_error(), inflate(), LOOK, z_stream_s::msg, z_stream_s::next_out, Z_BUF_ERROR, Z_DATA_ERROR, Z_MEM_ERROR, Z_NEED_DICT, Z_NO_FLUSH, Z_OK, Z_STREAM_END, and Z_STREAM_ERROR.
|
static |
Definition at line 230 of file gzread.c.
References z_stream_s::avail_in, z_stream_s::avail_out, COPY, gz_decomp(), gz_load(), gz_look(), GZIP, LOOK, and z_stream_s::next_out.
|
static |
Referenced by gz_avail(), gz_fetch(), and gz_read().
|
static |
Definition at line 22 of file gzread.c.
References gz_error(), gzFile_s::have, Z_ERRNO, and zstrerror.
|
static |
Referenced by gz_fetch(), and gzdirect().
|
static |
Definition at line 92 of file gzread.c.
References z_stream_s::avail_in, COPY, free(), gz_avail(), gz_error(), GZIP, inflateInit2, inflateReset(), malloc(), z_stream_s::next_in, Z_MEM_ERROR, Z_NULL, and Z_OK.
Definition at line 295 of file gzread.c.
References COPY, gz_decomp(), gz_fetch(), gz_load(), gz_skip(), LOOK, and gz_state::seek.
|
static |
Referenced by gz_read(), gzgets(), and gzungetc().
|
static |
Definition at line 260 of file gzread.c.
References GT_OFF, gz_fetch(), and z_off64_t.
int gzclose_r | ( | gzFile | file | ) |
Definition at line 628 of file gzread.c.
References gz_state::err, gz_state::fd, free(), gz_error(), GZ_READ, gz_state::in, inflateEnd(), gz_state::mode, gz_state::out, gz_state::path, gz_state::size, gz_state::strm, Z_BUF_ERROR, Z_ERRNO, Z_OK, and Z_STREAM_ERROR.
Referenced by gzclose().
int gzdirect | ( | gzFile | file | ) |
Definition at line 608 of file gzread.c.
References gz_state::direct, gz_look(), GZ_READ, gzFile_s::have, gz_state::how, LOOK, gz_state::mode, and gz_state::x.
Definition at line 412 of file gzread.c.
References gz_state::err, gz_error(), gz_read(), GZ_READ, gz_state::mode, Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.
int gzgetc | ( | gzFile | file | ) |
Definition at line 448 of file gzread.c.
References gz_state::err, gz_read(), GZ_READ, gzFile_s::have, gz_state::mode, gzFile_s::next, gzFile_s::pos, gz_state::x, Z_BUF_ERROR, and Z_OK.
Referenced by gzgetc_().
char* gzgets | ( | gzFile | file, |
char * | buf, | ||
int | len | ||
) |
Definition at line 544 of file gzread.c.
References gz_state::err, gz_fetch(), GZ_READ, gz_skip(), gzFile_s::have, gz_state::mode, gzFile_s::next, gz_state::past, gzFile_s::pos, gz_state::seek, gz_state::skip, gz_state::x, Z_BUF_ERROR, and Z_OK.
Definition at line 376 of file gzread.c.
References gz_state::err, gz_error(), gz_read(), GZ_READ, gz_state::mode, Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.
int gzungetc | ( | int | c, |
gzFile | file | ||
) |
Definition at line 484 of file gzread.c.
References gz_state::err, gz_error(), GZ_READ, gz_skip(), gzFile_s::have, gz_state::mode, gzFile_s::next, gz_state::out, gz_state::past, gzFile_s::pos, gz_state::seek, gz_state::size, gz_state::skip, gz_state::x, Z_BUF_ERROR, Z_DATA_ERROR, and Z_OK.