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;
103 if (strm->avail_in == 0)
116 while (strm->next_out >
state->x.next) {
118 (
unsigned)(strm->next_out -
state->x.next);
124 state->x.next += writ;
126 if (strm->avail_out == 0) {
127 strm->avail_out =
state->size;
128 strm->next_out =
state->out;
134 have = strm->avail_out;
138 "internal error: deflate stream corrupt");
141 have -= strm->avail_out;
176 strm->next_in =
state->in;
210 if (len < state->
size) {
215 if (
state->strm.avail_in == 0)
318 unsigned char buf[1];
326 strm = &(
state->strm);
342 if (strm->avail_in == 0)
343 strm->next_in =
state->in;
344 have = (
unsigned)((strm->next_in + strm->avail_in) -
state->in);
345 if (have < state->
size) {
379 if ((
int)
len < 0 || (
unsigned)
len !=
len) {
387#if defined(STDC) || defined(Z_HAVE_STDARG_H)
403 strm = &(
state->strm);
423 if (strm->avail_in == 0)
424 strm->next_in =
state->in;
425 next = (
char *)(
state->in + (strm->next_in -
state->in) + strm->avail_in);
428# ifdef HAS_vsprintf_void
436# ifdef HAS_vsnprintf_void
451 if (strm->avail_in >=
state->size) {
453 strm->avail_in =
state->size;
457 strm->next_in =
state->in;
458 strm->avail_in =
left;
477int ZEXPORTVA gzprintf(
file,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10,
478 a11, a12, a13, a14, a15, a16, a17, a18, a19, a20)
481 int a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10,
482 a11, a12, a13, a14, a15, a16, a17, a18, a19, a20;
493 strm = &(
state->strm);
496 if (
sizeof(
int) !=
sizeof(
void *))
517 if (strm->avail_in == 0)
518 strm->next_in =
state->in;
519 next = (
char *)(strm->next_in + strm->avail_in);
522# ifdef HAS_sprintf_void
523 sprintf(
next,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10, a11, a12,
524 a13, a14, a15, a16, a17, a18, a19, a20);
529 len =
sprintf(
next,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9, a10, a11,
530 a12, a13, a14, a15, a16, a17, a18, a19, a20);
533# ifdef HAS_snprintf_void
534 snprintf(
next,
state->size,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8, a9,
535 a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20);
538 len =
snprintf(
next,
state->size,
format,
a1,
a2,
a3,
a4, a5, a6, a7, a8,
539 a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20);
548 strm->avail_in +=
len;
550 if (strm->avail_in >=
state->size) {
552 strm->avail_in =
state->size;
556 strm->next_in =
state->in;
557 strm->avail_in =
left;
609 strm = &(
state->strm);
634 state->strategy = strategy;
665 if (!
state->direct) {
ACPI_SIZE strlen(const char *String)
INT copy(TCHAR source[MAX_PATH], TCHAR dest[MAX_PATH], INT append, DWORD lpdwFlags, BOOL bTouch)
int ZEXPORT deflateReset(z_streamp strm)
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
int deflate(z_streamp strm, int flush) DECLSPEC_HIDDEN
int deflateEnd(z_streamp strm) DECLSPEC_HIDDEN
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
#define zstrerror(errnum)
GLenum GLuint GLenum GLsizei const GLchar * buf
void ZLIB_INTERNAL gz_error(gz_statep state, int err, const char *msg)
int ZEXPORT gzsetparams(gzFile file, int level, int strategy)
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)
int ZEXPORT gzputc(gzFile file, int c)
int ZEXPORT gzputs(gzFile file, const char *s)
int gz_comp(gz_statep state, int flush)
int ZEXPORT gzflush(gzFile file, int flush)
int ZEXPORT gzclose_w(gzFile file)
int ZEXPORT gzwrite(gzFile file, voidpc buf, unsigned len)
z_size_t gz_write(gz_statep state, voidpc buf, z_size_t len)
z_size_t ZEXPORT gzfwrite(voidpc buf, z_size_t size, z_size_t nitems, gzFile file)
int gz_init(gz_statep state)
int gz_zero(gz_statep state, z_off64_t len)
int __cdecl vsprintf(char *_Dest, const char *_Format, va_list _Args)
#define memcpy(s1, s2, n)
#define memmove(s1, s2, n)
#define sprintf(buf, format,...)
static const struct update_accum a1
static const struct update_accum a2
static const struct update_accum a3
static const struct update_accum a4
static unsigned(__cdecl *hash_bstr)(bstr_t s)
static unsigned __int64 next
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy)