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