Searched defs:innerstream (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/zlib/
H A Dzlib_fopen_wrapper.c115 php_stream *stream = NULL, *innerstream = NULL; local
131 innerstream = php_stream_open_wrapper_ex(path, mode, STREAM_MUST_SEEK | options | STREAM_WILL_CAST, opened_path, context);
133 if (innerstream) {
136 if (SUCCESS == php_stream_cast(innerstream, PHP_STREAM_AS_FD, (void **) &fd, REPORT_ERRORS)) {
138 self->stream = innerstream;
157 php_stream_close(innerstream);
/PHP_TRUNK/ext/standard/
H A Dftp_fopen_wrapper.c612 php_stream *innerstream; local
616 innerstream = ((php_ftp_dirstream_data *)stream->abstract)->datastream;
622 if (php_stream_eof(innerstream)) {
626 if (!php_stream_get_line(innerstream, ent->d_name, sizeof(ent->d_name), &tmp_len)) {
/PHP_TRUNK/main/streams/
H A Dmemory.c351 php_stream *innerstream; member in struct:__anon216
365 if (!ts->innerstream) {
368 if (php_stream_is(ts->innerstream, PHP_STREAM_IS_MEMORY)) {
370 char *membuf = php_stream_memory_get_buffer(ts->innerstream, &memsize);
375 php_stream_free_enclosed(ts->innerstream, PHP_STREAM_FREE_CLOSE);
376 ts->innerstream = file;
377 php_stream_encloses(stream, ts->innerstream);
380 return php_stream_write(ts->innerstream, buf, count);
393 if (!ts->innerstream) {
397 got = php_stream_read(ts->innerstream, bu
[all...]

Completed in 5 milliseconds