Home
last modified time | relevance | path

Searched refs:bytesToBlocks (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/
DMSFCommonTest.cpp19 EXPECT_EQ(0ULL, bytesToBlocks(0, 4096)); in TEST()
20 EXPECT_EQ(1ULL, bytesToBlocks(12, 4096)); in TEST()
21 EXPECT_EQ(1ULL, bytesToBlocks(4096, 4096)); in TEST()
22 EXPECT_EQ(2ULL, bytesToBlocks(4097, 4096)); in TEST()
23 EXPECT_EQ(2ULL, bytesToBlocks(600, 512)); in TEST()
DMSFBuilderTest.cpp271 NumUsedBlocks += bytesToBlocks(StreamSizes[I], 4096); in TEST_F()
288 ExpectedNumBlocks += bytesToBlocks(StreamSizes[I], 4096); in TEST_F()
304 uint32_t ExpectedNumBlocks = bytesToBlocks(StreamSizes[I], 4096); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp160 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream()
183 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream()
197 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize()
198 uint32_t OldBlocks = bytesToBlocks(OldSize, BlockSize); in setStreamSize()
243 uint32_t ExpectedNumBlocks = bytesToBlocks(D.first, BlockSize); in computeDirectoryByteSize()
263 uint32_t NumDirectoryBlocks = bytesToBlocks(SB->NumDirectoryBytes, BlockSize); in generateLayout()
DMSFCommon.cpp38 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize); in validateSuperBlock()
/external/llvm/lib/DebugInfo/PDB/Raw/
DPDBFileBuilder.cpp69 BlocksNeeded += File->bytesToBlocks(Size, File->getBlockSize()); in generateSimpleStreamMap()
77 uint32_t NumBlocks = File->bytesToBlocks(Size, File->getBlockSize()); in generateSimpleStreamMap()
DPDBFile.cpp56 return bytesToBlocks(SB->NumDirectoryBytes, SB->BlockSize); in getNumDirectoryBlocks()
146 StreamSize == UINT32_MAX ? 0 : bytesToBlocks(StreamSize, SB->BlockSize); in parseStreamData()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/MSF/
DMSFCommon.h109 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() function
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DPDBFile.h106 static uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DPDBFile.cpp75 return msf::bytesToBlocks(ContainerLayout.SB->NumDirectoryBytes, in getNumDirectoryBlocks()
206 : msf::bytesToBlocks(StreamSize, ContainerLayout.SB->BlockSize); in parseStreamData()