Lines Matching refs:readBuffer
139 void* readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFont() local
140 if (readBuffer == NULL) in InitFont()
146 const int readSize = pFileReader->Read(readBuffer, readBufferSize); in InitFont()
149 s_AppHeap.Free(readBuffer); in InitFont()
162 readBuffer, glyphGroups, rate); in InitFont()
165 s_AppHeap.Free(readBuffer); in InitFont()
173 s_AppHeap.Free(readBuffer); in InitFont()
181 bSuccess = pFont->Construct(fontBuffer, fontBufferSize, readBuffer, glyphGroups); in InitFont()
194 s_AppHeap.Free(readBuffer); in InitFont()
233 void* const readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFontStreaming() local
234 if( readBuffer == NULL ) in InitFontStreaming()
242 readSize = pFileReader->Read(readBuffer, nn::font::PackedFont::HEADER_SIZE); in InitFontStreaming()
245 s_AppHeap.Free(readBuffer); in InitFontStreaming()
258 readBuffer, glyphGroups, rate); in InitFontStreaming()
261 s_AppHeap.Free(readBuffer); in InitFontStreaming()
269 s_AppHeap.Free(readBuffer); in InitFontStreaming()
283 ret = pFont->StreamingConstruct(&context, readBuffer, static_cast<u32>(readSize)); in InitFontStreaming()
287 s_AppHeap.Free(readBuffer); in InitFontStreaming()
292 readSize = pFileReader->Read(readBuffer, readBufferSize); in InitFontStreaming()
299 s_AppHeap.Free(readBuffer); in InitFontStreaming()
309 s_AppHeap.Free(readBuffer); in InitFontStreaming()