#include <streams.h>Go to the source code of this file.
Functions | |
| STDAPI | WriteInt (IStream *pIStream, int n) |
| STDAPI_ (int) ReadInt(IStream *pIStream | |
| if (FAILED(hr)) | |
| if (wch==L'-') | |
| for (;;) | |
| if (n==0x80000000 &&Sign==-1) | |
| else | return (int) n *Sign |
Variables | |
| HRESULT &hr int | Sign = 1 |
| unsigned int | n = 0 |
| WCHAR | wch |
| hr = pIStream->Read( &wch, sizeof(wch), NULL) | |
| for | ( | ;; | ) |
Definition at line 112 of file pstream.cpp.
Referenced by CCreateDownloadListDlg::_threadCalculateSize(), gen_bitlen(), inflateBack(), init_block(), CDownloadProperties_IntegrityPage::OnInitDialog(), and fsDownloadMgr::SaveState().
| if | ( | n | = =0x80000000 && Sign==-1 |
) |
Definition at line 133 of file pstream.cpp.
| if | ( | wch | = =L'-' |
) |
| if | ( | FAILED(hr) | ) |
Definition at line 100 of file pstream.cpp.
Referenced by libtorrent::aux::allocate_resources_impl(), av_encode(), check_header(), CDownloadsWnd::CreateDownloadWithDefSettings(), Curl_hash_add(), Curl_readwrite(), deflateInit2_(), deflateReset(), dprintf_formatf(), FormAdd(), libtorrent::web_peer_connection::get_peer_info(), inflate(), inflateEnd(), inflateGetHeader(), inflatePrime(), inflateSetDictionary(), inflateSync(), lookup(), CImagePalette::MakePalette(), NPP_SetWindow(), CSites_GeneralPage::OnApply(), CDownloadProperties_ProxyPage::OnInitDialog(), fsODMenu::OnMeasureItem(), output_packet(), ReadArchiverInfoList(), fsODMenu::SetMenuItemText(), STDAPI_(), and updatewindow().
| else return | ( | int | ) |
| STDAPI_ | ( | int | ) |
| STDAPI WriteInt | ( | IStream * | pIStream, | |
| int | n | |||
| ) |
Definition at line 85 of file pstream.cpp.
References NULL, and wsprintfW.
Referenced by CPersistStream::Save().
Definition at line 99 of file pstream.cpp.
Referenced by CWGUrlReceiver::_threadAddPage(), CSourceStream::Active(), CFDMDownloadsStat::AddDownloadToList(), CBaseReferenceClock::AdvisePeriodic(), CBaseReferenceClock::AdviseTime(), CBasePin::AgreeMediaType(), CImageAllocator::Alloc(), AMovieDllRegisterServer(), AMovieDllRegisterServer2(), AMovieDllUnregisterServer(), AMovieSetupRegisterFilter2(), AMovieSetupRegisterServer(), AMovieSetupUnregisterServer(), CBasePropertyPage::Apply(), NWindows::NCOM::CPropVariant::Attach(), fsShellWindowsEvents::Attach(), fsShellBrowsersEvents::Attach(), CBasePin::AttemptConnection(), CTransformInputPin::BeginFlush(), CTransformFilter::BeginFlush(), CRendererInputPin::BreakConnect(), CBaseInputPin::BreakConnect(), CBaseOutputPin::BreakConnect(), CDeferredCommand::Cancel(), CPosPassThru::CanSeekBackward(), CPosPassThru::CanSeekForward(), CAutoUsingOutputPin::CAutoUsingOutputPin(), CDeferredCommand::CDeferredCommand(), CDynamicOutputPin::CDynamicOutputPin(), CPosPassThru::CheckCapabilities(), CTransformOutputPin::CheckConnect(), CTransformInputPin::CheckConnect(), CBaseOutputPin::CheckConnect(), CTransInPlaceOutputPin::CheckMediaType(), CTransInPlaceInputPin::CheckMediaType(), CTransformInputPin::CheckMediaType(), CPullPin::CleanupCancelled(), CEnumMediaTypes::Clone(), CEnumPins::Clone(), fsPartMediaPlayer::Close(), CAMThread::CoInitializeHelper(), CPullPin::CollectAndDeliver(), CTransformOutputPin::CompleteConnect(), CTransformInputPin::CompleteConnect(), CRendererInputPin::CompleteConnect(), CPullPin::Connect(), CBasePin::Connect(), CWgBHO::Connect(), CFDMIECookiesBHO::Connect(), CPosPassThru::ConvertTimeFormat(), CTransInPlaceFilter::Copy(), CBaseControlVideo::CopyImage(), COutputQueue::COutputQueue(), CImageAllocator::CreateImageSample(), CClassFactory::CreateInstance(), CreatePosPassThru(), CPullPin::DecideAllocator(), CBaseOutputPin::DecideAllocator(), CTransInPlaceFilter::DecideBufferSize(), CPullPin::DeliverSample(), NWindows::NCOM::CPropVariant::Detach(), vmsFlashHelper::DisableFlashMovies(), CFDMIECookiesBHO::Disconnect(), CBasePin::DisconnectInternal(), DllRegisterServer(), CSourceStream::DoBufferProcessingLoop(), CIEWGDM::Download(), CDrawImage::DrawVideoImageHere(), CTransformInputPin::EndFlush(), CRendererInputPin::EndFlush(), CTransformInputPin::EndOfStream(), CTransformFilter::EndOfStream(), CRendererInputPin::EndOfStream(), CRenderedInputPin::EndOfStream(), COutputQueue::EOS(), CRendererPosPassThru::EOS(), vms7zipArchive::Extract(), CDrawImage::FastRender(), CTransformFilter::FindPin(), fsUrlToFdm(), CPosPassThru::get_CurrentPosition(), CPosPassThru::get_Duration(), vms7zipFormatDLL::get_GUID(), CPosPassThru::get_PrerollTime(), CPosPassThru::get_Rate(), CPosPassThru::get_StopTime(), CTransInPlaceInputPin::GetAllocator(), CBaseInputPin::GetAllocator(), CPosPassThru::GetAvailable(), CPosPassThru::GetCapabilities(), CPosPassThru::GetCurrentPosition(), fsDirectXVersion::GetCurrentVersion(), vmsFlashHelper::GetFlashMoviesObjList_noframes(), CBaseDispatch::GetIDsOfNames(), CBaseRenderer::GetMediaPositionInterface(), CRendererPosPassThru::GetMediaTime(), CBasePropertyPage::GetPageInfo(), CPosPassThru::GetPeer(), CPosPassThru::GetPeerSeeking(), CTransInPlaceFilter::GetPin(), CTransformFilter::GetPin(), CBaseRenderer::GetPin(), CPosPassThru::GetPositions(), CPosPassThru::GetRate(), CPosPassThru::GetSeekingLongLong(), CAggDrawSurface::GetSurfaceDesc(), CBaseReferenceClock::GetTime(), CPosPassThru::GetTimeFormat(), CBaseDispatch::GetTypeInfo(), fsPartMediaPlayer::HandleGraphEvent(), CSourceStream::Inactive(), CSeekingPassThru::Init(), CAsyncOutputPin::InitAllocator(), CTransformFilter::InitializeOutputSample(), CAMThread::InitialThreadProc(), NWindows::NCOM::CPropVariant::InternalClear(), NWindows::NCOM::CPropVariant::InternalCopy(), CDeferredCommand::Invoke(), CBaseBasicVideo::Invoke(), CBaseVideoWindow::Invoke(), CBasicAudio::Invoke(), CMediaPosition::Invoke(), CMediaEvent::Invoke(), CMediaControl::Invoke(), vmsFlashHelper::is_FlashElement(), CLoadDirectDraw::IsDirectDrawVersion1(), IsEqualObject(), CPosPassThru::IsFormatSupported(), CPosPassThru::IsUsingTimeFormat(), CBaseFilter::JoinFilterGraph(), CAsyncOutputPin::Length(), vmsImage_CtxFree::Load(), CPersistStream::Load(), CLoadDirectDraw::LoadDirectDraw(), vmsImage::LoadImage(), CCmdQueue::New(), CEnumMediaTypes::Next(), CTransformOutputPin::NonDelegatingQueryInterface(), CBaseReferenceClock::NonDelegatingQueryInterface(), CTransformOutputPin::Notify(), CTransInPlaceInputPin::NotifyAllocator(), CDownloads_Opinions_WBEvents::OnDocumentComplete(), fsPartMediaPlayer::Open(), fsPartMediaPlayer::Open2(), CBaseInputPin::PassNotify(), CTransformFilter::Pause(), CBaseRenderer::Pause(), CBaseFilter::Pause(), CPullPin::PauseThread(), CDownloads_VideoPreview::Play(), CDeferredCommand::Postpone(), CBaseRenderer::PrepareReceive(), CPullPin::Process(), CPosPassThru::put_CurrentPosition(), CBaseControlVideo::put_DestinationHeight(), CBaseControlVideo::put_DestinationLeft(), CBaseControlVideo::put_DestinationTop(), CBaseControlVideo::put_DestinationWidth(), CPosPassThru::put_PrerollTime(), CPosPassThru::put_Rate(), CBaseControlVideo::put_SourceHeight(), CBaseControlVideo::put_SourceLeft(), CBaseControlVideo::put_SourceTop(), CBaseControlVideo::put_SourceWidth(), CPosPassThru::put_StopTime(), CAsyncIo::PutWorkItem(), CBasePin::QueryAccept(), CPosPassThru::QueryPreferredFormat(), CPullPin::QueueSample(), CVideoTransformFilter::Receive(), CTransInPlaceFilter::Receive(), CTransformInputPin::Receive(), CTransformFilter::Receive(), CBaseRenderer::Receive(), CBaseInputPin::Receive(), CBaseInputPin::ReceiveCanBlock(), CBasePin::ReceiveConnection(), CBaseInputPin::ReceiveMultiple(), CBaseFilter::ReconnectPin(), CBaseFilter::Register(), RegisterAllServers(), CRendererPosPassThru::RegisterMediaTime(), CCmdQueue::Remove(), CAsyncOutputPin::Request(), CAsyncIo::Request(), CAsyncOutputPin::RequestAllocator(), vmsFdmWebInterfaceServer::RequestCreateNewDownload(), CBaseRenderer::Run(), CBaseFilter::Run(), CBaseMediaFilter::Run(), CPersistStream::Save(), vmsFlashHelper::SaveFlashMovies_noframes(), CBaseRenderer::ScheduleSample(), CPullPin::Seek(), CBaseRenderer::SendNotifyWindow(), CBaseVideoRenderer::SendQuality(), CBaseControlVideo::SetDefaultDestinationPosition(), CBaseControlVideo::SetDefaultSourcePosition(), CBaseControlVideo::SetDestinationPosition(), CTransformOutputPin::SetMediaType(), CTransformInputPin::SetMediaType(), CRendererInputPin::SetMediaType(), CSourceSeeking::SetPositions(), CPosPassThru::SetPositions(), CImageAllocator::SetProperties(), CPosPassThru::SetRate(), CBaseControlVideo::SetSourcePosition(), CCmdQueue::SetTimeAdvise(), CPosPassThru::SetTimeFormat(), CBaseVideoRenderer::ShouldDrawSampleNow(), CVideoTransformFilter::ShouldSkipFrame(), CDrawImage::SlowRender(), CPullPin::StartThread(), fsPartMediaPlayer::Stop(), CTransformFilter::Stop(), CBaseFilter::Stop(), CPullPin::StopThread(), CBaseFilter::StreamTime(), CBaseMediaFilter::StreamTime(), CAsyncIo::SyncRead(), CAsyncOutputPin::SyncReadAligned(), CAsyncIo::SyncReadAligned(), CSourceStream::ThreadProc(), COutputQueue::ThreadProc(), CBasePin::TryMediaTypes(), CAMSchedule::Unadvise(), CBaseFilter::Unregister(), UrlToFdm(), CAsyncOutputPin::WaitForNext(), and CAsyncIo::WaitForNext().
| unsigned int n = 0 |
Definition at line 96 of file pstream.cpp.
Referenced by add_closure(), adler32(), av_encode(), av_log2(), av_log2_16bit(), build_tree(), vmsBatchList::Create(), Curl_GetFTPResponse(), curl_multi_cleanup(), Curl_strlcat(), deflateSetDictionary(), fsDownloadsMgr::EventEx(), fill_window(), vmsIETmpCookies::Find(), ftp_readresp(), gen_bitlen(), gen_codes(), vmsBtDownloadImpl::get_DownloadConnectionCount(), vmsBtSessionImpl::get_TotalDownloadConnectionCount(), gzread(), import(), init_block(), libtorrent::buffer::insert(), vmsMozillaPrefs::LoadPrefs(), fsDownloadsMgr::MoveDownloads(), libtorrent::dht::dht_tracker::on_receive(), CDlg_SetBatchNumbers::OnAdd(), fsInternetFile2::OnWriteData(), asio::detail::task_io_service< Task >::poll(), fsLangMgr::PreprocessLanguageString(), putLong(), vmsHttpRequest::Receive(), libtorrent::buffer::reserve(), asio::detail::task_io_service< Task >::run(), scan_tree(), vmsHttpResponse::Send(), libtorrent::dht::dht_tracker::send_packet(), send_tree(), set_data_type(), and tr_static_init().
Definition at line 95 of file pstream.cpp.
Definition at line 97 of file pstream.cpp.
1.5.6