Lines Matching refs:inbuf
61 Byte *inbuf; /* input buffer */
114 s->stream.next_in = s->inbuf = Z_NULL;
165 s->stream.next_in = s->inbuf = (Byte*)ALLOC(Z_BUFSIZE);
174 if (err != Z_OK || s->inbuf == Z_NULL) {
267 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
273 s->stream.next_in = s->inbuf;
301 if (len) s->inbuf[0] = s->stream.next_in[0];
303 len = (uInt)fread(s->inbuf + len, 1, Z_BUFSIZE >> len, s->file);
306 s->stream.next_in = s->inbuf;
383 TRYFREE(s->inbuf);
452 s->stream.avail_in = (uInt)fread(s->inbuf, 1, Z_BUFSIZE, s->file);
460 s->stream.next_in = s->inbuf;
789 if (s->inbuf == Z_NULL) {
790 s->inbuf = (Byte*)ALLOC(Z_BUFSIZE); /* for seeking */
791 if (s->inbuf == Z_NULL) return -1L;
792 zmemzero(s->inbuf, Z_BUFSIZE);
798 size = gzwrite(file, s->inbuf, size);
818 s->stream.next_in = s->inbuf;
868 s->stream.next_in = s->inbuf;