Searched refs:bytesToBlocks (Results 1 – 13 of 13) sorted by relevance
/external/llvm-project/llvm/unittests/DebugInfo/MSF/ |
D | MSFCommonTest.cpp | 18 EXPECT_EQ(0ULL, bytesToBlocks(0, 4096)); in TEST() 19 EXPECT_EQ(1ULL, bytesToBlocks(12, 4096)); in TEST() 20 EXPECT_EQ(1ULL, bytesToBlocks(4096, 4096)); in TEST() 21 EXPECT_EQ(2ULL, bytesToBlocks(4097, 4096)); in TEST() 22 EXPECT_EQ(2ULL, bytesToBlocks(600, 512)); in TEST()
|
D | MSFBuilderTest.cpp | 270 NumUsedBlocks += bytesToBlocks(StreamSizes[I], 4096); in TEST_F() 287 ExpectedNumBlocks += bytesToBlocks(StreamSizes[I], 4096); in TEST_F() 303 uint32_t ExpectedNumBlocks = bytesToBlocks(StreamSizes[I], 4096); in TEST_F()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/MSF/ |
D | MSFBuilder.cpp | 159 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream() 182 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream() 196 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize() 197 uint32_t OldBlocks = bytesToBlocks(OldSize, BlockSize); in setStreamSize() 242 uint32_t ExpectedNumBlocks = bytesToBlocks(D.first, BlockSize); in computeDirectoryByteSize() 262 uint32_t NumDirectoryBlocks = bytesToBlocks(SB->NumDirectoryBytes, BlockSize); in generateLayout()
|
D | MSFCommon.cpp | 37 bytesToBlocks(SB.NumDirectoryBytes, SB.BlockSize); in validateSuperBlock()
|
/external/llvm-project/llvm/lib/DebugInfo/MSF/ |
D | MSFBuilder.cpp | 159 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream() 182 uint32_t ReqBlocks = bytesToBlocks(Size, BlockSize); in addStream() 196 uint32_t NewBlocks = bytesToBlocks(Size, BlockSize); in setStreamSize() 197 uint32_t OldBlocks = bytesToBlocks(OldSize, BlockSize); in setStreamSize() 242 uint32_t ExpectedNumBlocks = bytesToBlocks(D.first, BlockSize); in computeDirectoryByteSize() 262 uint32_t NumDirectoryBlocks = bytesToBlocks(SB->NumDirectoryBytes, BlockSize); in generateLayout()
|
D | MSFCommon.cpp | 37 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/llvm-project/llvm/include/llvm/DebugInfo/MSF/ |
D | MSFCommon.h | 108 inline uint64_t bytesToBlocks(uint64_t NumBytes, uint64_t BlockSize) { in bytesToBlocks() function
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/MSF/ |
D | MSFCommon.h | 108 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/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
D | PDBFile.cpp | 76 return msf::bytesToBlocks(ContainerLayout.SB->NumDirectoryBytes, in getNumDirectoryBlocks() 207 : msf::bytesToBlocks(StreamSize, ContainerLayout.SB->BlockSize); in parseStreamData()
|
/external/swiftshader/third_party/llvm-10.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()
|