Geant4-11
|
#include "gzguts.h"
Go to the source code of this file.
Functions | |
int | gz_avail (gz_statep state) |
int | gz_decomp (gz_statep state) |
int | gz_fetch (gz_statep state) |
int | gz_load (gz_statep state, unsigned char *buf, unsigned len, unsigned *have) |
int | gz_look (gz_statep state) |
z_size_t | gz_read (gz_statep state, voidp buf, z_size_t len) |
int | gz_skip (gz_statep state, z_off64_t len) |
int ZEXPORT | gzclose_r (gzFile file) |
int ZEXPORT | gzdirect (gzFile file) |
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) |
char *ZEXPORT | gzgets (gzFile file, char *buf, int len) |
int ZEXPORT | gzread (gzFile file, voidp buf, unsigned len) |
int ZEXPORT | gzungetc (int c, gzFile file) |
int gz_avail | OF ((gz_statep)) |
int gz_load | OF ((gz_statep, unsigned char *, unsigned, unsigned *)) |
z_size_t gz_read | OF ((gz_statep, voidp, z_size_t)) |
int gz_skip | OF ((gz_statep, z_off64_t)) |
int gz_avail | ( | gz_statep | state | ) |
Definition at line 56 of file gzread.c.
References gz_load(), CLHEP::detail::n, Z_BUF_ERROR, and Z_OK.
Referenced by gz_decomp(), and gz_look().
int gz_decomp | ( | gz_statep | state | ) |
Definition at line 175 of file gzread.c.
References gz_avail(), gz_error(), inflate(), LOOK, 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().
int gz_fetch | ( | gz_statep | state | ) |
Definition at line 229 of file gzread.c.
References COPY, gz_decomp(), gz_load(), gz_look(), GZIP, and LOOK.
int gz_load | ( | gz_statep | state, |
unsigned char * | buf, | ||
unsigned | len, | ||
unsigned * | have | ||
) |
Definition at line 21 of file gzread.c.
References PTL::get(), gz_error(), G4INCL::Math::max(), Z_ERRNO, and zstrerror.
Referenced by gz_avail(), gz_fetch(), and gz_read().
int gz_look | ( | gz_statep | state | ) |
Definition at line 91 of file gzread.c.
References COPY, free, gz_avail(), gz_error(), GZIP, inflateInit2, inflateReset(), Z_MEM_ERROR, Z_NULL, and Z_OK.
Referenced by gz_fetch(), and gzdirect().
z_size_t gz_read | ( | gz_statep | state, |
voidp | buf, | ||
z_size_t | len | ||
) |
Definition at line 294 of file gzread.c.
References COPY, gz_decomp(), gz_fetch(), gz_load(), gz_skip(), LOOK, and CLHEP::detail::n.
int gz_skip | ( | gz_statep | state, |
z_off64_t | len | ||
) |
Definition at line 259 of file gzread.c.
References GT_OFF, gz_fetch(), and CLHEP::detail::n.
Referenced by gz_read(), gzgets(), and gzungetc().
int ZEXPORT gzclose_r | ( | gzFile | file | ) |
Definition at line 627 of file gzread.c.
References geant4_check_module_cycles::file, free, gz_error(), GZ_READ, inflateEnd(), Z_BUF_ERROR, Z_ERRNO, Z_OK, and Z_STREAM_ERROR.
Referenced by gzclose().
int ZEXPORT gzdirect | ( | gzFile | file | ) |
Definition at line 607 of file gzread.c.
References geant4_check_module_cycles::file, gz_look(), GZ_READ, and LOOK.
z_size_t ZEXPORT gzfread | ( | voidp | buf, |
z_size_t | size, | ||
z_size_t | nitems, | ||
gzFile | file | ||
) |
Definition at line 411 of file gzread.c.
References geant4_check_module_cycles::file, gz_error(), GZ_READ, gz_read(), Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.
int ZEXPORT gzgetc | ( | gzFile | file | ) |
Definition at line 447 of file gzread.c.
References geant4_check_module_cycles::file, GZ_READ, gz_read(), Z_BUF_ERROR, and Z_OK.
Referenced by gzgetc_().
int ZEXPORT gzgetc_ | ( | gzFile | file | ) |
Definition at line 476 of file gzread.c.
References geant4_check_module_cycles::file, and gzgetc().
char *ZEXPORT gzgets | ( | gzFile | file, |
char * | buf, | ||
int | len | ||
) |
Definition at line 543 of file gzread.c.
References geant4_check_module_cycles::file, gz_fetch(), GZ_READ, gz_skip(), CLHEP::detail::n, Z_BUF_ERROR, and Z_OK.
int ZEXPORT gzread | ( | gzFile | file, |
voidp | buf, | ||
unsigned | len | ||
) |
Definition at line 375 of file gzread.c.
References geant4_check_module_cycles::file, gz_error(), GZ_READ, gz_read(), Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.
int ZEXPORT gzungetc | ( | int | c, |
gzFile | file | ||
) |
Definition at line 483 of file gzread.c.
References geant4_check_module_cycles::file, gz_error(), GZ_READ, gz_skip(), Z_BUF_ERROR, Z_DATA_ERROR, and Z_OK.