Lines Matching refs:pStream
266 ArchiveFontBase::CachedStreamReader* pStream, in RequestData() argument
270 pContext->streamOffset += pStream->GetOffset(); in RequestData()
271 bool bSuccess = pStream->RequestData(pContext, size); in RequestData()
278 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpDispatch() argument
287 if (pStream->GetRemain() < requireSize) in ConstructOpDispatch()
289 return RequestData(pContext, pStream, requireSize); in ConstructOpDispatch()
292 pStream->CopyTo(&pContext->header, sizeof(pContext->header)); in ConstructOpDispatch()
323 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpAnalyzeFileHeader() argument
328 if (pStream->GetRemain() < requireSize) in ConstructOpAnalyzeFileHeader()
330 return RequestData(pContext, pStream, requireSize); in ConstructOpAnalyzeFileHeader()
341 pStream->CopyTo(pContext->GetCurrentPtr<void*>(), requireSize); in ConstructOpAnalyzeFileHeader()
350 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpAnalyzeGLGR() argument
368 if (pStream->GetRemain() < requireSize) in ConstructOpAnalyzeGLGR()
370 return RequestData(pContext, pStream, requireSize); in ConstructOpAnalyzeGLGR()
389 pStream->CopyTo(blockBodyPos, requireSize); in ConstructOpAnalyzeGLGR()
582 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpAnalyzeTGLP() argument
588 if (pStream->GetRemain() < requireSize) in ConstructOpAnalyzeTGLP()
590 return RequestData(pContext, pStream, requireSize); in ConstructOpAnalyzeTGLP()
604 pStream->CopyTo(pContext, sizeof(FontTextureGlyph)); in ConstructOpAnalyzeTGLP()
636 u32 streamOffset = pContext->streamOffset + pStream->GetOffset(); in ConstructOpAnalyzeTGLP()
686 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpPrepairExpandSheet() argument
701 if (pStream->GetRemain() < requireSize) in ConstructOpPrepairExpandSheet()
703 return RequestData(pContext, pStream, requireSize); in ConstructOpPrepairExpandSheet()
707 pStream->CopyTo(&compSize, sizeof(compSize)); in ConstructOpPrepairExpandSheet()
708 std::memcpy(&huffHead, pStream->Get(0), sizeof(huffHead)); in ConstructOpPrepairExpandSheet()
749 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpCopy() argument
752 const u32 requireSize = pStream->ManagedCopy(pContext); in ConstructOpCopy()
762 return RequestData(pContext, pStream, requireSize); in ConstructOpCopy()
771 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpSkip() argument
774 u32 skipSize = math::Min(pContext->TaskRemain(), pStream->GetRemain()); in ConstructOpSkip()
776 pStream->Advance(skipSize); in ConstructOpSkip()
787 return RequestData(pContext, pStream, pContext->TaskRemain()); in ConstructOpSkip()
796 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpExpand() argument
799 NN_ASSERT(! pStream->HasBufData()); in ConstructOpExpand()
800 u32 extendSize = math::Min(pContext->TaskRemain(), pStream->GetRemain()); in ConstructOpExpand()
804 reinterpret_cast<const u8*>(pStream->Get(extendSize)), in ConstructOpExpand()
820 return RequestData(pContext, pStream, pContext->TaskRemain()); in ConstructOpExpand()