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

/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.c2095 php_stream *newstream; local
2097 switch(php_stream_make_seekable_rel(stream, &newstream,
2106 if (newstream->orig_path) {
2107 pefree(newstream->orig_path, persistent);
2109 newstream->orig_path = pestrdup(path, persistent);
2113 return newstream;
/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)
589 #define PHP_STREAM_RELEASED 1 /* newstream should be used; origstream is no longer valid */
596 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STREAMS_DC);
597 #define php_stream_make_seekable(origstream, newstream, flags) _php_stream_make_seekable((origstream), (newstream), (flags) STREAMS_CC)

Completed in 9 milliseconds