Lines Matching refs:srcFile
666 FILE* const srcFile = LZ4IO_openSrcFile(srcFileName); in LZ4IO_compressFilename_extRess() local
667 if (srcFile == NULL) return 1; in LZ4IO_compressFilename_extRess()
669 if (dstFile == NULL) { fclose(srcFile); return 1; } in LZ4IO_compressFilename_extRess()
681 U64 const fileSize = UTIL_getOpenFileSize(srcFile); in LZ4IO_compressFilename_extRess()
688 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
689 if (ferror(srcFile)) EXM_THROW(30, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
732 readSize = fread(srcBuffer, (size_t)1, (size_t)blockSize, srcFile); in LZ4IO_compressFilename_extRess()
735 if (ferror(srcFile)) EXM_THROW(37, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
747 fclose (srcFile); in LZ4IO_compressFilename_extRess()
1053 FILE* const srcFile, FILE* const dstFile, in LZ4IO_decompressLZ4F() argument
1076 readSize = fread(ress.srcBuffer, 1, nextToLoad, srcFile); in LZ4IO_decompressLZ4F()
1099 if (ferror(srcFile)) EXM_THROW(67, "Read error"); in LZ4IO_decompressLZ4F()