Searched refs:srcFile (Results 1 – 2 of 2) sorted by relevance
/lz4-3.4.0-2.7.6/tests/ |
D | checkFrame.c | 128 int frameCheck(cRess_t ress, FILE* const srcFile, unsigned bsid, size_t blockSize) in frameCheck() argument 143 readSize = fread(ress.srcBuffer, 1, ress.srcBufferSize, srcFile); in frameCheck() 195 if (ferror(srcFile)) EXM_THROW(26, "Read error"); in frameCheck() 283 FILE *srcFile; in main() local 290 srcFile = fopen(argument, "rb"); in main() 291 if ( srcFile==NULL ) { in main() 295 assert (srcFile != NULL); in main() 296 err = frameCheck(ress, srcFile, bsid, blockSize); in main() 298 fclose(srcFile); in main()
|
/lz4-3.4.0-2.7.6/programs/ |
D | lz4io.c | 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 [all …]
|