14 (
z_const char *)
"need dictionary",
20 (
z_const char *)
"insufficient memory",
22 (
z_const char *)
"incompatible version",
37 switch ((
int)(
sizeof(
uInt))) {
39 case 4:
flags += 1;
break;
40 case 8:
flags += 2;
break;
43 switch ((
int)(
sizeof(
uLong))) {
45 case 4:
flags += 1 << 2;
break;
46 case 8:
flags += 2 << 2;
break;
47 default:
flags += 3 << 2;
49 switch ((
int)(
sizeof(
voidpf))) {
51 case 4:
flags += 1 << 4;
break;
52 case 8:
flags += 2 << 4;
break;
53 default:
flags += 3 << 4;
55 switch ((
int)(
sizeof(
z_off_t))) {
57 case 4:
flags += 1 << 6;
break;
58 case 8:
flags += 2 << 6;
break;
59 default:
flags += 3 << 6;
75#ifdef DYNAMIC_CRC_TABLE
84#ifdef PKZIP_BUG_WORKAROUND
90#if defined(STDC) || defined(Z_HAVE_STDARG_H)
93# ifdef HAS_vsprintf_void
97# ifdef HAS_vsnprintf_void
105# ifdef HAS_sprintf_void
109# ifdef HAS_snprintf_void
141#if defined(_WIN32_WCE) && _WIN32_WCE < 0x800
156 if (
len == 0)
return;
159 }
while (--
len != 0);
169 for (
j = 0;
j <
len;
j++) {
179 if (
len == 0)
return;
182 }
while (--
len != 0);
204local int next_ptr = 0;
206typedef struct ptr_table_s {
229 if (bsize < 65520L) {
230 buf = farmalloc(bsize);
233 buf = farmalloc(bsize + 16L);
235 if (
buf ==
NULL || next_ptr >= MAX_PTR)
return NULL;
256 for (
n = 0;
n < next_ptr;
n++) {
259 farfree(
table[
n].org_ptr);
260 while (++
n < next_ptr) {
266 Assert(0,
"zcfree: ptr not found");
277#if (!defined(_MSC_VER) || (_MSC_VER <= 600))
278# define _halloc halloc
#define zmemzero(dest, len)
#define Assert(cond, msg)
int zmemcmp(Bytef *s1, const Bytef *s2, uInt len) const
void zcfree(voidpf opaque, voidpf ptr)
voidpf zcalloc(voidpf opaque, unsigned items, unsigned size)
GLenum GLuint GLenum GLsizei const GLchar * buf
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
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
const char *ZEXPORT zlibVersion()
z_const char *const z_errmsg[10]
uLong ZEXPORT zlibCompileFlags()
const char *ZEXPORT zError(int err)