Lines Matching refs:Z_BUFSIZE
22 #ifndef Z_BUFSIZE
24 # define Z_BUFSIZE 4096 /* minimize memory usage for 16-bit DOS */
26 # define Z_BUFSIZE 16384
159 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
165 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE);
178 s->stream.avail_out = Z_BUFSIZE;
247 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
250 s->stream.avail_out = Z_BUFSIZE;
267 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
303 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
452 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
576 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
580 s->stream.avail_out = Z_BUFSIZE;
718 len = Z_BUFSIZE - s->stream.avail_out;
726 s->stream.avail_out = Z_BUFSIZE;
790 s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); /* for seeking */
792 zmemzero(s->inbuf, Z_BUFSIZE);
795 uInt size = Z_BUFSIZE;
796 if (offset < Z_BUFSIZE) size = (uInt)offset;
834 s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
844 int size = Z_BUFSIZE;
845 if (offset < Z_BUFSIZE) size = (int)offset;