ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
gzread.c File Reference
#include "gzguts.h"
+ Include dependency graph for gzread.c:

Go to the source code of this file.

Functions

local int gz_load OF ((gz_statep, unsigned char *, unsigned, unsigned *))
 
local int gz_avail OF ((gz_statep))
 
local int gz_skip OF ((gz_statep, z_off64_t))
 
local z_size_t gz_read OF ((gz_statep, voidp, z_size_t))
 
local int gz_load (gz_statep state, unsigned char *buf, unsigned len, unsigned *have)
 
local int gz_avail (gz_statep state)
 
local int gz_look (gz_statep state)
 
local int gz_decomp (gz_statep state)
 
local int gz_fetch (gz_statep state)
 
local int gz_skip (gz_statep state, z_off64_t len)
 
local 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)
 

Function Documentation

local int gz_avail ( gz_statep  state)

Definition at line 56 of file gzread.c.

View newest version in sPHENIX GitHub at line 56 of file gzread.c

References gz_load(), n, internal_state::strm, Z_BUF_ERROR, and Z_OK.

Referenced by gz_decomp(), and gz_look().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

local int gz_decomp ( gz_statep  state)

Definition at line 175 of file gzread.c.

View newest version in sPHENIX GitHub at line 175 of file gzread.c

References gz_avail(), gz_error(), inflate(), LOOK, internal_state::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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

local int gz_fetch ( gz_statep  state)

Definition at line 229 of file gzread.c.

View newest version in sPHENIX GitHub at line 229 of file gzread.c

References COPY, gz_decomp(), gz_load(), gz_look(), GZIP, LOOK, and internal_state::strm.

Referenced by gz_read(), gz_skip(), and gzgets().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

local int gz_load ( gz_statep  state,
unsigned char *  buf,
unsigned  len,
unsigned *  have 
)

Definition at line 21 of file gzread.c.

View newest version in sPHENIX GitHub at line 21 of file gzread.c

References gz_error(), max, Z_ERRNO, and zstrerror.

Referenced by gz_avail(), gz_fetch(), and gz_read().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

local int gz_look ( gz_statep  state)

Definition at line 91 of file gzread.c.

View newest version in sPHENIX GitHub at line 91 of file gzread.c

References COPY, gz_avail(), gz_error(), GZIP, inflateInit2, inflateReset(), internal_state::strm, Z_MEM_ERROR, Z_NULL, and Z_OK.

Referenced by gz_fetch(), and gzdirect().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

local z_size_t gz_read ( gz_statep  state,
voidp  buf,
z_size_t  len 
)

Definition at line 294 of file gzread.c.

View newest version in sPHENIX GitHub at line 294 of file gzread.c

References COPY, gz_decomp(), gz_fetch(), gz_load(), gz_skip(), LOOK, and n.

Referenced by gzfread(), gzgetc(), and gzread().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

local int gz_skip ( gz_statep  state,
z_off64_t  len 
)

Definition at line 259 of file gzread.c.

View newest version in sPHENIX GitHub at line 259 of file gzread.c

References GT_OFF, gz_fetch(), and n.

Referenced by gz_read(), gzgets(), and gzungetc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ZEXPORT gzclose_r ( gzFile  file)

Definition at line 627 of file gzread.c.

View newest version in sPHENIX GitHub at line 627 of file gzread.c

References close(), check_license::err(), gz_error(), GZ_READ, inflateEnd(), Z_BUF_ERROR, Z_ERRNO, Z_OK, and Z_STREAM_ERROR.

Referenced by gzclose().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ZEXPORT gzdirect ( gzFile  file)

Definition at line 607 of file gzread.c.

View newest version in sPHENIX GitHub at line 607 of file gzread.c

References gz_look(), GZ_READ, LOOK, and void().

+ Here is the call graph for this function:

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.

View newest version in sPHENIX GitHub at line 411 of file gzread.c

References gz_error(), GZ_READ, gz_read(), Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.

+ Here is the call graph for this function:

int ZEXPORT gzgetc ( gzFile  file)

Definition at line 447 of file gzread.c.

View newest version in sPHENIX GitHub at line 447 of file gzread.c

References GZ_READ, gz_read(), int(), Z_BUF_ERROR, and Z_OK.

Referenced by gzgetc_().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int ZEXPORT gzgetc_ ( gzFile  file)

Definition at line 476 of file gzread.c.

View newest version in sPHENIX GitHub at line 476 of file gzread.c

References gzgetc().

+ Here is the call graph for this function:

char* ZEXPORT gzgets ( gzFile  file,
char *  buf,
int  len 
)

Definition at line 543 of file gzread.c.

View newest version in sPHENIX GitHub at line 543 of file gzread.c

References gz_fetch(), GZ_READ, gz_skip(), left, n, Z_BUF_ERROR, and Z_OK.

+ Here is the call graph for this function:

int ZEXPORT gzread ( gzFile  file,
voidp  buf,
unsigned  len 
)

Definition at line 375 of file gzread.c.

View newest version in sPHENIX GitHub at line 375 of file gzread.c

References gz_error(), GZ_READ, gz_read(), Z_BUF_ERROR, Z_OK, and Z_STREAM_ERROR.

+ Here is the call graph for this function:

int ZEXPORT gzungetc ( int  c,
gzFile  file 
)

Definition at line 483 of file gzread.c.

View newest version in sPHENIX GitHub at line 483 of file gzread.c

References c, gz_error(), GZ_READ, gz_skip(), gzFile_s::have, Z_BUF_ERROR, Z_DATA_ERROR, and Z_OK.

+ Here is the call graph for this function:

local int gz_load OF ( (gz_statep, unsigned char *, unsigned, unsigned *)  )
local int gz_skip OF ( (gz_statep, z_off64_t)  )
local z_size_t gz_read OF ( (gz_statep, voidp, z_size_t)  )