Lines Matching defs:read
371 /* Sliding window. Input bytes are read into the second half of the window,
1212 * and total number of bytes read. All deflate() input goes through
1453 * At least one byte has been read, or avail_in == 0; reads are
3358 * i.e. no pending output (hence s->read equals s->write), and the state must
3584 Bytef *read; /* window read pointer */
3606 #define WAVAIL (uInt)(q<s->read?s->read-q-1:s->end-q)
3608 #define WWRAP {if(q==s->end&&s->read!=s->window){q=s->window;m=(uInt)WAVAIL;}}
3678 13. The literal/length and distance code bit lengths are read as a
3703 s->read = s->write = s->window;
3748 uInt m; /* bytes to end of window or read pointer */
3831 z->total_out + (q >= s->read ? q - s->read :
3832 (s->end - s->read) + (q - s->window))));
3980 z->total_out + (q >= s->read ? q - s->read :
3981 (s->end - s->read) + (q - s->window))));
3997 if (s->read != s->write)
4032 s->read = s->write = s->window + n;
4038 * i.e. no pending output (hence s->read equals s->write), and the state must
4053 uInt m; /* bytes to end of window or read pointer */
4055 if (s->read != s->write)
4077 s->read = q; /* drag read pointer forward */
4078 /* WWRAP */ /* expand WWRAP macro by hand to handle s->read */
4080 s->read = q = s->window;
4700 uInt m; /* bytes to end of window or read pointer */
4831 if (s->read != s->write)
4892 q = s->read;
4945 s->read = q;
4998 uInt m; /* bytes to end of window or read pointer */