Home | History | Annotate | Download | only in zlib

Lines Matching refs:LOOK

82 /* Look for gzip header, set up for inflate or copy.  state->x.have must be 0.
132 /* look for gzip magic bytes -- if there, do gzip decoding (note: there is
172 data. If the gzip stream completes, state->how is reset to LOOK to look for
215 /* if the gzip stream completed successfully, look for another */
217 state->how = LOOK;
225 file depending on state->how. If state->how is LOOK, then a gzip header is
236 case LOOK: /* -> LOOK, COPY (only if never GZIP), or GZIP */
239 if (state->how == LOOK)
248 case GZIP: /* -> GZIP or LOOK (if end of gzip stream) */
338 else if (state->how == LOOK || n < (state->size << 1)) {
584 /* look for end-of-line in current output buffer */
619 if (state->mode == GZ_READ && state->how == LOOK && state->x.have == 0)