Lines Matching full:layout
44 const MSFStreamLayout &Layout,
47 : BlockSize(BlockSize), StreamLayout(Layout), MsfData(MsfData),
51 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData,
54 BlockSize, Layout, MsfData, Allocator);
58 const MSFLayout &Layout, BinaryStreamRef MsfData, uint32_t StreamIndex,
60 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index");
62 SL.Blocks = Layout.StreamMap[StreamIndex];
63 SL.Length = Layout.StreamSizes[StreamIndex];
65 Layout.SB->BlockSize, SL, MsfData, Allocator);
69 MappedBlockStream::createDirectoryStream(const MSFLayout &Layout,
73 SL.Blocks = Layout.DirectoryBlocks;
74 SL.Length = Layout.SB->NumDirectoryBytes;
75 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator);
79 MappedBlockStream::createFpmStream(const MSFLayout &Layout,
82 MSFStreamLayout SL(getFpmStreamLayout(Layout));
83 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator);
309 uint32_t BlockSize, const MSFStreamLayout &Layout,
311 : ReadInterface(BlockSize, Layout, MsfData, Allocator),
316 const MSFStreamLayout &Layout,
320 BlockSize, Layout, MsfData, Allocator);
324 WritableMappedBlockStream::createIndexedStream(const MSFLayout &Layout,
328 assert(StreamIndex < Layout.StreamMap.size() && "Invalid stream index");
330 SL.Blocks = Layout.StreamMap[StreamIndex];
331 SL.Length = Layout.StreamSizes[StreamIndex];
332 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator);
337 const MSFLayout &Layout, WritableBinaryStreamRef MsfData,
340 SL.Blocks = Layout.DirectoryBlocks;
341 SL.Length = Layout.SB->NumDirectoryBytes;
342 return createStream(Layout.SB->BlockSize, SL, MsfData, Allocator);
346 WritableMappedBlockStream::createFpmStream(const MSFLayout &Layout,
353 // this, we first create the full layout, which gives us a stream with all
355 // file are unused). Then we create the minimal layout (which contains only a
357 MSFStreamLayout MinLayout(getFpmStreamLayout(Layout, false, AltFpm));
359 MSFStreamLayout FullLayout(getFpmStreamLayout(Layout, true, AltFpm));
361 createStream(Layout.SB->BlockSize, FullLayout, MsfData, Allocator);
364 std::vector<uint8_t> InitData(Layout.SB->BlockSize, 0xFF);
368 return createStream(Layout.SB->BlockSize, MinLayout, MsfData, Allocator);