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

/PHP_TRUNK/main/
H A Dphp_streams.h84 #define php_stream_make_seekable_rel(origstream, newstream, flags) _php_stream_make_seekable((origstream), (newstream), (flags) STREAMS_REL_CC)
566 #define PHP_STREAM_RELEASED 1 /* newstream should be used; origstream is no longer valid */
573 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STREAMS_DC);
574 #define php_stream_make_seekable(origstream, newstream, flags) _php_stream_make_seekable((origstream), (newstream), (flags) STREAMS_CC)
/PHP_TRUNK/main/streams/
H A Dcast.c269 php_stream *newstream; local
271 newstream = php_stream_fopen_tmpfile();
272 if (newstream) {
273 int retcopy = php_stream_copy_to_stream_ex(stream, newstream, PHP_STREAM_COPY_ALL, NULL);
276 php_stream_close(newstream);
278 int retcast = php_stream_cast(newstream, castas | flags, (void **)ret, show_err);
368 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STREAMS_DC) argument
370 if (newstream == NULL) {
373 *newstream = NULL;
376 *newstream
[all...]
H A Dstreams.c2105 php_stream *newstream; local
2107 switch(php_stream_make_seekable_rel(stream, &newstream,
2116 if (newstream->orig_path) {
2117 pefree(newstream->orig_path, persistent);
2119 newstream->orig_path = pestrdup(path, persistent);
2123 return newstream;

Completed in 9 milliseconds