| /NW4C-2.0.3/sources/libraries/gfx/ |
| D | gfx_ParticleShape.cpp | 379 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetMemorySizeInternal() 381 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetMemorySizeInternal() 385 nodeMemorySize = ut::RoundUp(nodeMemorySize, 32); in GetMemorySizeInternal() 387 nodeMemorySize = ut::RoundUp(nodeMemorySize, 32); in GetMemorySizeInternal() 389 nodeMemorySize = ut::RoundUp(nodeMemorySize, 32); in GetMemorySizeInternal() 391 nodeMemorySize = ut::RoundUp(nodeMemorySize, 32); in GetMemorySizeInternal() 393 nodeMemorySize = ut::RoundUp(nodeMemorySize, 32); in GetMemorySizeInternal() 416 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetDeviceMemorySizeInternal() 418 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetDeviceMemorySizeInternal() 445 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in Create() [all …]
|
| D | gfx_ParticleUtil.cpp | 315 size += ut::RoundUp(baseSize, 4); in DuplicateResParticleInitializer() 331 dstPtr += ut::RoundUp(baseSize, 4); in DuplicateResParticleInitializer() 713 size += ut::RoundUp(baseSize, 4); in DuplicateResParticleUpdater() 714 size += ut::RoundUp(animationSize, 4); in DuplicateResParticleUpdater() 715 size += ut::RoundUp(enabledSize, 4); in DuplicateResParticleUpdater() 716 size += ut::RoundUp(dataSize, 4); in DuplicateResParticleUpdater() 717 size += ut::RoundUp(animationOptionSize, 4); in DuplicateResParticleUpdater() 718 size += ut::RoundUp(childStrSize, 4); in DuplicateResParticleUpdater() 719 size += ut::RoundUp(childFormSize, 4); in DuplicateResParticleUpdater() 720 size += ut::RoundUp(childOptionSize, 4); in DuplicateResParticleUpdater() [all …]
|
| D | gfx_ParticleCollection.cpp | 43 prevSize = ut::RoundUp(prevSize, 8); in ParticleStreamCreateSize() 68 *buffer = reinterpret_cast<u8*>(ut::RoundUp(*buffer, 8)); in ParticleStreamCreate() 88 prevSize = ut::RoundUp(prevSize, 4); in ParticleParameterAttributeCreateSize() 108 *buffer = reinterpret_cast<u8*>(ut::RoundUp(*buffer, 4)); in ParticleParameterAttributeCreate() 132 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in GetMemorySizeInternal() 155 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in GetMemorySizeInternal() 369 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in Create() 394 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in Create() 565 nodeMemory = reinterpret_cast<u8*>(ut::RoundUp(nodeMemory, 4)); in Create()
|
| D | gfx_AnimEvaluator.cpp | 48 size += ut::RoundUp(headBytes + primBytes, sizeof(bit32)); in GetCacheBufferSizeNeeded() 65 cachePtr += ut::RoundUp(headBytes + primBytes, sizeof(bit32)); in SetCacheBufferPointers()
|
| /NW4C-2.0.3/sources/libraries/font/ |
| D | font_PackedFont.cpp | 544 const u32 sizeFINF = math::RoundUp(sizeof(FontInformation), 4); in CalcCopySize() 545 const u32 sizeTGLP = math::RoundUp(sizeof(FontTextureGlyph), 4); in CalcCopySize() 553 const u32 loadResSize = math::RoundUp(sizeFINF + sizeTGLP, GlyphDataAlignment) in CalcCopySize() 575 …u32 offsetCompSheetArray = math::RoundUp(offsetLRUBuffer + sizeLRUBuffer, … in CalcCacheSize() 576 …u32 offsetSheetIndexArray = math::RoundUp(offsetCompSheetArray + sizeCompSheetArray, … in CalcCacheSize() 577 …u32 offsetResSheetIndexArray = math::RoundUp(offsetSheetIndexArray + sizeCompSheetArray, … in CalcCacheSize() 578 …u32 offsetSheetCached = math::RoundUp(offsetResSheetIndexArray + sizeResSheetIndexArray… in CalcCacheSize() 579 …u32 size = math::RoundUp(offsetSheetCached + sizeSheetCached, … in CalcCacheSize() 580 …size = math::RoundUp(size + sizeTextureNamesArray,… in CalcCacheSize() 606 u32 sizeGlyphIndexAdjustArray = math::RoundUp(sizeof(u16) * numResSheet, 2); in AssignMemory() [all …]
|
| D | font_DispStringBuffer.cpp | 42 const u32 drawFlagBytes = math::RoundUp(this->charCountMax, 8) / 8; in DispStringBuffer() 43 ptr += math::RoundUp(drawFlagBytes, sizeof(u32)); in DispStringBuffer()
|
| D | font_ArchiveFont.cpp | 139 const u32 sizeTable = math::RoundUp(sizeof(u16) * gg.GetNumSheet(), 4); in GetRequireBufferSize() 140 const u32 sizeFINF = math::RoundUp(sizeof(FontInformation), 4); in GetRequireBufferSize() 141 const u32 sizeTGLP = math::RoundUp(sizeof(FontTextureGlyph), 4); in GetRequireBufferSize() 142 const u32 sizeSumSheet = math::RoundUp(gg.GetSheetSize() * numRequireSheets, 4); in GetRequireBufferSize() 152 math::RoundUp(sizeTable + sizeFINF + sizeTGLP, GlyphDataAlignment) in GetRequireBufferSize() 156 totalSize = math::RoundUp(totalSize, 4); in GetRequireBufferSize()
|
| D | font_ArchiveFontBase.cpp | 414 sizeAdjustTable = math::RoundUp(gg.GetNumSheet() * sizeof(u16), 4); // 4 バイトアライメント in ConstructOpAnalyzeGLGR() 1117 const u32 offsetStatic = math::RoundUp(sizePreBlock, 2); in FontGlyphGroupsAcs() 1118 const u32 offsetNameOffsets = math::RoundUp(offsetStatic + sizeStatic, 2); in FontGlyphGroupsAcs() 1119 const u32 offsetSizeSheets = math::RoundUp(offsetNameOffsets+ sizeNameOffsets, 4); in FontGlyphGroupsAcs() 1120 const u32 offsetSizeCWDH = math::RoundUp(offsetSizeSheets + sizeSizeSheets, 4); in FontGlyphGroupsAcs() 1121 const u32 offsetSizeCMAP = math::RoundUp(offsetSizeCWDH + sizeSizeCWDH, 4); in FontGlyphGroupsAcs() 1122 const u32 offsetUseSheets = math::RoundUp(offsetSizeCMAP + sizeSizeCMAP, 4); in FontGlyphGroupsAcs() 1123 const u32 offsetUseCWDH = math::RoundUp(offsetUseSheets + sizeUseSheets, 4); in FontGlyphGroupsAcs() 1124 const u32 offsetUseCMAP = math::RoundUp(offsetUseCWDH + sizeUseCWDH, 4); in FontGlyphGroupsAcs()
|
| D | font_RectDrawer.cpp | 104 const int TEX_ENV_COMMAND_SIZE = math::RoundUp(1 + TEX_ENV_DATA_NUM, 2); 680 u32 size = (count / BURST_MAX) * math::RoundUp(2 + 1 + BURST_MAX, 2); in CalcInstCommandCount() 683 size += math::RoundUp(2 + 1 + (count % BURST_MAX), 2); in CalcInstCommandCount() 1139 m_CmdCacheDrawBegin.RoundUp(8); in InitializeCMD() 1178 m_CmdCacheDrawBegin.RoundUp(8); in InitializeCMD() 1518 for (int i = math::RoundUp(charCount, 8) / 8; i > 0; --i) in BuildTextCommand() 1850 const int UniformHeader = math::RoundUp(SingleCommand + 1, 2); in CalcCommandBufferCapacity()
|
| /NW4C-2.0.3/sources/libraries/ut/ |
| D | ut_FrameHeap.cpp | 52 startAddress = RoundUp( startAddress, MIN_ALIGNMENT ); in Create() 125 size = RoundUp( size, MIN_ALIGNMENT ); in Alloc() 158 void* newBlock = RoundUp( mHeadAllocator, (u32)alignment ); in AllocFromHead() 244 newSize = RoundUp( newSize, MIN_ALIGNMENT ); in ResizeForMBlock() 308 const void* block = RoundUp( mHeadAllocator, (u32)alignment ); in GetAllocatableSize()
|
| D | ut_CmdCache.cpp | 427 m_CmdBuffer = static_cast<u8*>(ut::RoundUp(buffer, 4)); in Init() 462 CmdCache::RoundUp(u8 align) in RoundUp() function in nw::ut::internal::CmdCache 466 const GLsizei alignedBufferSize = ut::RoundUp(m_CmdBufferSize, align); in RoundUp()
|
| /NW4C-2.0.3/sources/libraries/snd/ |
| D | snd_SoundArchivePlayer.cpp | 231 size += ut::RoundUp( playerCount * sizeof( SoundPlayer ), 4 ); in GetRequiredMemSize() 246 size += ut::RoundUp( sizeof(internal::PlayerHeap), 4 ); in GetRequiredMemSize() 247 size = ut::RoundUp( size, 32 ); in GetRequiredMemSize() 248 size += ut::RoundUp( playerInfo.playerHeapSize, 4 ); in GetRequiredMemSize() 258 size += ut::RoundUp( in GetRequiredMemSize() 262 size += ut::RoundUp( in GetRequiredMemSize() 266 size += ut::RoundUp( in GetRequiredMemSize() 270 size += ut::RoundUp( in GetRequiredMemSize() 385 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, sizeof(internal::PlayerHeap) ), 4 ); in CreatePlayerHeap() 396 *buffer = ut::RoundUp( *buffer, 32 ); in CreatePlayerHeap() [all …]
|
| D | snd_InstancePool.cpp | 43 char* ptr = static_cast<char*>( ut::RoundUp( buffer, 4 ) ); in CreateImpl() 44 objSize = ut::RoundUp( objSize, 4 ); in CreateImpl()
|
| D | snd_PlayerHeap.cpp | 73 startAddress = ut::RoundUp( startAddress, 32 ); in Create() 121 m_pAllocAddress = ut::RoundUp( endp, 32 ); in Alloc()
|
| D | snd_StreamSoundFileLoader.cpp | 50 s32 readSize = m_Stream.Read( ut::RoundUp( buffer2, 32 ), headerSize ); in LoadFileHeader() 57 reinterpret_cast<StreamSoundFile::FileHeader*>( ut::RoundUp( buffer2, 32 ) ); in LoadFileHeader()
|
| D | snd_FrameHeap.cpp | 112 startAddress = ut::RoundUp( startAddress, 4 ); // Heap align in Create() 201 const unsigned long blockSize = ut::RoundUp( sizeof(Block), HEAP_ALIGN ); in Alloc() 203 blockSize + ut::RoundUp( size, HEAP_ALIGN ), in Alloc()
|
| D | snd_SoundDataManager.cpp | 49 size += ut::RoundUp( in GetRequiredMemSize() 110 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, requiredSize ), 4 ); in CreateFileAddressTable()
|
| D | snd_StreamBufferPool.cpp | 66 const int availableByte = ut::RoundUp( m_BlockCount, BIT_PER_BYTE ) / BIT_PER_BYTE; in Alloc()
|
| D | snd_HioSoundArchive.cpp | 129 ut::RoundUp( sizeof(internal::SoundArchiveFile::FileHeader), 32 ) ); in LoadFileHeader() 131 void* alignedBuffer = ut::RoundUp( headerArea, 32 ); in LoadFileHeader() 413 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read()
|
| /NW4C-2.0.3/include/nw/ut/ |
| D | ut_CmdCache.h | 46 void RoundUp(u8 align);
|
| D | ut_Inlines.h | 489 template <typename ValueT> ValueT RoundUp(ValueT x, unsigned int base); 493 RoundUp(ValueT* x, unsigned int base) in RoundUp() function 503 RoundUp(const ValueT* x, unsigned int base) in RoundUp() function 513 RoundUp(ValueT x, unsigned int base) in RoundUp() function
|
| /NW4C-2.0.3/sources/libraries/lyt/ |
| D | lyt_TexResource.cpp | 79 ut::RoundUp(imageSize, BLOCK_ALIGNMENT)); in Set()
|
| /NW4C-2.0.3/include/nw/os/ |
| D | os_Memory.h | 419 m_Size = ut::RoundUp(m_Size, m_Alignment) + size; 442 m_Size = ut::RoundUp(m_Size, m_Alignment) * operand;
|
| /NW4C-2.0.3/sources/libraries/demo/ |
| D | demo_Memory.cpp | 47 top = nw::ut::RoundUp( top, align ); in AlignMemory_()
|
| /NW4C-2.0.3/demos/snd/playerHeap/sources/ |
| D | playerHeapApp.cpp | 115 nw::ut::RoundUp( m_pMemoryForSoundArchivePlayer, 32 ), setupSize, in InitializeSoundSystem()
|