Lines Matching refs:Z_BUFSIZE
49 #ifndef Z_BUFSIZE
51 # define Z_BUFSIZE 4096 /* minimize memory usage for 16-bit DOS */
53 # define Z_BUFSIZE 16384
186 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
192 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE);
205 s->stream.avail_out = Z_BUFSIZE;
274 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
277 s->stream.avail_out = Z_BUFSIZE;
294 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
330 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
479 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
603 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
607 s->stream.avail_out = Z_BUFSIZE;
745 len = Z_BUFSIZE - s->stream.avail_out;
753 s->stream.avail_out = Z_BUFSIZE;
817 s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); /* for seeking */
819 zmemzero(s->inbuf, Z_BUFSIZE);
822 uInt size = Z_BUFSIZE;
823 if (offset < Z_BUFSIZE) size = (uInt)offset;
861 s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
871 int size = Z_BUFSIZE;
872 if (offset < Z_BUFSIZE) size = (int)offset;