Lines Matching refs:DISPLAY

91 #define DISPLAY(...)         fprintf(g_displayOut, __VA_ARGS__)  macro
92 #define DISPLAYLEVEL(l, ...) { if (g_displayLevel>=l) { DISPLAY(__VA_ARGS__); } }
102 DISPLAY( "Usage : \n"); in usage()
103 DISPLAY( " %s [args] [FILE(s)] [-o file] \n", programName); in usage()
104 DISPLAY( "\n"); in usage()
105 DISPLAY( "FILE : a filename \n"); in usage()
106 DISPLAY( " with no FILE, or when FILE is - , read standard input\n"); in usage()
107 DISPLAY( "Arguments : \n"); in usage()
109 …DISPLAY( " -# : # compression level (1-%d, default: %d) \n", ZSTDCLI_CLEVEL_MAX, ZSTDCLI_CLEVE… in usage()
112 DISPLAY( " -d : decompression \n"); in usage()
114 DISPLAY( " -D file: use `file` as Dictionary \n"); in usage()
115 DISPLAY( " -o file: result stored into `file` (only if 1 input file) \n"); in usage()
116 DISPLAY( " -f : overwrite output without prompting and (de)compress links \n"); in usage()
117 DISPLAY( "--rm : remove source file(s) after successful de/compression \n"); in usage()
118 DISPLAY( " -k : preserve source file(s) (default) \n"); in usage()
119 DISPLAY( " -h/-H : display help/long help and exit \n"); in usage()
125 DISPLAY(WELCOME_MESSAGE); in usage_advanced()
127 DISPLAY( "\n"); in usage_advanced()
128 DISPLAY( "Advanced arguments : \n"); in usage_advanced()
129 DISPLAY( " -V : display Version number and exit \n"); in usage_advanced()
130 DISPLAY( " -v : verbose mode; specify multiple times to increase verbosity\n"); in usage_advanced()
131 DISPLAY( " -q : suppress warnings; specify twice to suppress errors too\n"); in usage_advanced()
132 DISPLAY( " -c : force write to standard output, even if it is the console\n"); in usage_advanced()
133 DISPLAY( " -l : print information about zstd compressed files \n"); in usage_advanced()
135 …DISPLAY( "--ultra : enable levels beyond %i, up to %i (requires more memory)\n", ZSTDCLI_CLEVEL_MA… in usage_advanced()
136 …DISPLAY( "--long[=#]: enable long distance matching with given window log (default: %u)\n", g_defa… in usage_advanced()
137 DISPLAY( "--fast[=#]: switch to ultra fast compression level (default: %u)\n", 1); in usage_advanced()
139 DISPLAY( " -T# : spawns # compression threads (default: 1, 0==# cores) \n"); in usage_advanced()
140 DISPLAY( " -B# : select size of each job (default: 0==automatic) \n"); in usage_advanced()
142 DISPLAY( "--no-dictID : don't write dictID into header (dictionary compression)\n"); in usage_advanced()
143 DISPLAY( "--[no-]check : integrity check (default: enabled) \n"); in usage_advanced()
146 DISPLAY( " -r : operate recursively on directories \n"); in usage_advanced()
149 DISPLAY( "--format=gzip : compress files to the .gz format \n"); in usage_advanced()
152 DISPLAY( "--format=xz : compress files to the .xz format \n"); in usage_advanced()
153 DISPLAY( "--format=lzma : compress files to the .lzma format \n"); in usage_advanced()
156 DISPLAY( "--format=lz4 : compress files to the .lz4 format \n"); in usage_advanced()
159 DISPLAY( "--test : test compressed file integrity \n"); in usage_advanced()
161 DISPLAY( "--[no-]sparse : sparse mode (default: enabled on file, disabled on stdout)\n"); in usage_advanced()
163 DISPLAY( "--[no-]sparse : sparse mode (default: disabled)\n"); in usage_advanced()
166 DISPLAY( " -M# : Set a memory usage limit for decompression \n"); in usage_advanced()
167 DISPLAY( "-- : All arguments after \"--\" are treated as files \n"); in usage_advanced()
169 DISPLAY( "\n"); in usage_advanced()
170 DISPLAY( "Dictionary builder : \n"); in usage_advanced()
171 DISPLAY( "--train ## : create a dictionary from a training set of files \n"); in usage_advanced()
172 DISPLAY( "--train-cover[=k=#,d=#,steps=#] : use the cover algorithm with optional args\n"); in usage_advanced()
173 …DISPLAY( "--train-legacy[=s=#] : use the legacy algorithm with selectivity (default: %u)\n", g_def… in usage_advanced()
174 DISPLAY( " -o file : `file` is dictionary name (default: %s) \n", g_defaultDictName); in usage_advanced()
175 …DISPLAY( "--maxdict=# : limit dictionary to specified size (default: %u) \n", g_defaultMaxDictSize… in usage_advanced()
176 DISPLAY( "--dictID=# : force dictionary ID to specified value (default: random)\n"); in usage_advanced()
179 DISPLAY( "\n"); in usage_advanced()
180 DISPLAY( "Benchmark arguments : \n"); in usage_advanced()
181 …DISPLAY( " -b# : benchmark file(s), using # compression level (default: %d) \n", ZSTDCLI_CLEVEL… in usage_advanced()
182 DISPLAY( " -e# : test all compression levels from -bX to # (default: 1)\n"); in usage_advanced()
183 DISPLAY( " -i# : minimum evaluation time in seconds (default: 3s) \n"); in usage_advanced()
184 DISPLAY( " -B# : cut file into independent blocks of size # (default: no block)\n"); in usage_advanced()
185 DISPLAY( "--priority=rt : set process priority to real-time \n"); in usage_advanced()
200 DISPLAY("Press enter to continue...\n"); in waitEnter()
335 DISPLAY(WELCOME_MESSAGE); in printVersion()
420 if (filenameTable==NULL) { DISPLAY("zstd: %s \n", strerror(errno)); exit(1); } in main()
470 …if (!strcmp(argument, "--version")) { g_displayOut=stdout; DISPLAY(WELCOME_MESSAGE); CLEAN_RETURN(… in main()
568 DISPLAY("error : command must be followed by argument \n"); in main()
733 DISPLAY("error : command must be followed by argument \n"); in main()
778 DISPLAY("file information is not supported \n"); in main()
886 DISPLAY("Compression not supported\n"); in main()
903 DISPLAY("Decompression not supported\n"); in main()