Geant4  10.03
zutil.cc File Reference
#include "zutil.h"
#include "gzguts.h"
+ Include dependency graph for zutil.cc:

Go to the source code of this file.

Classes

struct  internal_state
 

Functions

const char *ZEXPORT zlibVersion ()
 
uLong ZEXPORT zlibCompileFlags ()
 
const char *ZEXPORT zError (int err)
 
void ZLIB_INTERNAL zmemcpy (Bytef *dest, const Bytef *source, uInt len)
 
int ZLIB_INTERNAL zmemcmp (const Bytef *s1, const Bytef *s2, uInt len)
 
void ZLIB_INTERNAL zmemzero (Bytef *dest, uInt len)
 
voidp malloc OF ((uInt size))
 
voidp calloc OF ((uInt items, uInt size))
 
void free OF ((voidpf ptr))
 
voidpf ZLIB_INTERNAL zcalloc (voidpf opaque, unsigned items, unsigned size)
 
void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr)
 

Variables

z_const char *const z_errmsg [10]
 

Function Documentation

voidp malloc OF ( (uInt size)  )
voidp calloc OF ( (uInt items, uInt size)  )
void free OF ( (voidpf ptr)  )
voidpf ZLIB_INTERNAL zcalloc ( voidpf  opaque,
unsigned  items,
unsigned  size 
)

Definition at line 294 of file zutil.cc.

Referenced by deflateInit2_(), inflateBackInit_(), and inflateInit2_().

+ Here is the caller graph for this function:

void ZLIB_INTERNAL zcfree ( voidpf  opaque,
voidpf  ptr 
)

Definition at line 301 of file zutil.cc.

References free.

Referenced by deflateInit2_(), inflateBackInit_(), and inflateInit2_().

+ Here is the caller graph for this function:

const char* ZEXPORT zError ( int  err)

Definition at line 135 of file zutil.cc.

uLong ZEXPORT zlibCompileFlags ( )

Definition at line 35 of file zutil.cc.

References L.

const char* ZEXPORT zlibVersion ( )

Definition at line 30 of file zutil.cc.

int ZLIB_INTERNAL zmemcmp ( const Bytef *  s1,
const Bytef *  s2,
uInt  len 
)

Definition at line 158 of file zutil.cc.

void ZLIB_INTERNAL zmemcpy ( Bytef *  dest,
const Bytef *  source,
uInt  len 
)

Definition at line 150 of file zutil.cc.

Referenced by deflateCopy(), fill_window(), flush_pending(), inflate(), inflateBack(), inflateCopy(), inflateGetDictionary(), read_buf(), and updatewindow().

+ Here is the caller graph for this function:

void ZLIB_INTERNAL zmemzero ( Bytef *  dest,
uInt  len 
)

Definition at line 168 of file zutil.cc.

Referenced by fill_window().

+ Here is the caller graph for this function:

Variable Documentation

z_const char* const z_errmsg[10]
Initial value:
= {
(z_const char* const)"need dictionary",
(z_const char* const)"stream end",
(z_const char* const)"",
(z_const char* const)"file error",
(z_const char* const)"stream error",
(z_const char* const)"data error",
(z_const char* const)"insufficient memory",
(z_const char* const)"buffer error",
(z_const char* const)"incompatible version",
(z_const char* const)""}

Definition at line 17 of file zutil.cc.