Home
last modified time | relevance | path

Searched refs:newstream (Results 1 – 4 of 4) sorted by relevance

/PHP-7.0/main/streams/
H A Dcast.c269 php_stream *newstream; in _php_stream_cast() local
271 newstream = php_stream_fopen_tmpfile(); in _php_stream_cast()
272 if (newstream) { in _php_stream_cast()
276 php_stream_close(newstream); in _php_stream_cast()
370 if (newstream == NULL) { in _php_stream_make_seekable()
373 *newstream = NULL; in _php_stream_make_seekable()
376 *newstream = origstream; in _php_stream_make_seekable()
385 *newstream = php_stream_temp_new(); in _php_stream_make_seekable()
388 if (*newstream == NULL) { in _php_stream_make_seekable()
398 php_stream_close(*newstream); in _php_stream_make_seekable()
[all …]
H A Dstreams.c2091 php_stream *newstream; local
2093 switch(php_stream_make_seekable_rel(stream, &newstream,
2102 if (newstream->orig_path) {
2103 pefree(newstream->orig_path, persistent);
2105 newstream->orig_path = pestrdup(path, persistent);
2109 return newstream;
/PHP-7.0/main/
H A Dphp_streams.h84 … php_stream_make_seekable_rel(origstream, newstream, flags) _php_stream_make_seekable((origstream)… argument
582 PHPAPI int _php_stream_make_seekable(php_stream *origstream, php_stream **newstream, int flags STRE…
583 …fine php_stream_make_seekable(origstream, newstream, flags) _php_stream_make_seekable((origstream)… argument
/PHP-7.0/
H A DREADME.STREAMS132 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 */
140 make_seekable will always set newstream to be the stream that is valid

Completed in 20 milliseconds