Lines Matching refs:stream
43 php_stream *stream; member
111 nread = php_stream_read(stm->stream, pv, cb); in stm_read()
127 nwrote = php_stream_write(stm->stream, pv, cb); in stm_write()
161 ret = php_stream_seek(stm->stream, offset, whence); in stm_seek()
178 if (php_stream_truncate_supported(stm->stream)) { in stm_set_size()
179 int ret = php_stream_truncate_set_size(stm->stream, (size_t)libNewSize.QuadPart); in stm_set_size()
201 php_stream_flush(stm->stream); in stm_commit()
265 zend_list_delete(stm->stream->rsrc_id); in istream_destructor()
271 PHP_COM_DOTNET_API IStream *php_com_wrapper_export_stream(php_stream *stream TSRMLS_DC) in php_com_wrapper_export_stream()
282 stm->stream = stream; in php_com_wrapper_export_stream()
284 zend_list_addref(stream->rsrc_id); in php_com_wrapper_export_stream()
538 php_stream *stream; in CPH_METHOD() local
548 php_stream_from_zval_no_verify(stream, &zstm); in CPH_METHOD()
550 if (stream == NULL) { in CPH_METHOD()
555 stm = php_com_wrapper_export_stream(stream TSRMLS_CC); in CPH_METHOD()
598 php_stream *stream; in CPH_METHOD() local
610 php_stream_from_zval_no_verify(stream, &zstm); in CPH_METHOD()
612 if (stream == NULL) { in CPH_METHOD()
617 stm = php_com_wrapper_export_stream(stream TSRMLS_CC); in CPH_METHOD()