Lines Matching refs:outStream
56 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream, in Decode2() argument
90 if (outStream) in Decode2()
91 if (outStream->Write(outStream, outBuf, outPos) != outPos) in Decode2()
110 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream) in Decode() argument
131 res = Decode2(&state, outStream, inStream, unpackSize); in Decode()
136 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs) in Encode() argument
160 if (outStream->Write(outStream, header, headerSize) != headerSize) in Encode()
165 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode()
176 CFileOutStream outStream; in main2() local
185 FileOutStream_CreateVTable(&outStream); in main2()
186 File_Construct(&outStream.file); in main2()
215 if (OutFile_Open(&outStream.file, args[3]) != 0) in main2()
225 res = Encode(&outStream.vt, &inStream.vt, fileSize, rs); in main2()
229 res = Decode(&outStream.vt, useOutFile ? &inStream.vt : NULL); in main2()
233 File_Close(&outStream.file); in main2()