Lines Matching refs:StreamData
177 StreamData.push_back(std::make_pair(Size, Blocks)); in addStream()
178 return StreamData.size() - 1; in addStream()
187 StreamData.push_back(std::make_pair(Size, NewBlocks)); in addStream()
188 return StreamData.size() - 1; in addStream()
206 auto &CurrentBlocks = StreamData[Idx].second; in setStreamSize()
213 auto CurrentBlocks = ArrayRef<uint32_t>(StreamData[Idx].second); in setStreamSize()
217 StreamData[Idx].second = CurrentBlocks.drop_back(RemovedBlocks); in setStreamSize()
220 StreamData[Idx].first = Size; in setStreamSize()
224 uint32_t MSFBuilder::getNumStreams() const { return StreamData.size(); } in getNumStreams()
227 return StreamData[StreamIdx].first; in getStreamSize()
231 return StreamData[StreamIdx].second; in getStreamBlocks()
240 Size += StreamData.size() * sizeof(ulittle32_t); // StreamSizes in computeDirectoryByteSize()
241 for (const auto &D : StreamData) { in computeDirectoryByteSize()
293 if (!StreamData.empty()) { in generateLayout()
294 ulittle32_t *Sizes = Allocator.Allocate<ulittle32_t>(StreamData.size()); in generateLayout()
295 L.StreamSizes = ArrayRef<ulittle32_t>(Sizes, StreamData.size()); in generateLayout()
296 L.StreamMap.resize(StreamData.size()); in generateLayout()
297 for (uint32_t I = 0; I < StreamData.size(); ++I) { in generateLayout()
298 Sizes[I] = StreamData[I].first; in generateLayout()
300 Allocator.Allocate<ulittle32_t>(StreamData[I].second.size()); in generateLayout()
301 std::uninitialized_copy_n(StreamData[I].second.begin(), in generateLayout()
302 StreamData[I].second.size(), BlockList); in generateLayout()
304 ArrayRef<ulittle32_t>(BlockList, StreamData[I].second.size()); in generateLayout()