| /NW4C-1.3.3/sources/libraries/gfx/ |
| D | gfx_ParticleShape.cpp | 377 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetMemorySizeInternal() 379 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetMemorySizeInternal() 383 nodeMemorySize = ut::RoundUp(nodeMemorySize, 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() 414 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetDeviceMemorySizeInternal() 416 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in GetDeviceMemorySizeInternal() 443 deviceMemorySize = ut::RoundUp(deviceMemorySize, 32); in Create() [all …]
|
| D | gfx_ParticleUtil.cpp | 313 size += ut::RoundUp(baseSize, 4); in DuplicateResParticleInitializer() 329 dstPtr += ut::RoundUp(baseSize, 4); in DuplicateResParticleInitializer() 711 size += ut::RoundUp(baseSize, 4); in DuplicateResParticleUpdater() 712 size += ut::RoundUp(animationSize, 4); in DuplicateResParticleUpdater() 713 size += ut::RoundUp(enabledSize, 4); in DuplicateResParticleUpdater() 714 size += ut::RoundUp(dataSize, 4); in DuplicateResParticleUpdater() 715 size += ut::RoundUp(animationOptionSize, 4); in DuplicateResParticleUpdater() 716 size += ut::RoundUp(childStrSize, 4); in DuplicateResParticleUpdater() 717 size += ut::RoundUp(childFormSize, 4); in DuplicateResParticleUpdater() 718 size += ut::RoundUp(childOptionSize, 4); in DuplicateResParticleUpdater() [all …]
|
| D | gfx_ParticleCollection.cpp | 41 prevSize = ut::RoundUp(prevSize, 8); in ParticleStreamCreateSize() 45 ut::RoundUp(capacity, internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(T) + in ParticleStreamCreateSize() 65 ut::RoundUp(capacity, internal::PARTICLE_SIMD_WIDTH_MAX) * sizeof(T) + in ParticleStreamCreate() 69 *buffer = reinterpret_cast<u8*>(ut::RoundUp(*buffer, 8)); in ParticleStreamCreate() 89 prevSize = ut::RoundUp(prevSize, 4); in ParticleParameterAttributeCreateSize() 109 *buffer = reinterpret_cast<u8*>(ut::RoundUp(*buffer, 4)); in ParticleParameterAttributeCreate() 133 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in GetMemorySizeInternal() 156 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in GetMemorySizeInternal() 370 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in Create() 395 collectionMemorySize = ut::RoundUp(collectionMemorySize, 4); in Create() [all …]
|
| /NW4C-1.3.3/sources/libraries/font/ |
| D | font_PackedFont.cpp | 542 const u32 sizeFINF = math::RoundUp(sizeof(FontInformation), 4); in CalcCopySize() 543 const u32 sizeTGLP = math::RoundUp(sizeof(FontTextureGlyph), 4); in CalcCopySize() 551 const u32 loadResSize = math::RoundUp(sizeFINF + sizeTGLP, GlyphDataAlignment) in CalcCopySize() 573 …u32 offsetCompSheetArray = math::RoundUp(offsetLRUBuffer + sizeLRUBuffer, … in CalcCacheSize() 574 …u32 offsetSheetIndexArray = math::RoundUp(offsetCompSheetArray + sizeCompSheetArray, … in CalcCacheSize() 575 …u32 offsetResSheetIndexArray = math::RoundUp(offsetSheetIndexArray + sizeCompSheetArray, … in CalcCacheSize() 576 …u32 offsetSheetCached = math::RoundUp(offsetResSheetIndexArray + sizeResSheetIndexArray… in CalcCacheSize() 577 …u32 size = math::RoundUp(offsetSheetCached + sizeSheetCached, … in CalcCacheSize() 578 …size = math::RoundUp(size + sizeTextureNamesArray,… in CalcCacheSize() 604 u32 sizeGlyphIndexAdjustArray = math::RoundUp(sizeof(u16) * numResSheet, 2); in AssignMemory() [all …]
|
| D | font_DispStringBuffer.cpp | 40 const u32 drawFlagBytes = math::RoundUp(this->charCountMax, 8) / 8; in DispStringBuffer() 41 ptr += math::RoundUp(drawFlagBytes, sizeof(u32)); in DispStringBuffer()
|
| D | font_ArchiveFont.cpp | 137 const u32 sizeTable = math::RoundUp(sizeof(u16) * gg.GetNumSheet(), 4); in GetRequireBufferSize() 138 const u32 sizeFINF = math::RoundUp(sizeof(FontInformation), 4); in GetRequireBufferSize() 139 const u32 sizeTGLP = math::RoundUp(sizeof(FontTextureGlyph), 4); in GetRequireBufferSize() 140 const u32 sizeSumSheet = math::RoundUp(gg.GetSheetSize() * numRequireSheets, 4); in GetRequireBufferSize() 150 math::RoundUp(sizeTable + sizeFINF + sizeTGLP, GlyphDataAlignment) in GetRequireBufferSize() 154 totalSize = math::RoundUp(totalSize, 4); in GetRequireBufferSize()
|
| D | font_ArchiveFontBase.cpp | 412 sizeAdjustTable = math::RoundUp(gg.GetNumSheet() * sizeof(u16), 4); // 4 バイトアライメント in ConstructOpAnalyzeGLGR() 1115 const u32 offsetStatic = math::RoundUp(sizePreBlock, 2); in FontGlyphGroupsAcs() 1116 const u32 offsetNameOffsets = math::RoundUp(offsetStatic + sizeStatic, 2); in FontGlyphGroupsAcs() 1117 const u32 offsetSizeSheets = math::RoundUp(offsetNameOffsets+ sizeNameOffsets, 4); in FontGlyphGroupsAcs() 1118 const u32 offsetSizeCWDH = math::RoundUp(offsetSizeSheets + sizeSizeSheets, 4); in FontGlyphGroupsAcs() 1119 const u32 offsetSizeCMAP = math::RoundUp(offsetSizeCWDH + sizeSizeCWDH, 4); in FontGlyphGroupsAcs() 1120 const u32 offsetUseSheets = math::RoundUp(offsetSizeCMAP + sizeSizeCMAP, 4); in FontGlyphGroupsAcs() 1121 const u32 offsetUseCWDH = math::RoundUp(offsetUseSheets + sizeUseSheets, 4); in FontGlyphGroupsAcs() 1122 const u32 offsetUseCMAP = math::RoundUp(offsetUseCWDH + sizeUseCWDH, 4); in FontGlyphGroupsAcs()
|
| D | font_RectDrawer.cpp | 102 const int TEX_ENV_COMMAND_SIZE = math::RoundUp(1 + TEX_ENV_DATA_NUM, 2); 654 u32 size = (count / BURST_MAX) * math::RoundUp(2 + 1 + BURST_MAX, 2); in CalcInstCommandCount() 657 size += math::RoundUp(2 + 1 + (count % BURST_MAX), 2); in CalcInstCommandCount() 1110 m_CmdCacheDrawBegin.RoundUp(8); in InitializeCMD() 1149 m_CmdCacheDrawBegin.RoundUp(8); in InitializeCMD() 1488 for (int i = math::RoundUp(charCount, 8) / 8; i > 0; --i) in BuildTextCommand() 1804 const int UniformHeader = math::RoundUp(SingleCommand + 1, 2); in CalcCommandBufferCapacity()
|
| /NW4C-1.3.3/sources/libraries/ut/ |
| D | ut_FrameHeap.cpp | 50 startAddress = RoundUp( startAddress, MIN_ALIGNMENT ); in Create() 123 size = RoundUp( size, MIN_ALIGNMENT ); in Alloc() 156 void* newBlock = RoundUp( mHeadAllocator, (u32)alignment ); in AllocFromHead() 242 newSize = RoundUp( newSize, MIN_ALIGNMENT ); in ResizeForMBlock() 306 const void* block = RoundUp( mHeadAllocator, (u32)alignment ); in GetAllocatableSize()
|
| D | ut_CmdCache.cpp | 425 m_CmdBuffer = static_cast<u8*>(ut::RoundUp(buffer, 4)); in Init() 460 CmdCache::RoundUp(u8 align) in RoundUp() function in nw::ut::internal::CmdCache 464 const u32 alignedBufferSize = ut::RoundUp(m_CmdBufferSize, align); in RoundUp()
|
| /NW4C-1.3.3/sources/libraries/snd/ |
| D | snd_SoundArchivePlayer.cpp | 229 size += ut::RoundUp( playerCount * sizeof( SoundPlayer ), 4 ); in GetRequiredMemSize() 244 size += ut::RoundUp( sizeof(internal::PlayerHeap), 4 ); in GetRequiredMemSize() 245 size = ut::RoundUp( size, 32 ); in GetRequiredMemSize() 246 size += ut::RoundUp( playerInfo.playerHeapSize, 4 ); in GetRequiredMemSize() 256 size += ut::RoundUp( in GetRequiredMemSize() 260 size += ut::RoundUp( in GetRequiredMemSize() 264 size += ut::RoundUp( in GetRequiredMemSize() 268 size += ut::RoundUp( in GetRequiredMemSize() 383 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, sizeof(internal::PlayerHeap) ), 4 ); in CreatePlayerHeap() 394 *buffer = ut::RoundUp( *buffer, 32 ); in CreatePlayerHeap() [all …]
|
| D | snd_InstancePool.cpp | 41 char* ptr = static_cast<char*>( ut::RoundUp( buffer, 4 ) ); in CreateImpl() 42 objSize = ut::RoundUp( objSize, 4 ); in CreateImpl()
|
| D | snd_PlayerHeap.cpp | 71 startAddress = ut::RoundUp( startAddress, 32 ); in Create() 113 m_pAllocAddress = ut::RoundUp( endp, 32 ); in Alloc()
|
| D | snd_StreamSoundFileLoader.cpp | 48 s32 readSize = m_Stream.Read( ut::RoundUp( buffer2, 32 ), headerSize ); in LoadFileHeader() 55 reinterpret_cast<StreamSoundFile::FileHeader*>( ut::RoundUp( buffer2, 32 ) ); in LoadFileHeader()
|
| D | snd_FrameHeap.cpp | 110 startAddress = ut::RoundUp( startAddress, 4 ); // Heap align in Create() 190 const unsigned long blockSize = ut::RoundUp( sizeof(Block), HEAP_ALIGN ); in Alloc() 192 blockSize + ut::RoundUp( size, HEAP_ALIGN ), in Alloc()
|
| D | snd_SoundDataManager.cpp | 47 size += ut::RoundUp( in GetRequiredMemSize() 108 void* ep = ut::RoundUp( ut::AddOffsetToPtr( *buffer, requiredSize ), 4 ); in CreateFileAddressTable()
|
| D | snd_StreamBufferPool.cpp | 64 const int availableByte = ut::RoundUp( m_BlockCount, BIT_PER_BYTE ) / BIT_PER_BYTE; in Alloc()
|
| D | snd_HioSoundArchive.cpp | 127 ut::RoundUp( sizeof(internal::SoundArchiveFile::FileHeader), 32 ) ); in LoadFileHeader() 129 void* alignedBuffer = ut::RoundUp( headerArea, 32 ); in LoadFileHeader() 411 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read()
|
| D | snd_RomSoundArchive.cpp | 204 ut::RoundUp( sizeof(internal::SoundArchiveFile::FileHeader), 32 ) in LoadFileHeader() 207 void* file = ut::RoundUp( headerArea, 32 ); in LoadFileHeader() 655 length = static_cast<u32>( ut::RoundUp( m_Offset + m_Size - curPos, 32 ) ); in Read()
|
| D | snd_FxDelay.cpp | 330 uptr ptr = nw::ut::RoundUp( m_pBuffer, 32 ); in AllocBuffer()
|
| /NW4C-1.3.3/include/nw/ut/ |
| D | ut_CmdCache.h | 44 void RoundUp(u8 align);
|
| D | ut_Inlines.h | 487 template <typename ValueT> ValueT RoundUp(ValueT x, unsigned int base); 491 RoundUp(ValueT* x, unsigned int base) in RoundUp() function 501 RoundUp(const ValueT* x, unsigned int base) in RoundUp() function 511 RoundUp(ValueT x, unsigned int base) in RoundUp() function
|
| /NW4C-1.3.3/sources/libraries/demo/ |
| D | demo_Memory.cpp | 45 top = nw::ut::RoundUp( top, align ); in AlignMemory_()
|
| /NW4C-1.3.3/include/nw/os/ |
| D | os_Memory.h | 418 m_Size = ut::RoundUp(m_Size, m_Alignment) + size; 440 m_Size = ut::RoundUp(m_Size, m_Alignment) * operand;
|
| /NW4C-1.3.3/demos/snd/playerHeap/sources/ |
| D | playerHeapApp.cpp | 113 nw::ut::RoundUp( m_pMemoryForSoundArchivePlayer, 32 ), setupSize, in InitializeSoundSystem()
|