Home | History | Annotate | Download | only in Lzma

Lines Matching refs:inStream

55 static SRes Decode2(CLzmaDec *state, ISeqOutStream *outStream, ISeqInStream *inStream,

68 RINOK(inStream->Read(inStream, inBuf, &inSize));
108 static SRes Decode(ISeqOutStream *outStream, ISeqInStream *inStream)
121 RINOK(SeqInStream_Read(inStream, header, sizeof(header)));
129 res = Decode2(&state, outStream, inStream, unpackSize);
134 static SRes Encode(ISeqOutStream *outStream, ISeqInStream *inStream, UInt64 fileSize, char *rs)
163 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc);
172 CFileSeqInStream inStream;
179 FileSeqInStream_CreateVTable(&inStream);
180 File_Construct(&inStream.file);
206 if (InFile_Open(&inStream.file, args[2]) != 0)
221 File_GetLength(&inStream.file, &fileSize);
222 res = Encode(&outStream.s, &inStream.s, fileSize, rs);
226 res = Decode(&outStream.s, useOutFile ? &inStream.s : NULL);
231 File_Close(&inStream.file);