Lines Matching refs:altStream
150 CAltStreamInfo altStream; in Write() local
158 altStream.StreamSpec = new COutFileStream; in Write()
159 altStream.Stream = altStream.StreamSpec; in Write()
160 if (!altStream.StreamSpec->Create(name, false)) in Write()
167 altStream.Pos = 0; in Write()
168 altStream.RealSize = 0; in Write()
169 altStream.Name = name; in Write()
170 Streams.Add(altStream); in Write()
173 CAltStreamInfo &altStream = Streams[_streamIndex]; in Write() local
186 if (_offsetPos != altStream.Pos) in Write()
190 RINOK(altStream.Stream->Seek(_offsetPos, STREAM_SEEK_SET, NULL)); in Write()
191 altStream.Pos = _offsetPos; in Write()
194 UInt32 curSize = (UInt32)MyMin((UInt64)size, volSize - altStream.Pos); in Write()
196 RINOK(altStream.Stream->Write(data, curSize, &realProcessed)); in Write()
199 altStream.Pos += realProcessed; in Write()
204 if (_offsetPos > altStream.RealSize) in Write()
205 altStream.RealSize = _offsetPos; in Write()
208 if (altStream.Pos == volSize) in Write()
244 CAltStreamInfo &altStream = Streams[i++]; in SetSize() local
245 if ((UInt64)newSize < altStream.RealSize) in SetSize()
247 RINOK(altStream.Stream->SetSize(newSize)); in SetSize()
248 altStream.RealSize = newSize; in SetSize()
251 newSize -= altStream.RealSize; in SetSize()
256 CAltStreamInfo &altStream = Streams.Back(); in SetSize() local
257 altStream.Stream.Release(); in SetSize()
258 DeleteFileAlways(altStream.Name); in SetSize()