Searched refs:origstream (Results 1 – 3 of 3) sorted by relevance
/PHP-5.5/main/streams/ |
H A D | cast.c | 377 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STRE… in _php_stream_make_seekable() argument 384 if (((flags & PHP_STREAM_FORCE_CONVERSION) == 0) && origstream->ops->seek != NULL) { in _php_stream_make_seekable() 385 *newstream = origstream; in _php_stream_make_seekable() 402 (*newstream)->open_filename = origstream->open_filename; in _php_stream_make_seekable() 403 (*newstream)->open_lineno = origstream->open_lineno; in _php_stream_make_seekable() 406 if (php_stream_copy_to_stream_ex(origstream, *newstream, PHP_STREAM_COPY_ALL, NULL) != SUCCESS) { in _php_stream_make_seekable() 412 php_stream_close(origstream); in _php_stream_make_seekable()
|
/PHP-5.5/main/ |
H A D | php_streams.h | 82 #define php_stream_make_seekable_rel(origstream, newstream, flags) _php_stream_make_seekable((origs… argument 579 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STRE… 580 #define php_stream_make_seekable(origstream, newstream, flags) _php_stream_make_seekable((origstrea… argument
|
/PHP-5.5/ |
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 18 milliseconds