Lines Matching refs:subStream
114 CSubStreamInfo subStream; in Write() local
122 subStream.StreamSpec = new COutFileStream; in Write()
123 subStream.Stream = subStream.StreamSpec; in Write()
124 if (!subStream.StreamSpec->Create(name, false)) in Write()
131 subStream.Pos = 0; in Write()
132 subStream.RealSize = 0; in Write()
133 subStream.Name = name; in Write()
134 Streams.Add(subStream); in Write()
137 CSubStreamInfo &subStream = Streams[_streamIndex]; in Write() local
150 if (_offsetPos != subStream.Pos) in Write()
154 RINOK(subStream.Stream->Seek(_offsetPos, STREAM_SEEK_SET, NULL)); in Write()
155 subStream.Pos = _offsetPos; in Write()
158 UInt32 curSize = (UInt32)MyMin((UInt64)size, volSize - subStream.Pos); in Write()
160 RINOK(subStream.Stream->Write(data, curSize, &realProcessed)); in Write()
163 subStream.Pos += realProcessed; in Write()
168 if (_offsetPos > subStream.RealSize) in Write()
169 subStream.RealSize = _offsetPos; in Write()
172 if (subStream.Pos == volSize) in Write()
214 CSubStreamInfo &subStream = Streams[i++]; in SetSize() local
215 if ((UInt64)newSize < subStream.RealSize) in SetSize()
217 RINOK(subStream.Stream->SetSize(newSize)); in SetSize()
218 subStream.RealSize = newSize; in SetSize()
221 newSize -= subStream.RealSize; in SetSize()
226 CSubStreamInfo &subStream = Streams.Back(); in SetSize() local
227 subStream.Stream.Release(); in SetSize()
228 NDirectory::DeleteFileAlways(subStream.Name); in SetSize()