Lines Matching refs:srcFile
441 FILE* srcFile; in LZ4IO_compressFilename_extRess() local
452 srcFile = LZ4IO_openSrcFile(srcFileName); in LZ4IO_compressFilename_extRess()
453 if (srcFile == NULL) return 1; in LZ4IO_compressFilename_extRess()
455 if (dstFile == NULL) { fclose(srcFile); return 1; } in LZ4IO_compressFilename_extRess()
473 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
474 if (ferror(srcFile)) EXM_THROW(30, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
517 readSize = fread(srcBuffer, (size_t)1, (size_t)blockSize, srcFile); in LZ4IO_compressFilename_extRess()
520 if (ferror(srcFile)) EXM_THROW(37, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
532 fclose (srcFile); in LZ4IO_compressFilename_extRess()
788 static unsigned long long LZ4IO_decompressLZ4F(dRess_t ress, FILE* srcFile, FILE* dstFile) in LZ4IO_decompressLZ4F() argument
810 readSize = fread(ress.srcBuffer, 1, nextToLoad, srcFile); in LZ4IO_decompressLZ4F()
833 if (ferror(srcFile)) EXM_THROW(67, "Read error"); in LZ4IO_decompressLZ4F()