Searched refs:OffsetInBlock (Results 1 – 3 of 3) sorted by relevance
162 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in tryReadContiguously() local164 std::min(Size, Pdb.getBlockSize() - OffsetInBlock); in tryReadContiguously()183 auto Data = Result->drop_front(OffsetInBlock); in tryReadContiguously()191 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in readBytes() local211 const uint8_t *ChunkStart = Data.data() + OffsetInBlock; in readBytes()213 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in readBytes()219 OffsetInBlock = 0; in readBytes()235 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in writeBytes() local243 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in writeBytes()247 if (auto EC = Pdb.setBlockData(StreamBlockAddr, OffsetInBlock, ChunkData)) in writeBytes()[all …]
211 uint32_t OffsetInBlock = Offset % BlockSize; in tryReadContiguously() local212 uint32_t BytesFromFirstBlock = std::min(Size, BlockSize - OffsetInBlock); in tryReadContiguously()235 BlockData = BlockData.drop_front(OffsetInBlock); in tryReadContiguously()243 uint32_t OffsetInBlock = Offset % BlockSize; in readBytes() local260 const uint8_t *ChunkStart = BlockData.data() + OffsetInBlock; in readBytes()261 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes()267 OffsetInBlock = 0; in readBytes()395 uint32_t OffsetInBlock = Offset % getBlockSize(); in writeBytes() local402 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes()407 MsfOffset += OffsetInBlock; in writeBytes()[all …]
227 uint32_t OffsetInBlock = FileOffset - BlockMapOffset; in explainPdbBlockMapOffset() local229 OffsetInBlock); in explainPdbBlockMapOffset()235 uint32_t OffsetInBlock = FileOffset - BlockIndex * BlockSize; in getOffsetInStream() local240 return StreamBlockIndex * BlockSize + OffsetInBlock; in getOffsetInStream()