Lines Matching refs:DISPLAY
75 #define DISPLAY(...) fprintf(displayOut, __VA_ARGS__) macro
76 #define DISPLAYLEVEL(l, ...) if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); }
82 { g_time = clock(); DISPLAY(__VA_ARGS__); \
94 #define DEBUGOUTPUT(...) { if (DEBUG) DISPLAY(__VA_ARGS__); }
415 DISPLAY("ZSTD_decompress_usingDDict() failed on block %u : %s \n", in BMK_benchMem()
539 …DISPLAY("!!! WARNING !!! %14s : Invalid Checksum : %x != %x \n", displayName, (unsigned)crcOrig,… in BMK_benchMem()
544 DISPLAY("Decoding error at pos %u ", (unsigned)u); in BMK_benchMem()
551 DISPLAY("(block %u, sub %u, pos %u) \n", segNb, bNb, pos); in BMK_benchMem()
555 DISPLAY("no difference detected\n"); in BMK_benchMem()
566 …DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s (param=%d)\n", cLevel, (int)cSize, ratio, cSp… in BMK_benchMem()
568 …DISPLAY("-%-3i%11i (%5.3f) %6.2f MB/s %6.1f MB/s %s\n", cLevel, (int)cSize, ratio, cSpeed, dSpeed… in BMK_benchMem()
615 DISPLAY("bench %s %s: input %u bytes, %u seconds, %u KB blocks\n", in BMK_benchCLevel()
621 DISPLAY("benchmarking zstd %s (using ZSTD_CStream)\n", ZSTD_VERSION_STRING); in BMK_benchCLevel()
629 DISPLAY("benchmarking zstd %s (using ZSTD_CCtx)\n", ZSTD_VERSION_STRING); in BMK_benchCLevel()
637 DISPLAY("benchmarking zstd %s (using zlibWrapper)\n", ZSTD_VERSION_STRING); in BMK_benchCLevel()
645 DISPLAY("benchmarking zstd %s (zlibWrapper not reusing a context)\n", ZSTD_VERSION_STRING); in BMK_benchCLevel()
656 DISPLAY("\n"); in BMK_benchCLevel()
657 DISPLAY("benchmarking zlib %s\n", ZLIB_VERSION); in BMK_benchCLevel()
665 DISPLAY("benchmarking zlib %s (zlib not reusing a context)\n", ZLIB_VERSION); in BMK_benchCLevel()
673 DISPLAY("benchmarking zlib %s (using zlibWrapper)\n", ZLIB_VERSION); in BMK_benchCLevel()
681 DISPLAY("benchmarking zlib %s (zlibWrapper not reusing a context)\n", ZLIB_VERSION); in BMK_benchCLevel()
757 DISPLAY("Not enough memory; testing %u MB only...\n", (unsigned)(benchedSize >> 20)); in BMK_benchFileTable()
821 DISPLAY(WELCOME_MESSAGE); in usage()
822 DISPLAY( "Usage :\n"); in usage()
823 DISPLAY( " %s [args] [FILE(s)] [-o file]\n", programName); in usage()
824 DISPLAY( "\n"); in usage()
825 DISPLAY( "FILE : a filename\n"); in usage()
826 DISPLAY( " with no FILE, or when FILE is - , read standard input\n"); in usage()
827 DISPLAY( "Arguments :\n"); in usage()
828 DISPLAY( " -D file: use `file` as Dictionary \n"); in usage()
829 DISPLAY( " -h/-H : display help/long help and exit\n"); in usage()
830 DISPLAY( " -V : display Version number and exit\n"); in usage()
831 …DISPLAY( " -v : verbose mode; specify multiple times to increase log level (default:%d)\n", DE… in usage()
832 DISPLAY( " -q : suppress warnings; specify twice to suppress errors too\n"); in usage()
834 DISPLAY( " -r : operate recursively on directories\n"); in usage()
836 DISPLAY( "\n"); in usage()
837 DISPLAY( "Benchmark arguments :\n"); in usage()
838 …DISPLAY( " -b# : benchmark file(s), using # compression level (default : %d) \n", ZSTDCLI_CLEVE… in usage()
839 …DISPLAY( " -e# : test all compression levels from -bX to # (default: %d)\n", ZSTDCLI_CLEVEL_DEF… in usage()
840 DISPLAY( " -i# : minimum evaluation time in seconds (default : 3s)\n"); in usage()
841 DISPLAY( " -B# : cut file into independent chunks of size # (default: no chunking)\n"); in usage()
855 DISPLAY("Press enter to continue...\n"); in waitEnter()
891 if (filenames==NULL) { DISPLAY("zstd: %s \n", strerror(errno)); exit(1); } in main()
909 …if (!strcmp(argument, "--version")) { displayOut=stdout; DISPLAY(WELCOME_MESSAGE); CLEAN_RETURN(0)… in main()
922 … case 'V': displayOut=stdout; DISPLAY(WELCOME_MESSAGE); CLEAN_RETURN(0); /* Version Only */ in main()