Lines Matching refs:GZ_READ
74 if (state->mode == GZ_READ) { /* for reading ... */
112 state->mode = GZ_READ;
167 (state->mode == GZ_READ ?
183 if (state->mode == GZ_READ) {
238 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
264 if (state->mode != GZ_READ || state->err != Z_OK)
288 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
307 if (state->mode == GZ_READ && state->how == COPY &&
323 if (state->mode != GZ_READ) /* writing -- can't go backwards */
333 if (state->mode == GZ_READ) {
372 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
400 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
407 if (state->mode == GZ_READ) /* reading */
432 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
436 return state->mode == GZ_READ ?
451 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
470 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
474 if (state->mode == GZ_READ)