Lines Matching refs:argument
342 const char* argument = argv[i]; in main() local
344 if(!argument) continue; /* Protection if argument empty */ in main()
347 if (!all_arguments_are_files && argument[0]=='-') { in main()
349 if (argument[1]==0) { in main()
356 if (argument[1]=='-') { in main()
357 if (!strcmp(argument, "--")) { all_arguments_are_files = 1; continue; } in main()
358 if (!strcmp(argument, "--compress")) { mode = om_compress; continue; } in main()
359 if ((!strcmp(argument, "--decompress")) in main()
360 || (!strcmp(argument, "--uncompress"))) { mode = om_decompress; continue; } in main()
361 if (!strcmp(argument, "--multiple")) { multiple_inputs = 1; continue; } in main()
362 if (!strcmp(argument, "--test")) { mode = om_test; continue; } in main()
363 if (!strcmp(argument, "--force")) { LZ4IO_setOverwrite(1); continue; } in main()
364 if (!strcmp(argument, "--no-force")) { LZ4IO_setOverwrite(0); continue; } in main()
365 if ((!strcmp(argument, "--stdout")) in main()
366 … || (!strcmp(argument, "--to-stdout"))) { forceStdout=1; output_filename=stdoutmark; continue; } in main()
367 if (!strcmp(argument, "--frame-crc")) { LZ4IO_setStreamChecksumMode(1); continue; } in main()
368 … if (!strcmp(argument, "--no-frame-crc")) { LZ4IO_setStreamChecksumMode(0); continue; } in main()
369 if (!strcmp(argument, "--content-size")) { LZ4IO_setContentSize(1); continue; } in main()
370 if (!strcmp(argument, "--no-content-size")) { LZ4IO_setContentSize(0); continue; } in main()
371 if (!strcmp(argument, "--sparse")) { LZ4IO_setSparseFile(2); continue; } in main()
372 if (!strcmp(argument, "--no-sparse")) { LZ4IO_setSparseFile(0); continue; } in main()
373 if (!strcmp(argument, "--favor-decSpeed")) { LZ4IO_favorDecSpeed(1); continue; } in main()
374 if (!strcmp(argument, "--verbose")) { displayLevel++; continue; } in main()
375 if (!strcmp(argument, "--quiet")) { if (displayLevel) displayLevel--; continue; } in main()
376 if (!strcmp(argument, "--version")) { DISPLAY(WELCOME_MESSAGE); return 0; } in main()
377 if (!strcmp(argument, "--help")) { usage_advanced(exeName); goto _cleanup; } in main()
378 …if (!strcmp(argument, "--keep")) { LZ4IO_setRemoveSrcFile(0); continue; } /* keep source file (… in main()
379 if (!strcmp(argument, "--rm")) { LZ4IO_setRemoveSrcFile(1); continue; } in main()
380 if (longCommandWArg(&argument, "--fast")) { in main()
382 if (*argument == '=') { in main()
384 ++argument; in main()
385 fastLevel = readU32FromChar(&argument); in main()
391 } else if (*argument != 0) { in main()
401 while (argument[1]!=0) { in main()
402 argument ++; in main()
406 … if (!strcmp(argument, "c0")) { cLevel=0; argument++; continue; } /* -c0 (fast compression) */ in main()
407 … if (!strcmp(argument, "c1")) { cLevel=9; argument++; continue; } /* -c1 (high compression) */ in main()
408 …if (!strcmp(argument, "c2")) { cLevel=12; argument++; continue; } /* -c2 (very high compression) … in main()
409 …if (!strcmp(argument, "hc")) { cLevel=12; argument++; continue; } /* -hc (very high compression) … in main()
410 …if (!strcmp(argument, "y")) { LZ4IO_setOverwrite(1); continue; } /* -y (answer 'yes' to overwrit… in main()
413 if ((*argument>='0') && (*argument<='9')) { in main()
414 cLevel = readU32FromChar(&argument); in main()
415 argument--; in main()
420 switch(argument[0]) in main()
428 argument++; in main()
429 cLevelLast = readU32FromChar(&argument); in main()
430 argument--; in main()
437 if (argument[1] == '\0') { in main()
446 dictionary_filename = argument + 1; in main()
449 argument += strlen(argument) - 1; in main()
478 while (argument[1]!=0) { in main()
480 switch(argument[1]) in main()
482 case 'D': LZ4IO_setBlockMode(LZ4IO_blockLinked); argument++; break; in main()
483 … case 'X': LZ4IO_setBlockChecksumMode(1); argument ++; break; /* disabled by default */ in main()
485 if (argument[1] < '0' || argument[1] > '9') { in main()
490 argument++; in main()
491 B = readU32FromChar(&argument); in main()
492 argument--; in main()
534 argument++; in main()
535 iters = readU32FromChar(&argument); in main()
536 argument--; in main()
553 if (multiple_inputs) { inFileNames[ifnIdx++]=argument; continue; } in main()
556 if (!input_filename) { input_filename=argument; continue; } in main()
560 output_filename=argument; in main()
566 …SPLAYLEVEL(1, "Warning : %s won't be used ! Do you want multiple input files (-m) ? \n", argument); in main()