Lines Matching refs:pContext
164 ArchiveFont::ConstructContext* pContext, in InitStreamingConstruct() argument
170 NN_POINTER_ASSERT(pContext); in InitStreamingConstruct()
176 pContext->Init( pBuffer, bufferSize, glyphGroups ); in InitStreamingConstruct()
177 pContext->op = ConstructContext::ANALYZE_FILE_HEADER; in InitStreamingConstruct()
182 ArchiveFont::ConstructContext* pContext, in StreamingConstruct() argument
187 NN_POINTER_ASSERT(pContext); in StreamingConstruct()
196 return pContext->HasMoreBlock() ? CONSTRUCT_ERROR: CONSTRUCT_FINISH; in StreamingConstruct()
200 CachedStreamReader& s = pContext->GetStreamReader(); in StreamingConstruct()
205 switch (pContext->op) in StreamingConstruct()
207 … case ConstructContext::DISPATCH: ret = ConstructOpDispatch(pContext, &s); break; in StreamingConstruct()
208 …case ConstructContext::ANALYZE_FILE_HEADER: ret = ConstructOpAnalyzeFileHeader(pContext, &s); b… in StreamingConstruct()
209 … case ConstructContext::ANALYZE_GLGR: ret = ConstructOpAnalyzeGLGR(pContext, &s); break; in StreamingConstruct()
210 … case ConstructContext::ANALYZE_FINF: ret = ConstructOpAnalyzeFINF(pContext, &s); break; in StreamingConstruct()
211 … case ConstructContext::ANALYZE_CMAP: ret = ConstructOpAnalyzeCMAP(pContext, &s); break; in StreamingConstruct()
212 … case ConstructContext::ANALYZE_CWDH: ret = ConstructOpAnalyzeCWDH(pContext, &s); break; in StreamingConstruct()
213 … case ConstructContext::ANALYZE_TGLP: ret = ConstructOpAnalyzeTGLP(pContext, &s); break; in StreamingConstruct()
214 …case ConstructContext::PREPAIR_COPY_SHEET: ret = ConstructOpPrepairCopySheet(pContext, &s); br… in StreamingConstruct()
215 …case ConstructContext::PREPAIR_EXPAND_SHEET: ret = ConstructOpPrepairExpandSheet(pContext, &s); … in StreamingConstruct()
216 case ConstructContext::COPY: ret = ConstructOpCopy(pContext, &s); break; in StreamingConstruct()
217 case ConstructContext::SKIP: ret = ConstructOpSkip(pContext, &s); break; in StreamingConstruct()
218 case ConstructContext::EXPAND: ret = ConstructOpExpand(pContext, &s); break; in StreamingConstruct()
219 … case ConstructContext::FATAL_ERROR: ret = ConstructOpFatalError(pContext, &s); break; in StreamingConstruct()
221 NN_ASSERTMSG(false, "invalid operation(%d)", pContext->op); in StreamingConstruct()
222 pContext->op = ArchiveFont::ConstructContext::FATAL_ERROR; in StreamingConstruct()
231 pContext->Align(sizeof(GLuint)); in StreamingConstruct()
232 u32 texNamesSize = pContext->pFINF->pGlyph->sheetNum * sizeof(internal::TextureObject); in StreamingConstruct()
233 if (pContext->GetRemain() < texNamesSize) in StreamingConstruct()
239 SetTextureObjectsBufferPtr(pContext->GetCurrentPtr<internal::TextureObject*>()); in StreamingConstruct()
240 pContext->Advance(texNamesSize); in StreamingConstruct()
245 pContext->Finish(&pUserBuffer, &pFontInfo, &pAdjustArray); in StreamingConstruct()