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

Go to the source code of this file.

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 (Bytef *s1, const Bytef *s2, uInt len) const
 
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 304 of file zutil.c.

View newest version in sPHENIX GitHub at line 304 of file zutil.c

References void().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ZLIB_INTERNAL zcfree ( voidpf  opaque,
voidpf  ptr 
)

Definition at line 314 of file zutil.c.

View newest version in sPHENIX GitHub at line 314 of file zutil.c

References void().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const char* ZEXPORT zError ( int  err)

Definition at line 132 of file zutil.c.

View newest version in sPHENIX GitHub at line 132 of file zutil.c

References ERR_MSG.

uLong ZEXPORT zlibCompileFlags ( )

Definition at line 31 of file zutil.c.

View newest version in sPHENIX GitHub at line 31 of file zutil.c

References L.

const char* ZEXPORT zlibVersion ( )

Definition at line 26 of file zutil.c.

View newest version in sPHENIX GitHub at line 26 of file zutil.c

References ZLIB_VERSION.

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

Definition at line 159 of file zutil.c.

View newest version in sPHENIX GitHub at line 159 of file zutil.c

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

Definition at line 148 of file zutil.c.

View newest version in sPHENIX GitHub at line 148 of file zutil.c

Referenced by _tr_stored_block(), deflate(), deflate_stored(), deflateCopy(), deflateGetDictionary(), 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 172 of file zutil.c.

View newest version in sPHENIX GitHub at line 172 of file zutil.c

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 *)"need dictionary",
(z_const char *)"stream end",
(z_const char *)"",
(z_const char *)"file error",
(z_const char *)"stream error",
(z_const char *)"data error",
(z_const char *)"insufficient memory",
(z_const char *)"buffer error",
(z_const char *)"incompatible version",
(z_const char *)""
}

Definition at line 12 of file zutil.c.

View newest version in sPHENIX GitHub at line 12 of file zutil.c