Lines Matching refs:GZ_READ
79 if (state->mode == GZ_READ) { /* for reading ... */
129 state->mode = GZ_READ;
182 if (state->mode == GZ_READ) {
230 (state->mode == GZ_READ ?
255 if (state->mode == GZ_READ) {
324 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
350 if (state->mode != GZ_READ ||
375 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
394 if (state->mode == GZ_READ && state->how == COPY &&
411 if (state->mode != GZ_READ) /* writing -- can't go backwards */
421 if (state->mode == GZ_READ) {
460 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
488 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
495 if (state->mode == GZ_READ) /* reading */
520 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
524 return state->mode == GZ_READ ? state->past : 0;
538 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
558 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
562 if (state->mode == GZ_READ) {