Lines Matching refs:outStream
55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, in Decode2() argument
89 if (outStream) in Decode2()
90 if (outStream->Write(outStream, outBuf, outPos) != outPos) in Decode2()
108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) in Decode() argument
129 res = Decode2(&state, outStream, inStream, unpackSize); in Decode()
134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() argument
158 if (outStream->Write(outStream, header, headerSize) != headerSize) in Encode()
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode()
173 CFileOutStream outStream; in main2() local
182 FileOutStream_CreateVTable(&outStream); in main2()
183 File_Construct(&outStream.file); in main2()
212 if (OutFile_Open(&outStream.file, args[3]) != 0) in main2()
222 res = Encode(&outStream.s, &inStream.s, fileSize, rs); in main2()
226 res = Decode(&outStream.s, useOutFile ? &inStream.s : NULL); in main2()
230 File_Close(&outStream.file); in main2()