Lines Matching refs:Pdb
39 const IPDBFile &Pdb) in MappedBlockStream() argument
40 : Pdb(Pdb), Data(std::move(Data)) {} in MappedBlockStream()
127 uint32_t First = Offset / Pdb.getBlockSize(); in readLongestContiguousChunk()
131 while (Last < Pdb.getBlockCount() - 1) { in readLongestContiguousChunk()
137 uint32_t OffsetInFirstBlock = Offset % Pdb.getBlockSize(); in readLongestContiguousChunk()
138 uint32_t BytesFromFirstBlock = Pdb.getBlockSize() - OffsetInFirstBlock; in readLongestContiguousChunk()
141 BytesFromFirstBlock + (BlockSpan - 1) * Pdb.getBlockSize(); in readLongestContiguousChunk()
142 auto Result = Pdb.getBlockData(BlockList[First], Pdb.getBlockSize()); in readLongestContiguousChunk()
161 uint32_t BlockNum = Offset / Pdb.getBlockSize(); in tryReadContiguously()
162 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in tryReadContiguously()
164 std::min(Size, Pdb.getBlockSize() - OffsetInBlock); in tryReadContiguously()
166 llvm::alignTo(Size - BytesFromFirstBlock, Pdb.getBlockSize()) / in tryReadContiguously()
167 Pdb.getBlockSize(); in tryReadContiguously()
178 auto Result = Pdb.getBlockData(FirstBlockAddr, Pdb.getBlockSize()); in tryReadContiguously()
190 uint32_t BlockNum = Offset / Pdb.getBlockSize(); in readBytes()
191 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in readBytes()
206 auto Result = Pdb.getBlockData(StreamBlockAddr, Pdb.getBlockSize()); in readBytes()
213 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in readBytes()
234 uint32_t BlockNum = Offset / Pdb.getBlockSize(); in writeBytes()
235 uint32_t OffsetInBlock = Offset % Pdb.getBlockSize(); in writeBytes()
243 std::min(BytesLeft, Pdb.getBlockSize() - OffsetInBlock); in writeBytes()
247 if (auto EC = Pdb.setBlockData(StreamBlockAddr, OffsetInBlock, ChunkData)) in writeBytes()