Home
last modified time | relevance | path

Searched refs:PSFS_FLAG_FLUSH_CLOSE (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/standard/
H A Duser_filters.stub.php35 const PSFS_FLAG_FLUSH_CLOSE = UNKNOWN; define
H A Duser_filters_arginfo.h35 REGISTER_LONG_CONSTANT("PSFS_FLAG_FLUSH_CLOSE", PSFS_FLAG_FLUSH_CLOSE, CONST_PERSISTENT); in register_user_filters_symbols()
H A Duser_filters.c172 ZVAL_BOOL(&args[3], flags & PSFS_FLAG_FLUSH_CLOSE); in userfilter_filter()
H A Dfilters.c1638 if (flags & PSFS_FLAG_FLUSH_CLOSE) { in consumed_filter_filter()
/php-src/ext/zlib/
H A Dzlib_filter.c86 status = inflate(&(data->strm), flags & PSFS_FLAG_FLUSH_CLOSE ? Z_FINISH : Z_SYNC_FLUSH); in php_zlib_inflate_filter()
121 if (!data->finished && flags & PSFS_FLAG_FLUSH_CLOSE) { in php_zlib_inflate_filter()
207 …flush_mode = flags & PSFS_FLAG_FLUSH_CLOSE ? Z_FULL_FLUSH : (flags & PSFS_FLAG_FLUSH_INC ? Z_SYNC_… in php_zlib_deflate_filter()
236 if (flags & PSFS_FLAG_FLUSH_CLOSE || ((flags & PSFS_FLAG_FLUSH_INC) && !data->finished)) { in php_zlib_deflate_filter()
240 status = deflate(&(data->strm), (flags & PSFS_FLAG_FLUSH_CLOSE ? Z_FINISH : Z_SYNC_FLUSH)); in php_zlib_deflate_filter()
/php-src/ext/bz2/
H A Dbz2_filter.c155 if ((data->status == PHP_BZ2_RUNNING) && (flags & PSFS_FLAG_FLUSH_CLOSE)) { in php_bz2_decompress_filter()
240 …flush_mode = flags & PSFS_FLAG_FLUSH_CLOSE ? BZ_FINISH : (flags & PSFS_FLAG_FLUSH_INC ? BZ_FLUSH :… in php_bz2_compress_filter()
268 if (flags & PSFS_FLAG_FLUSH_CLOSE || ((flags & PSFS_FLAG_FLUSH_INC) && !data->is_flushed)) { 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()
/php-src/main/streams/
H A Dphp_stream_filter_api.h78 #define PSFS_FLAG_FLUSH_CLOSE 2 /* final flush prior to closing */ macro
H A Dfilter.c406 long flags = (finish ? PSFS_FLAG_FLUSH_CLOSE : PSFS_FLAG_FLUSH_INC); in _php_stream_filter_flush()
H A Dstreams.c576 flags = stream->eof ? PSFS_FLAG_FLUSH_CLOSE : PSFS_FLAG_NORMAL; in _php_stream_fill_read_buffer()
578 flags = stream->eof ? PSFS_FLAG_FLUSH_CLOSE : PSFS_FLAG_FLUSH_INC; in _php_stream_fill_read_buffer()
1276 …_php_stream_write_filtered(stream, NULL, 0, closing ? PSFS_FLAG_FLUSH_CLOSE : PSFS_FLAG_FLUSH_INC … in _php_stream_flush()

Completed in 30 milliseconds