Lines Matching full:blocks
70 "Cannot grow the number of blocks");
104 MutableArrayRef<uint32_t> Blocks) {
112 "There are no free Blocks in the file");
119 // blocks for each FPM group crossed and mark both blocks from the group as
120 // used. FPM blocks are marked as allocated regardless of whether or not
121 // they ultimately describe the status of blocks in the file. This means
122 // that not only are extraneous blocks at the end of the main FPM marked as
123 // allocated, but also blocks from the alternate FPM are always marked as
136 assert(Block != -1 && "We ran out of Blocks!");
139 Blocks[I++] = NextBlock;
157 ArrayRef<uint32_t> Blocks) {
158 // Add a new stream mapped to the specified blocks. Verify that the specified
159 // blocks are both necessary and sufficient for holding the requested number
160 // of bytes, and verify that all requested blocks are free.
162 if (ReqBlocks != Blocks.size())
165 "Incorrect number of blocks for requested stream size");
166 for (auto Block : Blocks) {
175 // Mark all the blocks occupied by the new stream as not free.
176 for (auto Block : Blocks) {
179 StreamData.push_back(std::make_pair(Size, Blocks));
203 // If we're growing, we have to allocate new Blocks.
211 // For shrinking, free all the Blocks in the Block map, update the stream
245 "Unexpected number of blocks");
283 // Don't set the number of blocks in the file until after allocating Blocks
412 for (const auto &Blocks : Layout.StreamMap) {
413 if (auto EC = DW.writeArray(Blocks))