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 ?
257 if (state->mode == GZ_READ) {
326 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
354 if (state->mode != GZ_READ ||
379 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
398 if (state->mode == GZ_READ && state->how == COPY &&
415 if (state->mode != GZ_READ) /* writing -- can't go backwards */
425 if (state->mode == GZ_READ) {
464 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
492 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
499 if (state->mode == GZ_READ) /* reading */
524 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
528 return state->mode == GZ_READ ? state->past : 0;
542 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
562 if (state->mode != GZ_READ && state->mode != GZ_WRITE)
566 if (state->mode == GZ_READ) {