| /CTR-SDK-4.2.7-SampleDemos/font/ResFont/ |
| D | main.cpp | 191 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/ |
| D | GuiControlBase.cpp | 113 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/ |
| D | main.cpp | 36 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/ |
| D | main.cpp | 29 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/ |
| D | data.bin | 36 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/ |
| D | mic.cpp | 109 s8* buffer = reinterpret_cast<s8*>(s_MicBuffer); in GetLoudness() local 114 s8 val = *(buffer + i); in GetLoudness()
|
| D | demo2.cpp | 45 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/ |
| D | FakeClient.cpp | 102 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/ |
| D | main.cpp | 328 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/ |
| D | main.cpp | 375 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/ |
| D | demo1.cpp | 58 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/ |
| D | LineSimple.cpp | 133 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/ |
| D | gx_AlphaTest.cpp | 222 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/ |
| D | ClipEquation.cpp | 194 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/ |
| D | gx_Draw3d.cpp | 75 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/ |
| D | GasColorSimple.cpp | 350 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/ |
| D | GasColorOptimal.cpp | 337 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/ |
| D | gx_DrawTexture2d.cpp | 102 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/ |
| D | gx_CommandCacheSimple.cpp | 101 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/ |
| D | LightingDistanceAtte.cpp | 310 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/ |
| D | TriangleSimple.cpp | 250 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/ |
| D | gx_CommandCacheVSUniformFrame.cpp | 116 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/ |
| D | gx_CommandCacheVSUniformModel.cpp | 126 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/ |
| D | Fog.cpp | 363 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/ |
| D | LightingSpotAtte.cpp | 335 static char buffer[ROMFS_BUFFER_SIZE]; in nnMain() local 337 nn::fs::MountRom(16, 16, buffer, ROMFS_BUFFER_SIZE)); in nnMain()
|