Lines Matching refs:status

39 	enum strm_status status;              /* Decompress option */  member
76 int status; in php_bz2_decompress_filter() local
93 if (data->status == PHP_BZ2_UNINITIALIZED) { in php_bz2_decompress_filter()
94 status = BZ2_bzDecompressInit(streamp, 0, data->small_footprint); in php_bz2_decompress_filter()
96 if (BZ_OK != status) { in php_bz2_decompress_filter()
101 data->status = PHP_BZ2_RUNNING; in php_bz2_decompress_filter()
104 if (data->status != PHP_BZ2_RUNNING) { in php_bz2_decompress_filter()
116 status = BZ2_bzDecompress(&(data->strm)); in php_bz2_decompress_filter()
118 if (status == BZ_STREAM_END) { in php_bz2_decompress_filter()
121 data->status = PHP_BZ2_UNINITIALIZED; in php_bz2_decompress_filter()
123 data->status = PHP_BZ2_FINISHED; in php_bz2_decompress_filter()
125 } else if (status != BZ_OK) { in php_bz2_decompress_filter()
145 } else if (status == BZ_STREAM_END && data->strm.avail_out >= data->outbuf_len) { in php_bz2_decompress_filter()
155 if ((data->status == PHP_BZ2_RUNNING) && (flags & PSFS_FLAG_FLUSH_CLOSE)) { in php_bz2_decompress_filter()
157 status = BZ_OK; in php_bz2_decompress_filter()
158 while (status == BZ_OK) { in php_bz2_decompress_filter()
159 status = BZ2_bzDecompress(&(data->strm)); in php_bz2_decompress_filter()
168 } else if (status == BZ_OK) { in php_bz2_decompress_filter()
185 if (data->status == PHP_BZ2_RUNNING) { in php_bz2_decompress_dtor()
215 int status; in php_bz2_compress_filter() local
242 status = BZ2_bzCompress(&(data->strm), flush_mode); in php_bz2_compress_filter()
243 if (status != BZ_RUN_OK && status != BZ_FLUSH_OK && status != BZ_FINISH_OK) { in php_bz2_compress_filter()
271 status = BZ2_bzCompress(&(data->strm), (flags & PSFS_FLAG_FLUSH_CLOSE ? BZ_FINISH : BZ_FLUSH)); in php_bz2_compress_filter()
282 } while (status == (flags & PSFS_FLAG_FLUSH_CLOSE ? BZ_FINISH_OK : BZ_FLUSH_OK)); in php_bz2_compress_filter()
316 int status = BZ_OK; in php_bz2_filter_create() local
355 data->status = PHP_BZ2_UNINITIALIZED; in php_bz2_filter_create()
387 status = BZ2_bzCompressInit(&(data->strm), blockSize100k, 0, workFactor); in php_bz2_filter_create()
391 status = BZ_DATA_ERROR; in php_bz2_filter_create()
394 if (status != BZ_OK) { in php_bz2_filter_create()