Home | History | Annotate | Download | only in Common

Lines Matching refs:subStream

114       CSubStreamInfo subStream;

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