60 strm->avail_out =
state->size;
61 strm->next_out =
state->out;
62 state->x.next = strm->next_out;
87 while (strm->avail_in) {
88 put = strm->avail_in >
max ?
max : strm->avail_in;
95 strm->next_in += writ;
107 while (strm->next_out >
state->x.next) {
109 (
unsigned)(strm->next_out -
state->x.next);
115 state->x.next += writ;
117 if (strm->avail_out == 0) {
118 strm->avail_out =
state->size;
119 strm->next_out =
state->out;
125 have = strm->avail_out;
129 "internal error: deflate stream corrupt");
132 have -= strm->avail_out;
167 strm->next_in =
state->in;
206 if (
state->strm.avail_in == 0)
309 unsigned char buf[1];
317 strm = &(
state->strm);
333 if (strm->avail_in == 0)
334 strm->next_in =
state->in;
336 if (have < state->
size) {
375 #if defined(STDC) || defined(Z_HAVE_STDARG_H) 391 strm = &(
state->strm);
411 if (strm->avail_in == 0)
412 strm->next_in =
state->in;
413 next = (
char *)(
state->in + (strm->next_in -
state->in) + strm->avail_in);
416 # ifdef HAS_vsprintf_void 424 # ifdef HAS_vsnprintf_void 439 if (strm->avail_in >=
state->size) {
441 strm->avail_in =
state->size;
445 strm->next_in =
state->in;
446 strm->avail_in =
left;
465 int ZEXPORTVA gzprintf (
file,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10,
466 a11, a12, a13, a14, a15, a16, a17, a18, a19, a20)
469 int a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10,
470 a11, a12, a13, a14, a15, a16, a17, a18, a19, a20;
481 strm = &(
state->strm);
484 if (
sizeof(
int) !=
sizeof(
void *))
505 if (strm->avail_in == 0)
506 strm->next_in =
state->in;
507 next = (
char *)(strm->next_in + strm->avail_in);
510 # ifdef HAS_sprintf_void 511 sprintf(
next,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10, a11, a12,
512 a13, a14, a15, a16, a17, a18, a19, a20);
517 len =
sprintf(
next,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10, a11,
518 a12, a13, a14, a15, a16, a17, a18, a19, a20);
521 # ifdef HAS_snprintf_void 522 snprintf(
next,
state->size,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9,
523 a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20);
526 len =
snprintf(
next,
state->size,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8,
527 a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20);
536 strm->avail_in +=
len;
538 if (strm->avail_in >=
state->size) {
540 strm->avail_in =
state->size;
544 strm->next_in =
state->in;
545 strm->avail_in =
left;
597 strm = &(
state->strm);
622 state->strategy = strategy;
653 if (!
state->direct) {
int gz_comp(gz_statep state, int flush)
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
static const struct update_accum a3
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
ACPI_SIZE strlen(const char *String)
int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
static const struct update_accum a4
z_size_t gz_write(gz_statep state, voidpc buf, z_size_t len)
int gz_zero(gz_statep state, z_off64_t len)
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len)
#define sprintf(buf, format,...)
GLenum GLuint GLenum GLsizei const GLchar * buf
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy)
int gz_init(gz_statep state)
int ZEXPORT gzputc(gzFile file, int c)
z_size_t ZEXPORT gzfwrite(voidpc buf, z_size_t size, z_size_t nitems, gzFile file)
int deflateEnd(z_streamp strm) DECLSPEC_HIDDEN
void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg)
static const struct update_accum a2
int deflate(z_streamp strm, int flush) DECLSPEC_HIDDEN
int ZEXPORT gzclose_w(gzFile file)
int ZEXPORT gzputs(gzFile file, const char *str)
#define memcpy(s1, s2, n)
int ZEXPORTVA gzprintf(gzFile file, const char *format, int a1, int a2, int a3, int a4, int a5, int a6, int a7, int a8, int a9, int a10, int a11, int a12, int a13, int a14, int a15, int a16, int a17, int a18, int a19, int a20)
static unsigned __int64 next
int ZEXPORT gzflush(gzFile file, int flush)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
int ZEXPORT deflateReset(z_streamp strm)
static const struct update_accum a1
static unsigned(__cdecl *hash_bstr)(bstr_t s)
#define zstrerror(errnum)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
int gz_init OF((gz_statep))