Lines Matching refs:status

43 	enum strm_status status;              /* Decompress option */  member
79 int status; in php_bz2_decompress_filter() local
96 if (data->status == PHP_BZ2_UNITIALIZED) { in php_bz2_decompress_filter()
97 status = BZ2_bzDecompressInit(streamp, 0, data->small_footprint); in php_bz2_decompress_filter()
99 if (BZ_OK != status) { in php_bz2_decompress_filter()
104 data->status = PHP_BZ2_RUNNING; in php_bz2_decompress_filter()
107 if (data->status != PHP_BZ2_RUNNING) { in php_bz2_decompress_filter()
119 status = BZ2_bzDecompress(&(data->strm)); in php_bz2_decompress_filter()
121 if (status == BZ_STREAM_END) { in php_bz2_decompress_filter()
124 data->status = PHP_BZ2_UNITIALIZED; in php_bz2_decompress_filter()
126 data->status = PHP_BZ2_FINISHED; in php_bz2_decompress_filter()
128 } else if (status != BZ_OK) { in php_bz2_decompress_filter()
147 } else if (status == BZ_STREAM_END && data->strm.avail_out >= data->outbuf_len) { in php_bz2_decompress_filter()
157 if ((data->status == PHP_BZ2_RUNNING) && (flags & PSFS_FLAG_FLUSH_CLOSE)) { in php_bz2_decompress_filter()
159 status = BZ_OK; in php_bz2_decompress_filter()
160 while (status == BZ_OK) { in php_bz2_decompress_filter()
161 status = BZ2_bzDecompress(&(data->strm)); in php_bz2_decompress_filter()
170 } else if (status == BZ_OK) { in php_bz2_decompress_filter()
187 if (data->status == PHP_BZ2_RUNNING) { in php_bz2_decompress_dtor()
217 int status; in php_bz2_compress_filter() local
240status = BZ2_bzCompress(&(data->strm), flags & PSFS_FLAG_FLUSH_CLOSE ? BZ_FINISH : (flags & PSFS_F… in php_bz2_compress_filter()
241 if (status != BZ_RUN_OK && status != BZ_FLUSH_OK && status != BZ_FINISH_OK) { in php_bz2_compress_filter()
268 status = BZ_FINISH_OK; in php_bz2_compress_filter()
269 while (status == BZ_FINISH_OK) { in php_bz2_compress_filter()
270 status = BZ2_bzCompress(&(data->strm), BZ_FINISH); in php_bz2_compress_filter()
314 int status = BZ_OK; in php_bz2_filter_create() local
353 data->status = PHP_BZ2_UNITIALIZED; in php_bz2_filter_create()
385 status = BZ2_bzCompressInit(&(data->strm), blockSize100k, 0, workFactor); in php_bz2_filter_create()
388 status = BZ_DATA_ERROR; in php_bz2_filter_create()
391 if (status != BZ_OK) { in php_bz2_filter_create()