Home
last modified time | relevance | path

Searched refs:readBuffer (Results 1 – 2 of 2) sorted by relevance

/CTR-SDK-4.2.7-SampleDemos/font/PackedFont/
Dmain.cpp139 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
[all …]
/CTR-SDK-4.2.7-SampleDemos/font/ArchiveFont/
Dmain.cpp202 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
[all …]