reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
74 uint32_t getBlockSize() const { return BlockSize; }
lib/DebugInfo/MSF/MappedBlockStream.cpp172 uint32_t First = Offset / BlockSize; 181 uint32_t OffsetInFirstBlock = Offset % BlockSize; 182 uint32_t BytesFromFirstBlock = BlockSize - OffsetInFirstBlock; 184 uint32_t ByteSpan = BytesFromFirstBlock + (BlockSpan - 1) * BlockSize; 187 uint32_t MsfOffset = blockToOffset(StreamLayout.Blocks[First], BlockSize); 188 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) 209 uint32_t BlockNum = Offset / BlockSize; 210 uint32_t OffsetInBlock = Offset % BlockSize; 211 uint32_t BytesFromFirstBlock = std::min(Size, BlockSize - OffsetInBlock); 213 alignTo(Size - BytesFromFirstBlock, BlockSize) / BlockSize; 213 alignTo(Size - BytesFromFirstBlock, BlockSize) / BlockSize; 229 uint32_t MsfOffset = blockToOffset(FirstBlockAddr, BlockSize); 230 if (auto EC = MsfData.readBytes(MsfOffset, BlockSize, BlockData)) { 241 uint32_t BlockNum = Offset / BlockSize; 242 uint32_t OffsetInBlock = Offset % BlockSize; 255 uint32_t Offset = blockToOffset(StreamBlockAddr, BlockSize); 256 if (auto EC = MsfData.readBytes(Offset, BlockSize, BlockData)) 260 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock);