Lines Matching refs:foutput
341 FILE* foutput; in LZ4IO_compressFilename_Legacy() local
350 foutput = LZ4IO_openDstFile(output_filename); in LZ4IO_compressFilename_Legacy()
351 if (foutput == NULL) { fclose(finput); EXM_THROW(20, "%s : open file error ", input_filename); } in LZ4IO_compressFilename_Legacy()
360 { size_t const sizeCheck = fwrite(out_buff, 1, MAGICNUMBER_SIZE, foutput); in LZ4IO_compressFilename_Legacy()
380 { size_t const sizeCheck = fwrite(out_buff, 1, outSize+4, foutput); in LZ4IO_compressFilename_Legacy()
402 fclose(foutput); in LZ4IO_compressFilename_Legacy()
802 static unsigned long long LZ4IO_decodeLegacyStream(FILE* finput, FILE* foutput) in LZ4IO_decodeLegacyStream() argument
836 … storedSkips = LZ4IO_fwriteSparse(foutput, out_buff, decodeSize, storedSkips); /* success or die */ in LZ4IO_decodeLegacyStream()
840 LZ4IO_fwriteSparseEnd(foutput, storedSkips); in LZ4IO_decodeLegacyStream()
961 static unsigned long long LZ4IO_passThrough(FILE* finput, FILE* foutput, unsigned char MNstore[MAGI… in LZ4IO_passThrough() argument
968 size_t const sizeCheck = fwrite(MNstore, 1, MAGICNUMBER_SIZE, foutput); in LZ4IO_passThrough()
974 storedSkips = LZ4IO_fwriteSparse(foutput, buffer, readBytes, storedSkips); in LZ4IO_passThrough()
978 LZ4IO_fwriteSparseEnd(foutput, storedSkips); in LZ4IO_passThrough()
1001 static unsigned long long selectDecoder(dRess_t ress, FILE* finput, FILE* foutput) in selectDecoder() argument
1027 return LZ4IO_decompressLZ4F(ress, finput, foutput); in selectDecoder()
1030 return LZ4IO_decodeLegacyStream(finput, foutput); in selectDecoder()
1049 return LZ4IO_passThrough(finput, foutput, MNstore); in selectDecoder()
1066 FILE* const foutput = ress.dstFile; in LZ4IO_decompressSrcFile() local
1076 selectDecoder(ress, finput, foutput); in LZ4IO_decompressSrcFile()
1101 FILE* const foutput = LZ4IO_openDstFile(output_filename); in LZ4IO_decompressDstFile() local
1102 if (foutput==NULL) return 1; /* failure */ in LZ4IO_decompressDstFile()
1108 ress.dstFile = foutput; in LZ4IO_decompressDstFile()
1111 fclose(foutput); in LZ4IO_decompressDstFile()