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