Home
last modified time | relevance | path

Searched refs:buffer (Results 1 – 25 of 44) sorted by relevance

12

/CTR-SDK-4.2.7-SampleDemos/font/ResFont/
Dmain.cpp191 void* buffer = s_AppHeap.Allocate(fileSize, nn::font::GlyphDataAlignment); in InitFont() local
192 if (buffer == NULL) in InitFont()
197 s32 readSize = fontReader.Read(buffer, fileSize); in InitFont()
200 s_AppHeap.Free(buffer); in InitFont()
205 bool bSuccess = pFont->SetResource(buffer); in InitFont()
211 s_AppHeap.Free(buffer); in InitFont()
215 const u32 drawBufferSize = nn::font::ResFont::GetDrawBufferSize(buffer); in InitFont()
422 static char buffer[ROMFS_BUFFER_SIZE]; in StartDemo() local
424 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/common/libraries/scene/
DGuiControlBase.cpp113 wchar_t buffer[NN_DBG_PRINTF_BUFFER_LENGTH + 1] = {0}; in SetFormattedText() local
119 vswprintf(buffer, NN_DBG_PRINTF_BUFFER_LENGTH, pFormat, pArgs); in SetFormattedText()
123 SetText(buffer); in SetFormattedText()
/CTR-SDK-4.2.7-SampleDemos/cx/UncompressBlz/
Dmain.cpp36 static char buffer[ROMFS_BUFFER_SIZE]; in nnMain() local
37 NN_UTIL_PANIC_IF_FAILED(nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in nnMain()
/CTR-SDK-4.2.7-SampleDemos/cx/Compress/
Dmain.cpp29 u8 buffer[1]; member
123 s_InputData, BUFFER_SIZE, s_CompressedData, bit, s_Work.buffer); in nnMain()
159 s_InputData, BUFFER_SIZE, s_CompressedData, s_Work.buffer); in nnMain()
/CTR-SDK-4.2.7-SampleDemos/cx/UncompressBlz/romfiles/
Ddata.bin36 static char buffer[ROMFS_BUFFER_SIZE];
37 NN_UTIL_PANIC_IF_FAILED(nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE));
55 NN_PANIC("ERROR: buffer is not large enough\n");
/CTR-SDK-4.2.7-SampleDemos/demo2/
Dmic.cpp109 s8* buffer = reinterpret_cast<s8*>(s_MicBuffer); in GetLoudness() local
114 s8 val = *(buffer + i); in GetLoudness()
Ddemo2.cpp45 static char buffer[ROMFS_BUFFER_SIZE]; in StartDemo() local
47 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/dlp/FakeClient/
DFakeClient.cpp102 char buffer[29]; in DisplayTitleList() local
125 wcstombs(buffer, titleList[i].shortTitleName, 28); in DisplayTitleList()
126 pRenderSystem->DrawText(FONT_SIZE * (x + 3), FONT_SIZE * y, "%s", buffer); in DisplayTitleList()
127 buffer[28] = NULL; in DisplayTitleList()
132 wcstombs(buffer, serverInfo.nodeInfo[0].userName.userName, 11); in DisplayTitleList()
133 pRenderSystem->DrawText(FONT_SIZE * (x + 33), FONT_SIZE * y, "%s", buffer); in DisplayTitleList()
239 char buffer[128]; in DisplayTitleInfo() local
250 wcstombs(buffer, titleInfo.shortTitleName, 64); in DisplayTitleInfo()
251 pRenderSystem->DrawText(FONT_SIZE * x, FONT_SIZE * y++, "SHORT TITLE NAME : %s", buffer); in DisplayTitleInfo()
252 wcstombs(buffer, titleInfo.longTitleName, 128); in DisplayTitleInfo()
[all …]
/CTR-SDK-4.2.7-SampleDemos/font/PackedFont/
Dmain.cpp328 void* buffer = pFont->Destroy(); in CleanupFont() local
331 if( buffer != NULL ) in CleanupFont()
333 s_AppHeap.Free(buffer); in CleanupFont()
430 static char buffer[ROMFS_BUFFER_SIZE]; in StartDemo() local
432 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/font/ArchiveFont/
Dmain.cpp375 void* buffer = pFont->Destroy(); in CleanupFont() local
378 if (buffer != NULL) in CleanupFont()
380 s_AppHeap.Free(buffer); in CleanupFont()
496 static char buffer[ROMFS_BUFFER_SIZE]; in StartDemo() local
498 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/demo1/
Ddemo1.cpp58 static char buffer[ROMFS_BUFFER_SIZE]; in StartDemo() local
60 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in StartDemo()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/
DLineSimple.cpp133 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
135 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/AlphaTest/
Dgx_AlphaTest.cpp222 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
224 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/ClipEquation/
DClipEquation.cpp194 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
196 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/Draw3d/
Dgx_Draw3d.cpp75 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
77 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/
DGasColorSimple.cpp350 static char buffer[ROMFS_BUFFER_SIZE]; in nnMain() local
352 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in nnMain()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/
DGasColorOptimal.cpp337 static char buffer[ROMFS_BUFFER_SIZE]; in nnMain() local
339 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in nnMain()
/CTR-SDK-4.2.7-SampleDemos/gx/Demo/DrawTexture2d/
Dgx_DrawTexture2d.cpp102 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
104 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandCacheSimple/
Dgx_CommandCacheSimple.cpp101 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
103 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/
DLightingDistanceAtte.cpp310 static char buffer[ROMFS_BUFFER_SIZE]; in nnMain() local
312 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in nnMain()
/CTR-SDK-4.2.7-SampleDemos/gx/Demo/ScreenCapture/
DTriangleSimple.cpp250 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
252 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandCacheVSUniformFrame/
Dgx_CommandCacheVSUniformFrame.cpp116 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
118 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandCacheVSUniformModel/
Dgx_CommandCacheVSUniformModel.cpp126 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
128 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Fog/
DFog.cpp363 static char buffer[ROMFS_BUFFER_SIZE]; in Initialize() local
365 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in Initialize()
/CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSpotAtte/
DLightingSpotAtte.cpp335 static char buffer[ROMFS_BUFFER_SIZE]; in nnMain() local
337 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in nnMain()

12