Searched refs:bytesToBlocks (Results 1 – 9 of 9) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/ |
D | MSFCommonTest.cpp | 19 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()
|
D | MSFBuilderTest.cpp | 271 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/ |
D | MSFBuilder.cpp | 160 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()
|
D | MSFCommon.cpp | 38 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize); in validateSuperBlock()
|
/external/llvm/lib/DebugInfo/PDB/Raw/ |
D | PDBFileBuilder.cpp | 69 BlocksNeeded += File->bytesToBlocks(Size, File->getBlockSize()); in generateSimpleStreamMap() 77 uint32_t NumBlocks = File->bytesToBlocks(Size, File->getBlockSize()); in generateSimpleStreamMap()
|
D | PDBFile.cpp | 56 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/ |
D | MSFCommon.h | 109 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() function
|
/external/llvm/include/llvm/DebugInfo/PDB/Raw/ |
D | PDBFile.h | 106 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/ |
D | PDBFile.cpp | 75 return msf::bytesToBlocks(ContainerLayout.SB->NumDirectoryBytes, in getNumDirectoryBlocks() 206 : msf::bytesToBlocks(StreamSize, ContainerLayout.SB->BlockSize); in parseStreamData()
|