Lines Matching refs:bz_file
62 BZFILE *bz_file; member
78 just_read = BZ2_bzread(self->bz_file, buf, to_read); in php_bz2iop_read()
108 just_wrote = BZ2_bzwrite(self->bz_file, (char*)buf, to_write); in php_bz2iop_write()
132 BZ2_bzclose(self->bz_file); in php_bz2iop_close()
147 return BZ2_bzflush(self->bz_file); in php_bz2iop_flush()
173 self->bz_file = bz; in _php_stream_bz2open_from_BZFILE()
187 BZFILE *bz_file = NULL; in _php_stream_bz2open() local
210 bz_file = BZ2_bzopen(path_copy, mode); in _php_stream_bz2open()
212 if (opened_path && bz_file) { in _php_stream_bz2open()
220 if (bz_file == NULL) { in _php_stream_bz2open()
227 bz_file = BZ2_bzdopen((int)fd, mode); in _php_stream_bz2open()
234 if (opened_path && !bz_file && mode[0] == 'w') { in _php_stream_bz2open()
239 if (bz_file) { in _php_stream_bz2open()
240 retstream = _php_stream_bz2open_from_BZFILE(bz_file, mode, stream STREAMS_REL_CC); in _php_stream_bz2open()
245 BZ2_bzclose(bz_file); in _php_stream_bz2open()
586 errstr = BZ2_bzerror(self->bz_file, &errnum); in php_bz2_error()