#include "zutil.h"
#include "gzguts.h"
Go to the source code of this file.
◆ OF() [1/3]
◆ OF() [2/3]
◆ OF() [3/3]
◆ zcalloc()
◆ zcfree()
◆ zError()
◆ zlibCompileFlags()
Definition at line 32 of file zutil.c.
33{
35
37 switch ((
int)(
sizeof(
uInt))) {
38 case 2: break;
39 case 4:
flags += 1;
break;
40 case 8:
flags += 2;
break;
42 }
43 switch ((
int)(
sizeof(
uLong))) {
44 case 2: break;
45 case 4:
flags += 1 << 2;
break;
46 case 8:
flags += 2 << 2;
break;
47 default:
flags += 3 << 2;
48 }
49 switch ((
int)(
sizeof(
voidpf))) {
50 case 2: break;
51 case 4:
flags += 1 << 4;
break;
52 case 8:
flags += 2 << 4;
break;
53 default:
flags += 3 << 4;
54 }
55 switch ((
int)(
sizeof(
z_off_t))) {
56 case 2: break;
57 case 4:
flags += 1 << 6;
break;
58 case 8:
flags += 2 << 6;
break;
59 default:
flags += 3 << 6;
60 }
61#ifdef ZLIB_DEBUG
63#endif
64
65
66
67
68
69#ifdef ZLIB_WINAPI
71#endif
72#ifdef BUILDFIXED
74#endif
75#ifdef DYNAMIC_CRC_TABLE
77#endif
78#ifdef NO_GZCOMPRESS
80#endif
81#ifdef NO_GZIP
83#endif
84#ifdef PKZIP_BUG_WORKAROUND
86#endif
87#ifdef FASTEST
89#endif
90#if defined(STDC) || defined(Z_HAVE_STDARG_H)
91# ifdef NO_vsnprintf
93# ifdef HAS_vsprintf_void
95# endif
96# else
97# ifdef HAS_vsnprintf_void
99# endif
100# endif
101#else
103# ifdef NO_snprintf
105# ifdef HAS_sprintf_void
107# endif
108# else
109# ifdef HAS_snprintf_void
111# endif
112# endif
113#endif
115}
◆ zlibVersion()
◆ zmemcmp()
Definition at line 162 of file zutil.c.
166{
168
169 for (
j = 0;
j <
len;
j++) {
171 }
172 return 0;
173}
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint GLint GLint j
◆ zmemcpy()
Definition at line 151 of file zutil.c.
155{
156 if (
len == 0)
return;
157 do {
159 }
while (--
len != 0);
160}
◆ zmemzero()
Definition at line 175 of file zutil.c.
178{
179 if (
len == 0)
return;
180 do {
182 }
while (--
len != 0);
183}
◆ z_errmsg
Initial value:= {
(
z_const char *)
"insufficient memory",
(
z_const char *)
"incompatible version",
}
Definition at line 13 of file zutil.c.