Lines Matching refs:BlockHeader
25 const LineBlockFragmentHeader *BlockHeader; in operator ()() local
27 if (auto EC = Reader.readObject(BlockHeader)) in operator ()()
31 BlockHeader->NumLines * in operator ()()
33 if (BlockHeader->BlockSize < sizeof(LineBlockFragmentHeader)) in operator ()()
36 uint32_t Size = BlockHeader->BlockSize - sizeof(LineBlockFragmentHeader); in operator ()()
42 Len = BlockHeader->BlockSize; in operator ()()
43 Item.NameIndex = BlockHeader->NameIndex; in operator ()()
44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()()
47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()()
114 LineBlockFragmentHeader BlockHeader; in commit() local
117 BlockHeader.NumLines = B.Lines.size(); in commit()
118 BlockHeader.BlockSize = sizeof(LineBlockFragmentHeader); in commit()
119 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(LineNumberEntry); in commit()
121 BlockHeader.BlockSize += BlockHeader.NumLines * sizeof(ColumnNumberEntry); in commit()
122 BlockHeader.NameIndex = B.ChecksumBufferOffset; in commit()
123 if (auto EC = Writer.writeObject(BlockHeader)) in commit()