Searched refs:newstream (Results 1 - 3 of 3) sorted by relevance

/PHP_5_3/main/
H A Dphp_streams.h82 #define php_stream_make_seekable_rel(origstream, newstream, flags) _php_stream_make_seekable((origstream), (newstream), (flags) STREAMS_REL_CC TSRMLS_CC)
563 #define PHP_STREAM_RELEASED 1 /* newstream should be used; origstream is no longer valid */
570 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STREAMS_DC TSRMLS_DC);
571 #define php_stream_make_seekable(origstream, newstream, flags) _php_stream_make_seekable((origstream), (newstream), (flags) STREAMS_CC TSRMLS_CC)
/PHP_5_3/main/streams/
H A Dstreams.c2023 php_stream *newstream; local
2025 switch(php_stream_make_seekable_rel(stream, &newstream,
2034 if (newstream->orig_path) {
2035 pefree(newstream->orig_path, persistent);
2037 newstream->orig_path = pestrdup(path, persistent);
2041 return newstream;
H A Dcast.c278 php_stream *newstream; local
280 newstream = php_stream_fopen_tmpfile();
281 if (newstream) {
282 size_t retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL);
285 php_stream_close(newstream);
287 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err);
377 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STREAMS_DC TSRMLS_DC) argument
379 if (newstream == NULL) {
382 *newstream = NULL;
385 *newstream
[all...]

Completed in 9 milliseconds