Lines Matching refs:readBuffer
202 void* readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFont() local
203 if (readBuffer == NULL) in InitFont()
208 const int readSize = pFileReader->Read(readBuffer, readBufferSize); in InitFont()
211 s_AppHeap.Free(readBuffer); in InitFont()
219 readBuffer, glyphGroups); in InitFont()
222 s_AppHeap.Free(readBuffer); in InitFont()
229 s_AppHeap.Free(readBuffer); in InitFont()
236 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
248 s_AppHeap.Free(readBuffer); in InitFont()
285 void* const readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFontStreaming() local
286 if (readBuffer == NULL) in InitFontStreaming()
294 readSize = pFileReader->Read(readBuffer, nn::font::ArchiveFont::HEADER_SIZE); in InitFontStreaming()
297 s_AppHeap.Free(readBuffer); in InitFontStreaming()
305 readBuffer, glyphGroups); in InitFontStreaming()
308 s_AppHeap.Free(readBuffer); in InitFontStreaming()
316 s_AppHeap.Free(readBuffer); in InitFontStreaming()
330 ret = pFont->StreamingConstruct(&context, readBuffer, static_cast<u32>(readSize)); in InitFontStreaming()
334 s_AppHeap.Free(readBuffer); in InitFontStreaming()
339 readSize = pFileReader->Read(readBuffer, readBufferSize); in InitFontStreaming()
346 s_AppHeap.Free(readBuffer); in InitFontStreaming()
356 s_AppHeap.Free(readBuffer); in InitFontStreaming()