Lines Matching defs:read
360 /* Sliding window. Input bytes are read into the second half of the window,
1201 * and total number of bytes read. All deflate() input goes through
1442 * At least one byte has been read, or avail_in == 0; reads are
3349 * i.e. no pending output (hence s->read equals s->write), and the state must
3575 Bytef *read; /* window read pointer */
3597 #define WAVAIL (uInt)(q<s->read?s->read-q-1:s->end-q)
3599 #define WWRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=(uInt)WAVAIL;}}
3669 13. The literal/length and distance code bit lengths are read as a
3694 s->read = s->write = s->window;
3739 uInt m; /* bytes to end of window or read pointer */
3822 z->total_out + (q >= s->read ? q - s->read :
3823 (s->end - s->read) + (q - s->window))));
3967 z->total_out + (q >= s->read ? q - s->read :
3968 (s->end - s->read) + (q - s->window))));
3984 if (s->read != s->write)
4019 s->read = s->write = s->window + n;
4025 * i.e. no pending output (hence s->read equals s->write), and the state must
4040 uInt m; /* bytes to end of window or read pointer */
4042 if (s->read != s->write)
4064 s->read = q; /* drag read pointer forward */
4065 /* WWRAP */ /* expand WWRAP macro by hand to handle s->read */
4067 s->read = q = s->window;
4687 uInt m; /* bytes to end of window or read pointer */
4818 if (s->read != s->write)
4879 q = s->read;
4932 s->read = q;
4985 uInt m; /* bytes to end of window or read pointer */