close_options 275 main/php_streams.h #define php_stream_free_enclosed(stream_enclosed, close_options) _php_stream_free_enclosed((stream_enclosed), (close_options)) close_options 276 main/php_streams.h PHPAPI int _php_stream_free_enclosed(php_stream *stream_enclosed, int close_options); close_options 294 main/php_streams.h PHPAPI int _php_stream_free(php_stream *stream, int close_options); close_options 295 main/php_streams.h #define php_stream_free(stream, close_options) _php_stream_free((stream), (close_options)) close_options 326 main/streams/streams.c PHPAPI int _php_stream_free_enclosed(php_stream *stream_enclosed, int close_options) /* {{{ */ close_options 329 main/streams/streams.c close_options | PHP_STREAM_FREE_IGNORE_ENCLOSING); close_options 334 main/streams/streams.c static const char *_php_stream_pretty_free_options(int close_options, char *out) close_options 336 main/streams/streams.c if (close_options & PHP_STREAM_FREE_CALL_DTOR) close_options 338 main/streams/streams.c if (close_options & PHP_STREAM_FREE_RELEASE_STREAM) close_options 340 main/streams/streams.c if (close_options & PHP_STREAM_FREE_PRESERVE_HANDLE) close_options 342 main/streams/streams.c if (close_options & PHP_STREAM_FREE_RSRC_DTOR) close_options 344 main/streams/streams.c if (close_options & PHP_STREAM_FREE_PERSISTENT) close_options 346 main/streams/streams.c if (close_options & PHP_STREAM_FREE_IGNORE_ENCLOSING) close_options 361 main/streams/streams.c PHPAPI int _php_stream_free(php_stream *stream, int close_options) /* {{{ */ close_options 364 main/streams/streams.c int preserve_handle = close_options & PHP_STREAM_FREE_PRESERVE_HANDLE ? 1 : 0; close_options 383 main/streams/streams.c stream->ops->label, stream, stream->orig_path, stream->in_free, _php_stream_pretty_free_options(close_options, out)); close_options 390 main/streams/streams.c if ((stream->in_free == 1) && (close_options & PHP_STREAM_FREE_IGNORE_ENCLOSING) && (stream->enclosing_stream == NULL)) { close_options 391 main/streams/streams.c close_options |= PHP_STREAM_FREE_RSRC_DTOR; /* restore flag */ close_options 401 main/streams/streams.c if ((close_options & PHP_STREAM_FREE_RSRC_DTOR) && close_options 402 main/streams/streams.c !(close_options & PHP_STREAM_FREE_IGNORE_ENCLOSING) && close_options 403 main/streams/streams.c (close_options & (PHP_STREAM_FREE_CALL_DTOR | PHP_STREAM_FREE_RELEASE_STREAM)) && /* always? */ close_options 411 main/streams/streams.c (close_options | PHP_STREAM_FREE_CALL_DTOR) & ~PHP_STREAM_FREE_RSRC_DTOR); close_options 435 main/streams/streams.c (close_options & PHP_STREAM_FREE_RSRC_DTOR) == 0); close_options 444 main/streams/streams.c if ((close_options & PHP_STREAM_FREE_RSRC_DTOR) == 0 && stream->res) { close_options 447 main/streams/streams.c if ((close_options & PHP_STREAM_FREE_KEEP_RSRC) == 0) { close_options 454 main/streams/streams.c if (close_options & PHP_STREAM_FREE_CALL_DTOR) { close_options 478 main/streams/streams.c if (close_options & PHP_STREAM_FREE_RELEASE_STREAM) { close_options 501 main/streams/streams.c if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) { close_options 506 main/streams/streams.c if ((close_options & PHP_STREAM_FREE_RSRC_DTOR) && (stream->__exposed == 0) && (EG(error_reporting) & E_WARNING)) {