• Home
  • Raw
  • Download

Lines Matching refs:DISPLAY

70 #define DISPLAY(...)           fprintf(stderr, __VA_ARGS__)  macro
71 #define DISPLAYLEVEL(l, ...) if (displayLevel>=l) { DISPLAY(__VA_ARGS__); }
79 #define DEBUGOUTPUT(...) if (DEBUG) DISPLAY(__VA_ARGS__);
103 DISPLAY( "Usage : \n"); in usage()
104 DISPLAY( " %s [arg] [input] [output] \n", exeName); in usage()
105 DISPLAY( "\n"); in usage()
106 DISPLAY( "input : a filename \n"); in usage()
107 DISPLAY( " with no FILE, or when FILE is - or %s, read standard input\n", stdinmark); in usage()
108 DISPLAY( "Arguments : \n"); in usage()
109 DISPLAY( " -1 : Fast compression (default) \n"); in usage()
110 DISPLAY( " -9 : High compression \n"); in usage()
111 DISPLAY( " -d : decompression (default for %s extension)\n", LZ4_EXTENSION); in usage()
112 DISPLAY( " -z : force compression \n"); in usage()
113 DISPLAY( " -D FILE: use FILE as dictionary \n"); in usage()
114 DISPLAY( " -f : overwrite output without prompting \n"); in usage()
115 DISPLAY( " -k : preserve source files(s) (default) \n"); in usage()
116 DISPLAY( "--rm : remove source file(s) after successful de/compression \n"); in usage()
117 DISPLAY( " -h/-H : display help/long help and exit \n"); in usage()
123 DISPLAY(WELCOME_MESSAGE); in usage_advanced()
125 DISPLAY( "\n"); in usage_advanced()
126 DISPLAY( "Advanced arguments :\n"); in usage_advanced()
127 DISPLAY( " -V : display Version number and exit \n"); in usage_advanced()
128 DISPLAY( " -v : verbose mode \n"); in usage_advanced()
129 DISPLAY( " -q : suppress warnings; specify twice to suppress errors too\n"); in usage_advanced()
130 DISPLAY( " -c : force write to standard output, even if it is the console\n"); in usage_advanced()
131 DISPLAY( " -t : test compressed file integrity\n"); in usage_advanced()
132 DISPLAY( " -m : multiple input files (implies automatic output filenames)\n"); in usage_advanced()
134 DISPLAY( " -r : operate recursively on directories (sets also -m) \n"); in usage_advanced()
136 DISPLAY( " -l : compress using Legacy format (Linux kernel compression)\n"); in usage_advanced()
137 DISPLAY( " -B# : Block size [4-7] (default : 7) \n"); in usage_advanced()
138 DISPLAY( " -BD : Block dependency (improve compression ratio) \n"); in usage_advanced()
139 DISPLAY( " -BX : enable block checksum (default:disabled) \n"); in usage_advanced()
140 DISPLAY( "--no-frame-crc : disable stream checksum (default:enabled) \n"); in usage_advanced()
141 DISPLAY( "--content-size : compressed frame includes original size (default:not present)\n"); in usage_advanced()
142 DISPLAY( "--[no-]sparse : sparse mode (default:enabled on file, disabled on stdout)\n"); in usage_advanced()
143 DISPLAY( "--favor-decSpeed: compressed files decompress faster, but are less compressed \n"); in usage_advanced()
144 DISPLAY( "--fast[=#]: switch to ultra fast compression level (default: %u)\n", 1); in usage_advanced()
145 DISPLAY( "Benchmark arguments : \n"); in usage_advanced()
146 DISPLAY( " -b# : benchmark file(s), using # compression level (default : 1) \n"); in usage_advanced()
147 DISPLAY( " -e# : test all compression levels from -bX to # (default : 1)\n"); in usage_advanced()
148 DISPLAY( " -i# : minimum evaluation time in seconds (default : 3s) \n"); in usage_advanced()
149 DISPLAY( " -B# : cut file into independent blocks of size # bytes [32+] \n"); in usage_advanced()
150 DISPLAY( " or predefined block size [4-7] (default: 7) \n"); in usage_advanced()
152 DISPLAY( "Legacy arguments : \n"); in usage_advanced()
153 DISPLAY( " -c0 : fast compression \n"); in usage_advanced()
154 DISPLAY( " -c1 : high compression \n"); in usage_advanced()
155 DISPLAY( " -c2,-hc: very high compression \n"); in usage_advanced()
156 DISPLAY( " -y : overwrite output without prompting \n"); in usage_advanced()
164 DISPLAY( "\n"); in usage_longhelp()
165 DISPLAY( "****************************\n"); in usage_longhelp()
166 DISPLAY( "***** Advanced comment *****\n"); in usage_longhelp()
167 DISPLAY( "****************************\n"); in usage_longhelp()
168 DISPLAY( "\n"); in usage_longhelp()
169 DISPLAY( "Which values can [output] have ? \n"); in usage_longhelp()
170 DISPLAY( "---------------------------------\n"); in usage_longhelp()
171 DISPLAY( "[output] : a filename \n"); in usage_longhelp()
172 DISPLAY( " '%s', or '-' for standard output (pipe mode)\n", stdoutmark); in usage_longhelp()
173 DISPLAY( " '%s' to discard output (test mode) \n", NULL_OUTPUT); in usage_longhelp()
174 DISPLAY( "[output] can be left empty. In this case, it receives the following value :\n"); in usage_longhelp()
175 DISPLAY( " - if stdout is not the console, then [output] = stdout \n"); in usage_longhelp()
176 DISPLAY( " - if stdout is console : \n"); in usage_longhelp()
177 DISPLAY( " + for compression, output to filename%s \n", LZ4_EXTENSION); in usage_longhelp()
178DISPLAY( " + for decompression, output to filename without '%s'\n", LZ4_EXTENSION); in usage_longhelp()
179DISPLAY( " > if input filename has no '%s' extension : error \n", LZ4_EXTENSION… in usage_longhelp()
180 DISPLAY( "\n"); in usage_longhelp()
181 DISPLAY( "Compression levels : \n"); in usage_longhelp()
182 DISPLAY( "---------------------\n"); in usage_longhelp()
183 DISPLAY( "-0 ... -2 => Fast compression, all identicals\n"); in usage_longhelp()
184DISPLAY( "-3 ... -%d => High compression; higher number == more compression but slower\n", LZ4HC_C… in usage_longhelp()
185 DISPLAY( "\n"); in usage_longhelp()
186 DISPLAY( "stdin, stdout and the console : \n"); in usage_longhelp()
187 DISPLAY( "--------------------------------\n"); in usage_longhelp()
188 DISPLAY( "To protect the console from binary flooding (bad argument mistake)\n"); in usage_longhelp()
189 DISPLAY( "%s will refuse to read from console, or write to console \n", exeName); in usage_longhelp()
190 DISPLAY( "except if '-c' command is specified, to force output to console \n"); in usage_longhelp()
191 DISPLAY( "\n"); in usage_longhelp()
192 DISPLAY( "Simple example :\n"); in usage_longhelp()
193 DISPLAY( "----------------\n"); in usage_longhelp()
194 DISPLAY( "1 : compress 'filename' fast, using default output name 'filename.lz4'\n"); in usage_longhelp()
195 DISPLAY( " %s filename\n", exeName); in usage_longhelp()
196 DISPLAY( "\n"); in usage_longhelp()
197 DISPLAY( "Short arguments can be aggregated. For example :\n"); in usage_longhelp()
198 DISPLAY( "----------------------------------\n"); in usage_longhelp()
199 DISPLAY( "2 : compress 'filename' in high compression mode, overwrite output if exists\n"); in usage_longhelp()
200 DISPLAY( " %s -9 -f filename \n", exeName); in usage_longhelp()
201 DISPLAY( " is equivalent to :\n"); in usage_longhelp()
202 DISPLAY( " %s -9f filename \n", exeName); in usage_longhelp()
203 DISPLAY( "\n"); in usage_longhelp()
204 DISPLAY( "%s can be used in 'pure pipe mode'. For example :\n", exeName); in usage_longhelp()
205 DISPLAY( "-------------------------------------\n"); in usage_longhelp()
206 DISPLAY( "3 : compress data stream from 'generator', send result to 'consumer'\n"); in usage_longhelp()
207 DISPLAY( " generator | %s | consumer \n", exeName); in usage_longhelp()
209 DISPLAY( "\n"); in usage_longhelp()
210 DISPLAY( "***** Warning ***** \n"); in usage_longhelp()
211 DISPLAY( "Legacy arguments take precedence. Therefore : \n"); in usage_longhelp()
212 DISPLAY( "--------------------------------- \n"); in usage_longhelp()
213 DISPLAY( " %s -hc filename \n", exeName); in usage_longhelp()
214 DISPLAY( "means 'compress filename in high compression mode' \n"); in usage_longhelp()
215 DISPLAY( "It is not equivalent to : \n"); in usage_longhelp()
216 DISPLAY( " %s -h -c filename \n", exeName); in usage_longhelp()
217 DISPLAY( "which displays help text and exits \n"); in usage_longhelp()
232 DISPLAY("Press enter to continue...\n"); in waitEnter()
321 DISPLAY("Allocation error : not enough memory \n"); in main()
376 if (!strcmp(argument, "--version")) { DISPLAY(WELCOME_MESSAGE); return 0; } in main()
423 case 'V': DISPLAY(WELCOME_MESSAGE); goto _cleanup; /* Version */ in main()