Lines Matching refs:srcFileName
310 static FILE* LZ4IO_openSrcFile(const char* srcFileName) in LZ4IO_openSrcFile() argument
314 if (!strcmp (srcFileName, stdinmark)) { in LZ4IO_openSrcFile()
319 f = fopen(srcFileName, "rb"); in LZ4IO_openSrcFile()
320 if ( f==NULL ) DISPLAYLEVEL(1, "%s: %s \n", srcFileName, strerror(errno)); in LZ4IO_openSrcFile()
602 const char* srcFileName, const char* dstFileName, in LZ4IO_compressFilename_extRess() argument
618 srcFile = LZ4IO_openSrcFile(srcFileName); in LZ4IO_compressFilename_extRess()
634 U64 const fileSize = UTIL_getFileSize(srcFileName); in LZ4IO_compressFilename_extRess()
642 if (ferror(srcFile)) EXM_THROW(30, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
688 if (ferror(srcFile)) EXM_THROW(37, "Error reading %s ", srcFileName); in LZ4IO_compressFilename_extRess()
705 if (strcmp (srcFileName, stdinmark) in LZ4IO_compressFilename_extRess()
708 && UTIL_getFileStat(srcFileName, &statbuf)) { in LZ4IO_compressFilename_extRess()
713 if (remove(srcFileName)) in LZ4IO_compressFilename_extRess()
714 EXM_THROW(40, "Remove error : %s: %s", srcFileName, strerror(errno)); in LZ4IO_compressFilename_extRess()
727 int LZ4IO_compressFilename(LZ4IO_prefs_t* const prefs, const char* srcFileName, const char* dstFile… in LZ4IO_compressFilename() argument
733 …int const result = LZ4IO_compressFilename_extRess(prefs, ress, srcFileName, dstFileName, compressi… in LZ4IO_compressFilename()