Searched refs:origstream (Results 1 – 3 of 3) sorted by relevance
/PHP-7.2/main/streams/ |
H A D | cast.c | 368 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STRE… in _php_stream_make_seekable() argument 375 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable() 376 *newstream = origstream; in _php_stream_make_seekable() 393 (*newstream)->open_filename = origstream->open_filename; in _php_stream_make_seekable() 394 (*newstream)->open_lineno = origstream->open_lineno; in _php_stream_make_seekable() 397 if (php_stream_copy_to_stream_ex(origstream, *newstream, PHP_STREAM_COPY_ALL, NULL) != SUCCESS) { in _php_stream_make_seekable() 403 php_stream_close(origstream); in _php_stream_make_seekable()
|
/PHP-7.2/main/ |
H A D | php_streams.h | 84 #define php_stream_make_seekable_rel(origstream, newstream, flags) _php_stream_make_seekable((origs… argument 586 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STRE… 587 #define php_stream_make_seekable(origstream, newstream, flags) _php_stream_make_seekable((origstrea… argument
|
/PHP-7.2/ |
H A D | README.STREAMS | 132 PHPAPI int php_stream_make_seekable(php_stream *origstream, php_stream **newstream); 136 #define PHP_STREAM_RELEASED 1 /* newstream should be used; origstream is no longer valid */ 138 …PHP_STREAM_CRITICAL 3 /* an error occurred; origstream is in an unknown state; you should close o… 151 NOTE: If the origstream is network based, this function will block 154 NOTE: Never call this function with an origstream that is referenced 155 as a resource! It will close the origstream on success, and this
|
Completed in 11 milliseconds