Home
last modified time | relevance | path

Searched refs:OffsetInBlock (Results 1 – 4 of 4) 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-10.0/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp210 uint32_t OffsetInBlock = Offset % BlockSize; in tryReadContiguously() local
211 uint32_t BytesFromFirstBlock = std::min(Size, BlockSize - OffsetInBlock); in tryReadContiguously()
234 BlockData = BlockData.drop_front(OffsetInBlock); in tryReadContiguously()
242 uint32_t OffsetInBlock = Offset % BlockSize; in readBytes() local
259 const uint8_t *ChunkStart = BlockData.data() + OffsetInBlock; in readBytes()
260 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes()
266 OffsetInBlock = 0; in readBytes()
394 uint32_t OffsetInBlock = Offset % getBlockSize(); in writeBytes() local
401 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes()
406 MsfOffset += OffsetInBlock; in writeBytes()
[all …]
/external/llvm-project/llvm/lib/DebugInfo/MSF/
DMappedBlockStream.cpp210 uint32_t OffsetInBlock = Offset % BlockSize; in tryReadContiguously() local
211 uint32_t BytesFromFirstBlock = std::min(Size, BlockSize - OffsetInBlock); in tryReadContiguously()
234 BlockData = BlockData.drop_front(OffsetInBlock); in tryReadContiguously()
242 uint32_t OffsetInBlock = Offset % BlockSize; in readBytes() local
259 const uint8_t *ChunkStart = BlockData.data() + OffsetInBlock; in readBytes()
260 uint32_t BytesInChunk = std::min(BytesLeft, BlockSize - OffsetInBlock); in readBytes()
266 OffsetInBlock = 0; in readBytes()
394 uint32_t OffsetInBlock = Offset % getBlockSize(); in writeBytes() local
401 std::min(BytesLeft, getBlockSize() - OffsetInBlock); in writeBytes()
406 MsfOffset += OffsetInBlock; in writeBytes()
[all …]
/external/llvm-project/llvm/tools/llvm-pdbutil/
DExplainOutputStyle.cpp226 uint32_t OffsetInBlock = FileOffset - BlockMapOffset; in explainPdbBlockMapOffset() local
228 OffsetInBlock); in explainPdbBlockMapOffset()
234 uint32_t OffsetInBlock = FileOffset - BlockIndex * BlockSize; in getOffsetInStream() local
239 return StreamBlockIndex * BlockSize + OffsetInBlock; in getOffsetInStream()