Home
last modified time | relevance | path

Searched refs:OffsetInBlock (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/DebugInfo/PDB/Raw/
DMappedBlockStream.cpp162 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in tryReadContiguously() local
164 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() local
211 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() local
243 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in writeBytes()
247 if (auto EC = Pdb.setBlockData(StreamBlockAddr, OffsetInBlock, ChunkData)) in writeBytes()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp211 uint32_t OffsetInBlock = Offset % BlockSize; in tryReadContiguously() local
212 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() local
260 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() local
402 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes()
407 MsfOffset += OffsetInBlock; in writeBytes()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-pdbutil/
DExplainOutputStyle.cpp227 uint32_t OffsetInBlock = FileOffset - BlockMapOffset; in explainPdbBlockMapOffset() local
229 OffsetInBlock); in explainPdbBlockMapOffset()
235 uint32_t OffsetInBlock = FileOffset - BlockIndex * BlockSize; in getOffsetInStream() local
240 return StreamBlockIndex * BlockSize + OffsetInBlock; in getOffsetInStream()