Lines Matching refs:gz_file
27 gzFile gz_file; member
37 read = gzread(self->gz_file, buf, count); in php_gziop_read()
39 if (gzeof(self->gz_file)) { in php_gziop_read()
51 return gzwrite(self->gz_file, (char *) buf, count); in php_gziop_write()
64 *newoffs = gzseek(self->gz_file, offset, whence); in php_gziop_seek()
75 if (self->gz_file) { in php_gziop_close()
76 ret = gzclose(self->gz_file); in php_gziop_close()
77 self->gz_file = NULL; in php_gziop_close()
93 return gzflush(self->gz_file, Z_SYNC_FLUSH); in php_gziop_flush()
134 self->gz_file = gzdopen(dup(fd), mode); in php_stream_gzopen()
136 if (self->gz_file) { in php_stream_gzopen()
138 if (zlevel && (Z_OK != gzsetparams(self->gz_file, zval_get_long(zlevel), Z_DEFAULT_STRATEGY))) { in php_stream_gzopen()
148 gzclose(self->gz_file); in php_stream_gzopen()