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

/PHP_5_5/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)
568 #define PHP_STREAM_RELEASED 1 /* newstream should be used; origstream is no longer valid */
575 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STREAMS_DC TSRMLS_DC);
576 #define php_stream_make_seekable(origstream, newstream, flags) _php_stream_make_seekable((origstream), (newstream), (flags) STREAMS_CC TSRMLS_CC)
/PHP_5_5/main/streams/
H A Dcast.c278 php_stream *newstream; local
280 newstream = php_stream_fopen_tmpfile();
281 if (newstream) {
282 int 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...]
H A Dstreams.c2096 php_stream *newstream; local
2098 switch(php_stream_make_seekable_rel(stream, &newstream,
2107 if (newstream->orig_path) {
2108 pefree(newstream->orig_path, persistent);
2110 newstream->orig_path = pestrdup(path, persistent);
2114 return newstream;

Completed in 8 milliseconds