Lines Matching refs:avail_in
95 s->stream.avail_in = s->stream.avail_out = 0;
173 s->startpos = (ftell(s->file) - s->stream.avail_in);
231 Read a byte from a gz_stream; update next_in and avail_in. Return EOF
239 if (s->stream.avail_in == 0) {
241 s->stream.avail_in = fread(s->inbuf, 1, Z_BUFSIZE, s->file);
242 if (s->stream.avail_in == 0) {
249 s->stream.avail_in--;
259 s->stream.avail_in is zero for the first time, but may be non-zero
274 if (len != 0) s->stream.avail_in++, s->stream.next_in--;
276 s->stream.avail_in++, s->stream.next_in--;
279 s->z_err = s->stream.avail_in != 0 ? Z_OK : Z_STREAM_END;
376 uInt n = s->stream.avail_in;
384 s->stream.avail_in -= n;
396 if (s->stream.avail_in == 0 && !s->z_eof) {
399 s->stream.avail_in = fread(s->inbuf, 1, Z_BUFSIZE, s->file);
400 if (s->stream.avail_in == 0) {
495 s->stream.avail_in = len;
497 while (s->stream.avail_in != 0) {
513 return (int)(len - s->stream.avail_in);
609 s->stream.avail_in = 0; /* should be zero already anyway */
707 s->stream.avail_in = 0;
749 s->stream.avail_in = 0;