Home | History | Annotate | Download | only in zlib

Lines Matching refs:LOOK

77 /* Look for gzip header, set up for inflate or copy.  state->x.have must be 0.

129 /* look for gzip magic bytes -- if there, do gzip decoding (note: there is
169 data. If the gzip stream completes, state->how is reset to LOOK to look for
212 /* if the gzip stream completed successfully, look for another */
214 state->how = LOOK;
222 file depending on state->how. If state->how is LOOK, then a gzip header is
233 case LOOK: /* -> LOOK, COPY (only if never GZIP), or GZIP */
236 if (state->how == LOOK)
245 case GZIP: /* -> GZIP or LOOK (if end of gzip stream) */
345 else if (state->how == LOOK || len < (state->size << 1)) {
524 /* look for end-of-line in current output buffer */
559 if (state->mode == GZ_READ && state->how == LOOK && state->x.have == 0)