Lines Matching refs:outStream
105 static SRes Decode2(CLzmaDec *state, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream,
139 if (outStream)
140 if (outStream->Write(outStream, outBuf, outPos) != outPos)
159 static SRes Decode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream)
184 res = Decode2(&state, outStream, inStream, unpackSize);
189 static SRes Encode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, UInt64 fileSize)
211 if (outStream->Write(outStream, header, headerSize) != headerSize)
216 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc);
227 CFileOutStream outStream;
239 FileOutStream_CreateVTable(&outStream);
240 File_Construct(&outStream.file);
241 outStream.wres = 0;
276 wres = OutFile_Open(&outStream.file, args[3]);
289 res = Encode(&outStream.vt, &inStream.vt, fileSize);
293 res = Decode(&outStream.vt, useOutFile ? &inStream.vt : NULL);
297 File_Close(&outStream.file);
307 return PrintError_WRes(kCantWriteMessage, outStream.wres);