Lines Matching refs:status

41 	enum strm_status status;              /* Decompress option */  member
77 int status; in php_bz2_decompress_filter() local
94 if (data->status == PHP_BZ2_UNITIALIZED) { in php_bz2_decompress_filter()
95 status = BZ2_bzDecompressInit(streamp, 0, data->small_footprint); in php_bz2_decompress_filter()
97 if (BZ_OK != status) { in php_bz2_decompress_filter()
102 data->status = PHP_BZ2_RUNNING; in php_bz2_decompress_filter()
105 if (data->status != PHP_BZ2_RUNNING) { in php_bz2_decompress_filter()
117 status = BZ2_bzDecompress(&(data->strm)); in php_bz2_decompress_filter()
119 if (status == BZ_STREAM_END) { in php_bz2_decompress_filter()
122 data->status = PHP_BZ2_UNITIALIZED; in php_bz2_decompress_filter()
124 data->status = PHP_BZ2_FINISHED; in php_bz2_decompress_filter()
126 } 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
238status = BZ2_bzCompress(&(data->strm), flags & PSFS_FLAG_FLUSH_CLOSE ? BZ_FINISH : (flags & PSFS_F… in php_bz2_compress_filter()
239 if (status != BZ_RUN_OK && status != BZ_FLUSH_OK && status != BZ_FINISH_OK) { in php_bz2_compress_filter()
266 status = BZ_FINISH_OK; in php_bz2_compress_filter()
267 while (status == BZ_FINISH_OK) { in php_bz2_compress_filter()
268 status = BZ2_bzCompress(&(data->strm), BZ_FINISH); in php_bz2_compress_filter()
312 int status = BZ_OK; in php_bz2_filter_create() local
351 data->status = PHP_BZ2_UNITIALIZED; in php_bz2_filter_create()
383 status = BZ2_bzCompressInit(&(data->strm), blockSize100k, 0, workFactor); in php_bz2_filter_create()
386 status = BZ_DATA_ERROR; in php_bz2_filter_create()
389 if (status != BZ_OK) { in php_bz2_filter_create()