Lines Matching refs:pStream
268 ArchiveFontBase::CachedStreamReader* pStream, in RequestData() argument
272 pContext->streamOffset += pStream->GetOffset(); in RequestData()
273 bool bSuccess = pStream->RequestData(pContext, size); in RequestData()
280 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpDispatch() argument
289 if (pStream->GetRemain() < requireSize) in ConstructOpDispatch()
291 return RequestData(pContext, pStream, requireSize); in ConstructOpDispatch()
294 pStream->CopyTo(&pContext->header, sizeof(pContext->header)); in ConstructOpDispatch()
325 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpAnalyzeFileHeader() argument
330 if (pStream->GetRemain() < requireSize) in ConstructOpAnalyzeFileHeader()
332 return RequestData(pContext, pStream, requireSize); in ConstructOpAnalyzeFileHeader()
343 pStream->CopyTo(pContext->GetCurrentPtr<void*>(), requireSize); in ConstructOpAnalyzeFileHeader()
352 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpAnalyzeGLGR() argument
370 if (pStream->GetRemain() < requireSize) in ConstructOpAnalyzeGLGR()
372 return RequestData(pContext, pStream, requireSize); in ConstructOpAnalyzeGLGR()
391 pStream->CopyTo(blockBodyPos, requireSize); in ConstructOpAnalyzeGLGR()
584 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpAnalyzeTGLP() argument
590 if (pStream->GetRemain() < requireSize) in ConstructOpAnalyzeTGLP()
592 return RequestData(pContext, pStream, requireSize); in ConstructOpAnalyzeTGLP()
606 pStream->CopyTo(pContext, sizeof(FontTextureGlyph)); in ConstructOpAnalyzeTGLP()
638 u32 streamOffset = pContext->streamOffset + pStream->GetOffset(); in ConstructOpAnalyzeTGLP()
688 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpPrepairExpandSheet() argument
703 if (pStream->GetRemain() < requireSize) in ConstructOpPrepairExpandSheet()
705 return RequestData(pContext, pStream, requireSize); in ConstructOpPrepairExpandSheet()
709 pStream->CopyTo(&compSize, sizeof(compSize)); in ConstructOpPrepairExpandSheet()
710 std::memcpy(&huffHead, pStream->Get(0), sizeof(huffHead)); in ConstructOpPrepairExpandSheet()
751 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpCopy() argument
754 const u32 requireSize = pStream->ManagedCopy(pContext); in ConstructOpCopy()
764 return RequestData(pContext, pStream, requireSize); in ConstructOpCopy()
773 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpSkip() argument
776 u32 skipSize = math::Min(pContext->TaskRemain(), pStream->GetRemain()); in ConstructOpSkip()
778 pStream->Advance(skipSize); in ConstructOpSkip()
789 return RequestData(pContext, pStream, pContext->TaskRemain()); in ConstructOpSkip()
798 ArchiveFontBase::CachedStreamReader* pStream in ConstructOpExpand() argument
801 NN_ASSERT(! pStream->HasBufData()); in ConstructOpExpand()
802 u32 extendSize = math::Min(pContext->TaskRemain(), pStream->GetRemain()); in ConstructOpExpand()
806 reinterpret_cast<const u8*>(pStream->Get(extendSize)), in ConstructOpExpand()
822 return RequestData(pContext, pStream, pContext->TaskRemain()); in ConstructOpExpand()