Lines Matching defs:Z_BUFSIZE
26 #ifndef Z_BUFSIZE
28 # define Z_BUFSIZE 4096 /* minimize memory usage for 16-bit DOS */
30 # define Z_BUFSIZE 16384
190 s->stream.next_out = s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
198 s->stream.next_in = s->inbuf = (Byte*)ALLOC((len > Z_BUFSIZE) ? len : Z_BUFSIZE);
218 s->stream.avail_out = Z_BUFSIZE;
316 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
319 s->stream.avail_out = Z_BUFSIZE;
336 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
387 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
542 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
683 if (fwrite(s->outbuf, 1, Z_BUFSIZE, s->file) != Z_BUFSIZE) {
687 s->stream.avail_out = Z_BUFSIZE;
863 len = Z_BUFSIZE - s->stream.avail_out;
871 s->stream.avail_out = Z_BUFSIZE;
935 s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); /* for seeking */
937 zmemzero(s->inbuf, Z_BUFSIZE);
940 uInt size = Z_BUFSIZE;
941 if (offset < Z_BUFSIZE) size = (uInt)offset;
979 s->outbuf = (Byte*)ALLOC(Z_BUFSIZE);
989 int size = Z_BUFSIZE;
990 if (offset < Z_BUFSIZE) size = (int)offset;