Lines Matching refs:close_options

349 PHPAPI int _php_stream_free_enclosed(php_stream *stream_enclosed, int close_options TSRMLS_DC) /* {…  in _php_stream_free_enclosed()
352 close_options | PHP_STREAM_FREE_IGNORE_ENCLOSING TSRMLS_CC); in _php_stream_free_enclosed()
357 static const char *_php_stream_pretty_free_options(int close_options, char *out) in _php_stream_pretty_free_options() argument
359 if (close_options & PHP_STREAM_FREE_CALL_DTOR) in _php_stream_pretty_free_options()
361 if (close_options & PHP_STREAM_FREE_RELEASE_STREAM) in _php_stream_pretty_free_options()
363 if (close_options & PHP_STREAM_FREE_PRESERVE_HANDLE) in _php_stream_pretty_free_options()
365 if (close_options & PHP_STREAM_FREE_RSRC_DTOR) in _php_stream_pretty_free_options()
367 if (close_options & PHP_STREAM_FREE_PERSISTENT) in _php_stream_pretty_free_options()
369 if (close_options & PHP_STREAM_FREE_IGNORE_ENCLOSING) in _php_stream_pretty_free_options()
383 PHPAPI int _php_stream_free(php_stream *stream, int close_options TSRMLS_DC) /* {{{ */ in _php_stream_free()
386 int preserve_handle = close_options & PHP_STREAM_FREE_PRESERVE_HANDLE ? 1 : 0; in _php_stream_free()
405 …, stream, stream->orig_path, stream->in_free, _php_stream_pretty_free_options(close_options, out)); in _php_stream_free()
412 …if ((stream->in_free == 1) && (close_options & PHP_STREAM_FREE_IGNORE_ENCLOSING) && (stream->enclo… in _php_stream_free()
413 close_options |= PHP_STREAM_FREE_RSRC_DTOR; /* restore flag */ in _php_stream_free()
423 if ((close_options & PHP_STREAM_FREE_RSRC_DTOR) && in _php_stream_free()
424 !(close_options & PHP_STREAM_FREE_IGNORE_ENCLOSING) && in _php_stream_free()
425 (close_options & (PHP_STREAM_FREE_CALL_DTOR | PHP_STREAM_FREE_RELEASE_STREAM)) && /* always? */ in _php_stream_free()
433 (close_options | PHP_STREAM_FREE_CALL_DTOR) & ~PHP_STREAM_FREE_RSRC_DTOR TSRMLS_CC); in _php_stream_free()
457 (close_options & PHP_STREAM_FREE_RSRC_DTOR) == 0); in _php_stream_free()
464 if ((close_options & PHP_STREAM_FREE_RSRC_DTOR) == 0) { in _php_stream_free()
473 if (close_options & PHP_STREAM_FREE_CALL_DTOR) { in _php_stream_free()
497 if (close_options & PHP_STREAM_FREE_RELEASE_STREAM) { in _php_stream_free()
520 if (stream->is_persistent && (close_options & PHP_STREAM_FREE_PERSISTENT)) { in _php_stream_free()
525 …if ((close_options & PHP_STREAM_FREE_RSRC_DTOR) && (stream->__exposed == 0) && (EG(error_reporting… in _php_stream_free()