Lines Matching refs:pContext

162     ArchiveFont::ConstructContext*  pContext,  in InitStreamingConstruct()  argument
168 NN_POINTER_ASSERT(pContext); in InitStreamingConstruct()
174 pContext->Init( pBuffer, bufferSize, glyphGroups ); in InitStreamingConstruct()
175 pContext->op = ConstructContext::ANALYZE_FILE_HEADER; in InitStreamingConstruct()
180 ArchiveFont::ConstructContext* pContext, in StreamingConstruct() argument
185 NN_POINTER_ASSERT(pContext); in StreamingConstruct()
194 return pContext->HasMoreBlock() ? CONSTRUCT_ERROR: CONSTRUCT_FINISH; in StreamingConstruct()
198 CachedStreamReader& s = pContext->GetStreamReader(); in StreamingConstruct()
203 switch (pContext->op) in StreamingConstruct()
205 … case ConstructContext::DISPATCH: ret = ConstructOpDispatch(pContext, &s); break; in StreamingConstruct()
206 …case ConstructContext::ANALYZE_FILE_HEADER: ret = ConstructOpAnalyzeFileHeader(pContext, &s); b… in StreamingConstruct()
207 … case ConstructContext::ANALYZE_GLGR: ret = ConstructOpAnalyzeGLGR(pContext, &s); break; in StreamingConstruct()
208 … case ConstructContext::ANALYZE_FINF: ret = ConstructOpAnalyzeFINF(pContext, &s); break; in StreamingConstruct()
209 … case ConstructContext::ANALYZE_CMAP: ret = ConstructOpAnalyzeCMAP(pContext, &s); break; in StreamingConstruct()
210 … case ConstructContext::ANALYZE_CWDH: ret = ConstructOpAnalyzeCWDH(pContext, &s); break; in StreamingConstruct()
211 … case ConstructContext::ANALYZE_TGLP: ret = ConstructOpAnalyzeTGLP(pContext, &s); break; in StreamingConstruct()
212 …case ConstructContext::PREPAIR_COPY_SHEET: ret = ConstructOpPrepairCopySheet(pContext, &s); br… in StreamingConstruct()
213 …case ConstructContext::PREPAIR_EXPAND_SHEET: ret = ConstructOpPrepairExpandSheet(pContext, &s); … in StreamingConstruct()
214 case ConstructContext::COPY: ret = ConstructOpCopy(pContext, &s); break; in StreamingConstruct()
215 case ConstructContext::SKIP: ret = ConstructOpSkip(pContext, &s); break; in StreamingConstruct()
216 case ConstructContext::EXPAND: ret = ConstructOpExpand(pContext, &s); break; in StreamingConstruct()
217 … case ConstructContext::FATAL_ERROR: ret = ConstructOpFatalError(pContext, &s); break; in StreamingConstruct()
219 NN_ASSERTMSG(false, "invalid operation(%d)", pContext->op); in StreamingConstruct()
220 pContext->op = ArchiveFont::ConstructContext::FATAL_ERROR; in StreamingConstruct()
229 pContext->Align(sizeof(GLuint)); in StreamingConstruct()
230 u32 texNamesSize = pContext->pFINF->pGlyph->sheetNum * sizeof(internal::TextureObject); in StreamingConstruct()
231 if (pContext->GetRemain() < texNamesSize) in StreamingConstruct()
237 SetTextureObjectsBufferPtr(pContext->GetCurrentPtr<internal::TextureObject*>()); in StreamingConstruct()
238 pContext->Advance(texNamesSize); in StreamingConstruct()
243 pContext->Finish(&pUserBuffer, &pFontInfo, &pAdjustArray); in StreamingConstruct()