Home
last modified time | relevance | path

Searched refs:GZ_READ (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython2/Modules/zlib/
Dgzlib.c79 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 */
[all …]
Dgzread.c304 if (state->mode != GZ_READ ||
400 if (state->mode != GZ_READ ||
435 if (state->mode != GZ_READ ||
499 if (state->mode != GZ_READ ||
559 if (state->mode == GZ_READ && state->how == LOOK && state->x.have == 0)
579 if (state->mode != GZ_READ)
Dgzclose.c21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
Dgzguts.h151 #define GZ_READ 7247 macro
/external/python/cpython3/Modules/zlib/
Dgzlib.c79 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 */
[all …]
Dgzread.c388 if (state->mode != GZ_READ ||
426 if (state->mode != GZ_READ ||
460 if (state->mode != GZ_READ ||
495 if (state->mode != GZ_READ ||
559 if (state->mode != GZ_READ ||
619 if (state->mode == GZ_READ && state->how == LOOK && state->x.have == 0)
639 if (state->mode != GZ_READ)
Dgzclose.c21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
Dgzguts.h160 #define GZ_READ 7247 macro
/external/zlib/src/
Dgzlib.c79 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 */
[all …]
Dgzread.c388 if (state->mode != GZ_READ ||
426 if (state->mode != GZ_READ ||
460 if (state->mode != GZ_READ ||
495 if (state->mode != GZ_READ ||
559 if (state->mode != GZ_READ ||
619 if (state->mode == GZ_READ && state->how == LOOK && state->x.have == 0)
639 if (state->mode != GZ_READ)
Dgzclose.c21 return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file);
Dgzguts.h160 #define GZ_READ 7247 macro