138 "internal error: deflate stream corrupt");
210 if (len < state->
size) {
215 if (
state->strm.avail_in == 0)
219 copy =
state->size - have;
223 state->strm.avail_in += copy;
224 state->x.pos += copy;
225 buf = (
const char *)
buf + copy;
318 unsigned char buf[1];
345 if (have < state->
size) {
354 buf[0] = (
unsigned char)
c;
379 if ((
int)
len < 0 || (
unsigned)
len !=
len) {
387 #if defined(STDC) || defined(Z_HAVE_STDARG_H)
426 next[
state->size - 1] = 0;
428 # ifdef HAS_vsprintf_void
431 if (next[
len] == 0)
break;
436 # ifdef HAS_vsnprintf_void
468 va_start(va, format);
469 ret = gzvprintf(
file, format, va);
477 int 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;
496 if (
sizeof(
int) !=
sizeof(
void *))
520 next[
state->size - 1] = 0;
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);
634 state->strategy = strategy;
665 if (!
state->direct) {
static static fork const void static count close
int ZEXPORT deflateReset(z_streamp strm)
int ZEXPORT deflateParams(z_streamp strm, int level, int strategy)
int ZEXPORT deflateEnd(z_streamp strm)
int ZEXPORT deflate(z_streamp strm, int flush)
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 gz_init OF((gz_statep))
RZ_API void Ht_() free(HtName_(Ht) *ht)
return memset(p, 0, total)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
void * malloc(size_t size)
static void struct sockaddr socklen_t static fromlen static backlog static fork char char char static envp int struct rusage static rusage struct utsname static buf struct sembuf unsigned
unsigned char out[MAXWIN]
if(dbg->bits==RZ_SYS_BITS_64)
#define deflateInit2(strm, level, method, windowBits, memLevel, strategy)