Lines Matching refs:stream

348 static int phar_stream_close(php_stream *stream, int close_handle TSRMLS_DC) /* {{{ */  in phar_stream_close()  argument
350 phar_entry_delref((phar_entry_data *)stream->abstract TSRMLS_CC); in phar_stream_close()
359 static size_t phar_stream_read(php_stream *stream, char *buf, size_t count TSRMLS_DC) /* {{{ */ in phar_stream_read() argument
361 phar_entry_data *data = (phar_entry_data *)stream->abstract; in phar_stream_read()
372 stream->eof = 1; in phar_stream_read()
381 stream->eof = (data->position == (off_t) entry->uncompressed_filesize); in phar_stream_read()
390 static int phar_stream_seek(php_stream *stream, off_t offset, int whence, off_t *newoffset TSRMLS_D… in phar_stream_seek() argument
392 phar_entry_data *data = (phar_entry_data *)stream->abstract; in phar_stream_seek()
434 static size_t phar_stream_write(php_stream *stream, const char *buf, size_t count TSRMLS_DC) /* {{{… in phar_stream_write() argument
436 phar_entry_data *data = (phar_entry_data *) stream->abstract; in phar_stream_write()
440 …php_stream_wrapper_log_error(stream->wrapper, stream->flags TSRMLS_CC, "phar error: Could not writ… in phar_stream_write()
457 static int phar_stream_flush(php_stream *stream TSRMLS_DC) /* {{{ */ in phar_stream_flush()
461 phar_entry_data *data = (phar_entry_data *) stream->abstract; in phar_stream_flush()
467 php_stream_wrapper_log_error(stream->wrapper, REPORT_ERRORS TSRMLS_CC, "%s", error); in phar_stream_flush()
549 static int phar_stream_stat(php_stream *stream, php_stream_statbuf *ssb TSRMLS_DC) /* {{{ */ in phar_stream_stat() argument
551 phar_entry_data *data = (phar_entry_data *)stream->abstract; in phar_stream_stat()