Home
last modified time | relevance | path

Searched refs:finput (Results 1 – 1 of 1) sorted by relevance

/third_party/lz4/programs/
Dlz4io.c409 FILE* const finput = LZ4IO_openSrcFile(input_filename); in LZ4IO_compressFilename_Legacy() local
415 if (finput == NULL) in LZ4IO_compressFilename_Legacy()
420 fclose(finput); in LZ4IO_compressFilename_Legacy()
439 size_t const inSize = fread(in_buff, (size_t)1, (size_t)LEGACY_BLOCKSIZE, finput); in LZ4IO_compressFilename_Legacy()
458 if (ferror(finput)) EXM_THROW(25, "Error while reading %s ", input_filename); in LZ4IO_compressFilename_Legacy()
475 fclose(finput); in LZ4IO_compressFilename_Legacy()
947 static unsigned long long LZ4IO_decodeLegacyStream(FILE* finput, FILE* foutput, const LZ4IO_prefs_t… in LZ4IO_decodeLegacyStream() argument
962 { size_t const sizeCheck = fread(in_buff, 1, 4, finput); in LZ4IO_decodeLegacyStream()
973 { size_t const sizeCheck = fread(in_buff, 1, blockSize, finput); in LZ4IO_decodeLegacyStream()
983 if (ferror(finput)) EXM_THROW(54, "Read error : ferror"); in LZ4IO_decodeLegacyStream()
[all …]