Home
last modified time | relevance | path

Searched refs:ExpectedNumBlocks (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/
DMSFBuilderTest.cpp285 uint32_t ExpectedNumBlocks = msf::getMinimumBlockCount(); in TEST_F() local
288 ExpectedNumBlocks += bytesToBlocks(StreamSizes[I], 4096); in TEST_F()
290 ++ExpectedNumBlocks; // The directory itself should use 1 block in TEST_F()
296 EXPECT_EQ(ExpectedNumBlocks, L.SB->NumBlocks); in TEST_F()
304 uint32_t ExpectedNumBlocks = bytesToBlocks(StreamSizes[I], 4096); in TEST_F() local
305 EXPECT_EQ(ExpectedNumBlocks, L.StreamMap[I].size()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMSFBuilder.cpp243 uint32_t ExpectedNumBlocks = bytesToBlocks(D.first, BlockSize); in computeDirectoryByteSize() local
244 assert(ExpectedNumBlocks == D.second.size() && in computeDirectoryByteSize()
246 Size += ExpectedNumBlocks * sizeof(ulittle32_t); in computeDirectoryByteSize()