Lines Matching refs:readBufferSize
138 const u32 readBufferSize = fileSize; in InitFont() local
139 void* readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFont()
142 NN_LOG("Failed to allocate memory for the resource buffer (%d bytes).", readBufferSize); in InitFont()
146 const int readSize = pFileReader->Read(readBuffer, readBufferSize); in InitFont()
147 if (readSize != readBufferSize) in InitFont()
199 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFont()
227 const int readBufferSize = DEMO_STREAMING_READ_BUFFER_SIZE; in InitFontStreaming() local
231 NN_ASSERT(readBufferSize >= nn::font::PackedFont::HEADER_SIZE); in InitFontStreaming()
233 void* const readBuffer = s_AppHeap.Allocate(readBufferSize); in InitFontStreaming()
236 NN_WARNING(false, "Failed to allocate the read buffer (%d bytes).", readBufferSize); in InitFontStreaming()
292 readSize = pFileReader->Read(readBuffer, readBufferSize); in InitFontStreaming()
314 pFileReader->GetSize(), readBufferSize, fontBufferSize); in InitFontStreaming()