Lines Matching +full:ultra +full:- +full:fast
5 * This source code is licensed under both the BSD-style license (found in the
8 * You may select, at your option, one of the above-listed licenses.
12 /*-************************************
20 # define ZSTDCLI_CLEVEL_MAX 19 /* without using --ultra */
27 /*-************************************
51 /*-************************************
59 #define WELCOME_MESSAGE "*** %s %i-bits %s, by %s ***\n", COMPRESSOR_NAME, (int)(sizeof(size_t)*8),…
99 /*-************************************
109 /*-************************************
120 DISPLAYLEVEL(1, "Please update library to version %s, or use stand-alone zstd binary \n", in checkLibVersion()
127 /*-************************************
137 DISPLAY_F(f, " %s [args] [FILE(s)] [-o file] \n", programName); in usage()
140 DISPLAY_F(f, " with no FILE, or when FILE is - , read standard input\n"); in usage()
143 …DISPLAY_F(f, " -# : # compression level (1-%d, default: %d) \n", ZSTDCLI_CLEVEL_MAX, ZSTDCLI_C… in usage()
146 DISPLAY_F(f, " -d : decompression \n"); in usage()
148 DISPLAY_F(f, " -D DICT: use DICT as Dictionary for compression or decompression \n"); in usage()
149 DISPLAY_F(f, " -o file: result stored into `file` (only 1 output file) \n"); in usage()
150 DISPLAY_F(f, " -f : disable input and output checks. Allows overwriting existing files,\n"); in usage()
153 DISPLAY_F(f, "--rm : remove source file(s) after successful de/compression \n"); in usage()
154 DISPLAY_F(f, " -k : preserve source file(s) (default) \n"); in usage()
155 DISPLAY_F(f, " -h/-H : display help/long help and exit \n"); in usage()
164 DISPLAYOUT( " -V : display Version number and exit \n"); in usage_advanced()
166 DISPLAYOUT( " -c : write to standard output (even if it is the console) \n"); in usage_advanced()
168 DISPLAYOUT( " -v : verbose mode; specify multiple times to increase verbosity \n"); in usage_advanced()
169 DISPLAYOUT( " -q : suppress warnings; specify twice to suppress errors too \n"); in usage_advanced()
170 DISPLAYOUT( "--[no-]progress : forcibly display, or never display the progress counter.\n"); in usage_advanced()
174 DISPLAYOUT( " -r : operate recursively on directories \n"); in usage_advanced()
175 DISPLAYOUT( "--filelist FILE : read list of files to operate upon from FILE \n"); in usage_advanced()
176 DISPLAYOUT( "--output-dir-flat DIR : processed files are stored into DIR \n"); in usage_advanced()
180 …DISPLAYOUT( "--output-dir-mirror DIR : processed files are stored into DIR respecting original dir… in usage_advanced()
185 …DISPLAYOUT( "--[no-]check : during compression, add XXH64 integrity checksum to frame (default: en… in usage_advanced()
187 …DISPLAYOUT( ". If specified with -d, decompressor will ignore/validate checksums in compressed fra… in usage_advanced()
191 …DISPLAYOUT( "--[no-]check : during decompression, ignore/validate checksums in compressed frame (d… in usage_advanced()
197 DISPLAYOUT( "--trace FILE : log tracing information to FILE."); in usage_advanced()
201 DISPLAYOUT( "-- : All arguments after \"--\" are treated as files \n"); in usage_advanced()
206 …DISPLAYOUT( "--ultra : enable levels beyond %i, up to %i (requires more memory) \n", ZSTDCLI_CLEVE… in usage_advanced()
207 …DISPLAYOUT( "--long[=#]: enable long distance matching with given window log (default: %u) \n", g_… in usage_advanced()
208 DISPLAYOUT( "--fast[=#]: switch to very fast compression levels (default: %u) \n", 1); in usage_advanced()
209 DISPLAYOUT( "--adapt : dynamically adapt compression level to I/O conditions \n"); in usage_advanced()
210 …DISPLAYOUT( "--[no-]row-match-finder : force enable/disable usage of fast row-based matchfinder fo… in usage_advanced()
211 …DISPLAYOUT( "--patch-from=FILE : specify the file to be used as a reference point for zstd's diff … in usage_advanced()
213 DISPLAYOUT( " -T# : spawns # compression threads (default: 1, 0==# cores) \n"); in usage_advanced()
214 DISPLAYOUT( " -B# : select size of each job (default: 0==automatic) \n"); in usage_advanced()
215 …DISPLAYOUT( "--single-thread : use a single thread for both I/O and compression (result slightly d… in usage_advanced()
216 …DISPLAYOUT( "--auto-threads={physical,logical} (default: physical} : use either physical cores or … in usage_advanced()
217 DISPLAYOUT( "--rsyncable : compress using a rsync-friendly method (-B sets block size) \n"); in usage_advanced()
219 DISPLAYOUT( "--exclude-compressed: only compress files that are not already compressed \n"); in usage_advanced()
220 DISPLAYOUT( "--stream-size=# : specify size of streaming input from `stdin` \n"); in usage_advanced()
221 …DISPLAYOUT( "--size-hint=# optimize compression parameters for streaming input of approximately th… in usage_advanced()
222 …DISPLAYOUT( "--target-compressed-block-size=# : generate compressed block of approximately targete… in usage_advanced()
223 DISPLAYOUT( "--no-dictID : don't write dictID into header (dictionary compression only) \n"); in usage_advanced()
224 DISPLAYOUT( "--[no-]compress-literals : force (un)compressed literals \n"); in usage_advanced()
226 DISPLAYOUT( "--format=zstd : compress files to the .zst format (default) \n"); in usage_advanced()
228 DISPLAYOUT( "--format=gzip : compress files to the .gz format \n"); in usage_advanced()
231 DISPLAYOUT( "--format=xz : compress files to the .xz format \n"); in usage_advanced()
232 DISPLAYOUT( "--format=lzma : compress files to the .lzma format \n"); in usage_advanced()
235 DISPLAYOUT( "--format=lz4 : compress files to the .lz4 format \n"); in usage_advanced()
242 DISPLAYOUT( " -l : print information about zstd compressed files \n"); in usage_advanced()
243 DISPLAYOUT( "--test : test compressed file integrity \n"); in usage_advanced()
244 DISPLAYOUT( " -M# : Set a memory usage limit for decompression \n"); in usage_advanced()
246 DISPLAYOUT( "--[no-]sparse : sparse mode (default: enabled on file, disabled on stdout) \n"); in usage_advanced()
248 DISPLAYOUT( "--[no-]sparse : sparse mode (default: disabled) \n"); in usage_advanced()
255 DISPLAYOUT( "--train ## : create a dictionary from a training set of files \n"); in usage_advanced()
256 …DISPLAYOUT( "--train-cover[=k=#,d=#,steps=#,split=#,shrink[=#]] : use the cover algorithm with opt… in usage_advanced()
257 …DISPLAYOUT( "--train-fastcover[=k=#,d=#,f=#,steps=#,split=#,accel=#,shrink[=#]] : use the fast cov… in usage_advanced()
258 …DISPLAYOUT( "--train-legacy[=s=#] : use the legacy algorithm with selectivity (default: %u) \n", g… in usage_advanced()
259 DISPLAYOUT( " -o DICT : DICT is dictionary name (default: %s) \n", g_defaultDictName); in usage_advanced()
260 …DISPLAYOUT( "--maxdict=# : limit dictionary to specified size (default: %u) \n", g_defaultMaxDictS… in usage_advanced()
261 DISPLAYOUT( "--dictID=# : force dictionary ID to specified value (default: random) \n"); in usage_advanced()
267 …DISPLAYOUT( " -b# : benchmark file(s), using # compression level (default: %d) \n", ZSTDCLI_CLE… in usage_advanced()
268 … DISPLAYOUT( " -e# : test all compression levels successively from -b# to -e# (default: 1) \n"); in usage_advanced()
269 DISPLAYOUT( " -i# : minimum evaluation time in seconds (default: 3s) \n"); in usage_advanced()
270 DISPLAYOUT( " -B# : cut file into independent blocks of size # (default: no block) \n"); in usage_advanced()
271 …DISPLAYOUT( " -S : output one benchmark result per input file (default: consolidated result) \… in usage_advanced()
272 DISPLAYOUT( "--priority=rt : set process priority to real-time \n"); in usage_advanced()
300 @return : a non-zero value if exeName matches test, excluding the extension
322 unsigned const max = ((unsigned)(-1)) / 10; in readU32FromCharChecked()
326 result += (unsigned)(**stringPtr - '0'); in readU32FromCharChecked()
331 unsigned const maxK = ((unsigned)(-1)) >> 10; in readU32FromCharChecked()
352 static const char errorMsg[] = "error: numeric value overflows 32-bit unsigned int"; in readU32FromChar()
364 static const char errorMsg[] = "error: numeric value overflows 32-bit int"; in readIntFromChar()
367 if (**stringPtr=='-') { in readIntFromChar()
369 sign = -1; in readIntFromChar()
384 size_t const max = ((size_t)(-1)) / 10; in readSizeTFromCharChecked()
388 result += (size_t)(**stringPtr - '0'); in readSizeTFromCharChecked()
393 size_t const maxK = ((size_t)(-1)) >> 10; in readSizeTFromCharChecked()
439 * reads cover parameters from *stringPtr (e.g. "--train-cover=k=48,d=8,steps=32") into *params
447 …if (longCommandWArg(&stringPtr, "k=")) { params->k = readU32FromChar(&stringPtr); if (stringPtr[0]… in parseCoverParameters()
448 …if (longCommandWArg(&stringPtr, "d=")) { params->d = readU32FromChar(&stringPtr); if (stringPtr[0]… in parseCoverParameters()
449 …if (longCommandWArg(&stringPtr, "steps=")) { params->steps = readU32FromChar(&stringPtr); if (stri… in parseCoverParameters()
452 params->splitPoint = (double)splitPercentage / 100.0; in parseCoverParameters()
456 params->shrinkDictMaxRegression = kDefaultRegression; in parseCoverParameters()
457 params->shrinkDict = 1; in parseCoverParameters()
460 params->shrinkDictMaxRegression = readU32FromChar(&stringPtr); in parseCoverParameters()
471 …teps=%u\nsplit=%u\nshrink%u\n", params->k, params->d, params->steps, (unsigned)(params->splitPoint… in parseCoverParameters()
477 …* reads fastcover parameters from *stringPtr (e.g. "--train-fastcover=k=48,d=8,f=20,steps=32,accel…
485 …if (longCommandWArg(&stringPtr, "k=")) { params->k = readU32FromChar(&stringPtr); if (stringPtr[0]… in parseFastCoverParameters()
486 …if (longCommandWArg(&stringPtr, "d=")) { params->d = readU32FromChar(&stringPtr); if (stringPtr[0]… in parseFastCoverParameters()
487 …if (longCommandWArg(&stringPtr, "f=")) { params->f = readU32FromChar(&stringPtr); if (stringPtr[0]… in parseFastCoverParameters()
488 …if (longCommandWArg(&stringPtr, "steps=")) { params->steps = readU32FromChar(&stringPtr); if (stri… in parseFastCoverParameters()
489 …if (longCommandWArg(&stringPtr, "accel=")) { params->accel = readU32FromChar(&stringPtr); if (stri… in parseFastCoverParameters()
492 params->splitPoint = (double)splitPercentage / 100.0; in parseFastCoverParameters()
496 params->shrinkDictMaxRegression = kDefaultRegression; in parseFastCoverParameters()
497 params->shrinkDict = 1; in parseFastCoverParameters()
500 params->shrinkDictMaxRegression = readU32FromChar(&stringPtr); in parseFastCoverParameters()
511 …=%u\nshrink=%u\n", params->k, params->d, params->f, params->steps, (unsigned)(params->splitPoint *… in parseFastCoverParameters()
517 …* reads legacy dictionary builder parameters from *stringPtr (e.g. "--train-legacy=selectivity=8")…
559 …* reads adapt parameters from *stringPtr (e.g. "--zstd=min=1,max=19) and store them into adaptMin…
583 …* reads compression parameters from *stringPtr (e.g. "--zstd=wlog=23,clog=23,hlog=22,slog=6,mml=3…
590 …(&stringPtr, "windowLog=") || longCommandWArg(&stringPtr, "wlog=")) { params->windowLog = readU32F… in parseCompressionParameters()
591 …g(&stringPtr, "chainLog=") || longCommandWArg(&stringPtr, "clog=")) { params->chainLog = readU32Fr… in parseCompressionParameters()
592 …rg(&stringPtr, "hashLog=") || longCommandWArg(&stringPtr, "hlog=")) { params->hashLog = readU32Fro… in parseCompressionParameters()
593 …(&stringPtr, "searchLog=") || longCommandWArg(&stringPtr, "slog=")) { params->searchLog = readU32F… in parseCompressionParameters()
594 …rg(&stringPtr, "minMatch=") || longCommandWArg(&stringPtr, "mml=")) { params->minMatch = readU32Fr… in parseCompressionParameters()
595 …tringPtr, "targetLength=") || longCommandWArg(&stringPtr, "tlen=")) { params->targetLength = readU… in parseCompressionParameters()
596 …(&stringPtr, "strategy=") || longCommandWArg(&stringPtr, "strat=")) { params->strategy = (ZSTD_str… in parseCompressionParameters()
606 …chainLog=%d, hashLog=%d, searchLog=%d \n", params->windowLog, params->chainLog, params->hashLog, p… in parseCompressionParameters()
607 …, "minMatch=%d, targetLength=%d, strategy=%d \n", params->minMatch, params->targetLength, params->… in parseCompressionParameters()
663 DISPLAY(" - windowLog : %u\n", cParams.windowLog); in printDefaultCParams()
664 DISPLAY(" - chainLog : %u\n", cParams.chainLog); in printDefaultCParams()
665 DISPLAY(" - hashLog : %u\n", cParams.hashLog); in printDefaultCParams()
666 DISPLAY(" - searchLog : %u\n", cParams.searchLog); in printDefaultCParams()
667 DISPLAY(" - minMatch : %u\n", cParams.minMatch); in printDefaultCParams()
668 DISPLAY(" - targetLength : %u\n", cParams.targetLength); in printDefaultCParams()
670 …DISPLAY(" - strategy : %s (%u)\n", ZSTD_strategyMap[(int)cParams.strategy], (unsigned)cParams… in printDefaultCParams()
678 … actualCParams.windowLog = cParams->windowLog == 0 ? actualCParams.windowLog : cParams->windowLog; in printActualCParams()
679 actualCParams.chainLog = cParams->chainLog == 0 ? actualCParams.chainLog : cParams->chainLog; in printActualCParams()
680 actualCParams.hashLog = cParams->hashLog == 0 ? actualCParams.hashLog : cParams->hashLog; in printActualCParams()
681 … actualCParams.searchLog = cParams->searchLog == 0 ? actualCParams.searchLog : cParams->searchLog; in printActualCParams()
682 actualCParams.minMatch = cParams->minMatch == 0 ? actualCParams.minMatch : cParams->minMatch; in printActualCParams()
683 …actualCParams.targetLength = cParams->targetLength == 0 ? actualCParams.targetLength : cParams->ta… in printActualCParams()
684 actualCParams.strategy = cParams->strategy == 0 ? actualCParams.strategy : cParams->strategy; in printActualCParams()
685 DISPLAY("--zstd=wlog=%d,clog=%d,hlog=%d,slog=%d,mml=%d,tlen=%d,strat=%d\n", in printActualCParams()
694 #define ENV_NBTHREADS "ZSTD_NBTHREADS" /* takes lower precedence than directly specifying -T# in…
702 if (*ptr == '-') { in init_cLevel()
703 sign = -1; in init_cLevel()
757 if (ptr[0]=='-') { \
774 # define MINCLEVEL -99
806 ultra=0, in main() local
817 int cLevelLast = MINCLEVEL - 1; /* lower than minimum */ in main()
887 /* "-" means stdin/stdout */ in main()
888 if (!strcmp(argument, "-")){ in main()
894 if (argument[0]=='-') { in main()
896 if (argument[1]=='-') { in main()
897 /* long commands (--long-word) */ in main()
898 …if (!strcmp(argument, "--")) { nextArgumentsAreFiles=1; continue; } /* only file names allowed f… in main()
899 if (!strcmp(argument, "--list")) { operation=zom_list; continue; } in main()
900 if (!strcmp(argument, "--compress")) { operation=zom_compress; continue; } in main()
901 if (!strcmp(argument, "--decompress")) { operation=zom_decompress; continue; } in main()
902 if (!strcmp(argument, "--uncompress")) { operation=zom_decompress; continue; } in main()
903 …if (!strcmp(argument, "--force")) { FIO_overwriteMode(prefs); forceStdin=1; forceStdout=1; followL… in main()
904 if (!strcmp(argument, "--version")) { printVersion(); CLEAN_RETURN(0); } in main()
905 if (!strcmp(argument, "--help")) { usage_advanced(programName); CLEAN_RETURN(0); } in main()
906 if (!strcmp(argument, "--verbose")) { g_displayLevel++; continue; } in main()
907 if (!strcmp(argument, "--quiet")) { g_displayLevel--; continue; } in main()
908 …if (!strcmp(argument, "--stdout")) { forceStdout=1; outFileName=stdoutmark; g_displayLevel-=(g_dis… in main()
909 if (!strcmp(argument, "--ultra")) { ultra=1; continue; } in main()
910 if (!strcmp(argument, "--check")) { FIO_setChecksumFlag(prefs, 2); continue; } in main()
911 if (!strcmp(argument, "--no-check")) { FIO_setChecksumFlag(prefs, 0); continue; } in main()
912 if (!strcmp(argument, "--sparse")) { FIO_setSparseWrite(prefs, 2); continue; } in main()
913 if (!strcmp(argument, "--no-sparse")) { FIO_setSparseWrite(prefs, 0); continue; } in main()
914 if (!strcmp(argument, "--test")) { operation=zom_test; continue; } in main()
915 …if (!strcmp(argument, "--train")) { operation=zom_train; if (outFileName==NULL) outFileName=g_defa… in main()
916 if (!strcmp(argument, "--no-dictID")) { FIO_setDictIDFlag(prefs, 0); continue; } in main()
917 if (!strcmp(argument, "--keep")) { FIO_setRemoveSrcFile(prefs, 0); continue; } in main()
918 if (!strcmp(argument, "--rm")) { FIO_setRemoveSrcFile(prefs, 1); continue; } in main()
919 if (!strcmp(argument, "--priority=rt")) { setRealTimePrio = 1; continue; } in main()
920 … if (!strcmp(argument, "--show-default-cparams")) { showDefaultCParams = 1; continue; } in main()
921 if (!strcmp(argument, "--content-size")) { contentSize = 1; continue; } in main()
922 if (!strcmp(argument, "--no-content-size")) { contentSize = 0; continue; } in main()
923 if (!strcmp(argument, "--adapt")) { adapt = 1; continue; } in main()
924 if (!strcmp(argument, "--no-row-match-finder")) { useRowMatchFinder = 1; continue; } in main()
925 if (!strcmp(argument, "--row-match-finder")) { useRowMatchFinder = 2; continue; } in main()
926 …if (longCommandWArg(&argument, "--adapt=")) { adapt = 1; if (!parseAdaptParameters(argument, &adap… in main()
927 … if (!strcmp(argument, "--single-thread")) { nbWorkers = 0; singleThread = 1; continue; } in main()
928 …if (!strcmp(argument, "--format=zstd")) { suffix = ZSTD_EXTENSION; FIO_setCompressionType(prefs, F… in main()
930 …if (!strcmp(argument, "--format=gzip")) { suffix = GZ_EXTENSION; FIO_setCompressionType(prefs, FIO… in main()
933 …if (!strcmp(argument, "--format=lzma")) { suffix = LZMA_EXTENSION; FIO_setCompressionType(prefs, F… in main()
934 …if (!strcmp(argument, "--format=xz")) { suffix = XZ_EXTENSION; FIO_setCompressionType(prefs, FIO_x… in main()
937 …if (!strcmp(argument, "--format=lz4")) { suffix = LZ4_EXTENSION; FIO_setCompressionType(prefs, FIO… in main()
939 if (!strcmp(argument, "--rsyncable")) { rsyncable = 1; continue; } in main()
940 …if (!strcmp(argument, "--compress-literals")) { literalCompressionMode = ZSTD_ps_enable; continue;… in main()
941 …if (!strcmp(argument, "--no-compress-literals")) { literalCompressionMode = ZSTD_ps_disable; conti… in main()
942 … if (!strcmp(argument, "--no-progress")) { FIO_setProgressSetting(FIO_ps_never); continue; } in main()
943 … if (!strcmp(argument, "--progress")) { FIO_setProgressSetting(FIO_ps_always); continue; } in main()
944 …if (!strcmp(argument, "--exclude-compressed")) { FIO_setExcludeCompressedFile(prefs, 1); continue;… in main()
948 if (longCommandWArg(&argument, "--train-cover")) { in main()
959 if (longCommandWArg(&argument, "--train-fastcover")) { in main()
970 if (longCommandWArg(&argument, "--train-legacy")) { in main()
982 if (longCommandWArg(&argument, "--threads")) { NEXT_UINT32(nbWorkers); continue; } in main()
983 if (longCommandWArg(&argument, "--memlimit")) { NEXT_UINT32(memLimit); continue; } in main()
984 if (longCommandWArg(&argument, "--memory")) { NEXT_UINT32(memLimit); continue; } in main()
985 … if (longCommandWArg(&argument, "--memlimit-decompress")) { NEXT_UINT32(memLimit); continue; } in main()
986 …if (longCommandWArg(&argument, "--block-size=")) { blockSize = readSizeTFromChar(&argument); conti… in main()
987 if (longCommandWArg(&argument, "--maxdict")) { NEXT_UINT32(maxDictSize); continue; } in main()
988 if (longCommandWArg(&argument, "--dictID")) { NEXT_UINT32(dictID); continue; } in main()
989 …if (longCommandWArg(&argument, "--zstd=")) { if (!parseCompressionParameters(argument, &compressio… in main()
990 …if (longCommandWArg(&argument, "--stream-size=")) { streamSrcSize = readSizeTFromChar(&argument); … in main()
991 …if (longCommandWArg(&argument, "--target-compressed-block-size=")) { targetCBlockSize = readSizeTF… in main()
992 …if (longCommandWArg(&argument, "--size-hint=")) { srcSizeHint = readSizeTFromChar(&argument); cont… in main()
993 … if (longCommandWArg(&argument, "--output-dir-flat")) { NEXT_FIELD(outDirName); continue; } in main()
995 if (longCommandWArg(&argument, "--auto-threads")) { in main()
1004 …if (longCommandWArg(&argument, "--output-dir-mirror")) { NEXT_FIELD(outMirroredDirName); continue;… in main()
1007 …if (longCommandWArg(&argument, "--trace")) { char const* traceFile; NEXT_FIELD(traceFile); TRACE_e… in main()
1009 … if (longCommandWArg(&argument, "--patch-from")) { NEXT_FIELD(patchFromDictFileName); continue; } in main()
1010 if (longCommandWArg(&argument, "--long")) { in main()
1018 /* Invalid character following --long */ in main()
1022 /* Only set windowLog if not already set by --zstd */ in main()
1028 if (longCommandWArg(&argument, "--fast")) { in main()
1031 U32 const maxFast = (U32)-ZSTD_minCLevel(); in main()
1037 dictCLevel = cLevel = -(int)fastLevel; in main()
1043 /* Invalid character following --fast */ in main()
1047 cLevel = -1; /* default for --fast */ in main()
1053 if (longCommandWArg(&argument, "--filelist")) { in main()
1060 /* fall-through, will trigger bad_usage() later on */ in main()
1105 case 'q': g_displayLevel--; argument++; break; in main()
1176 /* Pause at the end (-p) or set an additional param (-p#) (hidden option) */ in main()
1197 } /* if (argument[0]=='-') */ in main()
1226 unsigned const nbFilenames = (unsigned)filenames->tableSize; in main()
1228 if ( UTIL_isLink(filenames->fileNames[u]) in main()
1229 && !UTIL_isFIFO(filenames->fileNames[u]) in main()
1231 … DISPLAYLEVEL(2, "Warning : %s is a symbolic link, ignoring \n", filenames->fileNames[u]); in main()
1233 filenames->fileNames[fileNamesNb++] = filenames->fileNames[u]; in main()
1237 filenames->tableSize = fileNamesNb; in main()
1241 if (file_of_names->tableSize) { in main()
1242 size_t const nbFileLists = file_of_names->tableSize; in main()
1245 …FileNamesTable* const fnt = UTIL_createFileNamesTable_fromFileName(file_of_names->fileNames[flNb]); in main()
1247 DISPLAYLEVEL(1, "zstd: error reading %s \n", file_of_names->fileNames[flNb]); in main()
1263 …int const ret = FIO_listMultipleFiles((unsigned)filenames->tableSize, filenames->fileNames, g_disp… in main()
1295 if (filenames->tableSize > 0) { in main()
1298 for(i = 0; i < filenames->tableSize; i++) { in main()
1300 DISPLAYLEVEL(3, "Benchmarking %s \n", filenames->fileNames[i]); in main()
1302 …BMK_benchFilesAdvanced(&filenames->fileNames[i], 1, dictFileName, c, &compressionParams, g_display… in main()
1306 …BMK_benchFilesAdvanced(filenames->fileNames, (unsigned)filenames->tableSize, dictFileName, cLevel,… in main()
1330 …esult = DiB_trainFromFiles(outFileName, maxDictSize, filenames->fileNames, (int)filenames->tableSi… in main()
1335 …esult = DiB_trainFromFiles(outFileName, maxDictSize, filenames->fileNames, (int)filenames->tableSi… in main()
1341 …esult = DiB_trainFromFiles(outFileName, maxDictSize, filenames->fileNames, (int)filenames->tableSi… in main()
1356 if (filenames->tableSize == 0) UTIL_refFilename(filenames, stdinmark); in main()
1357 if (!strcmp(filenames->fileNames[0], stdinmark) && !outFileName) in main()
1362 && !strcmp(filenames->fileNames[0], stdinmark) in main()
1369 && !strcmp(filenames->fileNames[0], stdinmark) in main()
1378 { int const maxCLevel = ultra ? ZSTD_maxCLevel() : ZSTDCLI_CLEVEL_MAX; in main()
1387 DISPLAY("error : can't use --show-default-cparams in decomrpession mode \n"); in main()
1393 DISPLAY("error : can't use -D and --patch-from=# at the same time \n"); in main()
1397 if (patchFromDictFileName != NULL && filenames->tableSize > 1) { in main()
1398 DISPLAY("error : can't use --patch-from=# on multiple files \n"); in main()
1402 /* No status message in pipe mode (stdin - stdout) */ in main()
1409 FIO_setNbFilesTotal(fCtx, (int)filenames->tableSize); in main()
1453 for (fileNb = 0; fileNb < (size_t)filenames->tableSize; fileNb++) { in main()
1455 printDefaultCParams(filenames->fileNames[fileNb], dictFileName, cLevel); in main()
1457 … printActualCParams(filenames->fileNames[fileNb], dictFileName, cLevel, &compressionParams); in main()
1463 if ((filenames->tableSize==1) && outFileName) in main()
1464 …operationResult = FIO_compressFilename(fCtx, prefs, outFileName, filenames->fileNames[0], dictFile… in main()
1466 …operationResult = FIO_compressMultipleFilenames(fCtx, prefs, filenames->fileNames, outMirroredDirN… in main()
1468 …(void)contentSize; (void)suffix; (void)adapt; (void)rsyncable; (void)ultra; (void)cLevel; (void)ld… in main()
1473 if (filenames->tableSize == 1 && outFileName) { in main()
1474 …operationResult = FIO_decompressFilename(fCtx, prefs, outFileName, filenames->fileNames[0], dictFi… in main()
1476 …operationResult = FIO_decompressMultipleFilenames(fCtx, prefs, filenames->fileNames, outMirroredDi… in main()