Lines Matching refs:strcmp

41 #include <string.h>   /* strcmp, strlen */
306 if (!strcmp(inputFilename+extStart, LZ4_EXTENSION)) return om_decompress;
378 if (!strcmp(argument, "--")) { all_arguments_are_files = 1; continue; }
379 if (!strcmp(argument, "--compress")) { mode = om_compress; continue; }
380 if ( (!strcmp(argument, "--decompress"))
381 || (!strcmp(argument, "--uncompress"))) {
386 if (!strcmp(argument, "--multiple")) { multiple_inputs = 1; continue; }
387 if (!strcmp(argument, "--test")) { mode = om_test; continue; }
388 if (!strcmp(argument, "--force")) { LZ4IO_setOverwrite(prefs, 1); continue; }
389 if (!strcmp(argument, "--no-force")) { LZ4IO_setOverwrite(prefs, 0); continue; }
390 if ((!strcmp(argument, "--stdout"))
391 || (!strcmp(argument, "--to-stdout"))) { forceStdout=1; output_filename=stdoutmark; continue; }
392 if (!strcmp(argument, "--frame-crc")) { LZ4IO_setStreamChecksumMode(prefs, 1); BMK_skipChecksums(0); continue; }
393 if (!strcmp(argument, "--no-frame-crc")) { LZ4IO_setStreamChecksumMode(prefs, 0); BMK_skipChecksums(1); continue; }
394 if (!strcmp(argument, "--no-crc")) { LZ4IO_setStreamChecksumMode(prefs, 0); LZ4IO_setBlockChecksumMode(prefs, 0); BMK_skipChecksums(1); continue; }
395 if (!strcmp(argument, "--content-size")) { LZ4IO_setContentSize(prefs, 1); continue; }
396 if (!strcmp(argument, "--no-content-size")) { LZ4IO_setContentSize(prefs, 0); continue; }
397 if (!strcmp(argument, "--list")) { mode = om_list; continue; }
398 if (!strcmp(argument, "--sparse")) { LZ4IO_setSparseFile(prefs, 2); continue; }
399 if (!strcmp(argument, "--no-sparse")) { LZ4IO_setSparseFile(prefs, 0); continue; }
400 if (!strcmp(argument, "--favor-decSpeed")) { LZ4IO_favorDecSpeed(prefs, 1); continue; }
401 if (!strcmp(argument, "--verbose")) { displayLevel++; continue; }
402 if (!strcmp(argument, "--quiet")) { if (displayLevel) displayLevel--; continue; }
403 if (!strcmp(argument, "--version")) { DISPLAYOUT(WELCOME_MESSAGE); goto _cleanup; }
404 if (!strcmp(argument, "--help")) { usage_advanced(exeName); goto _cleanup; }
405 if (!strcmp(argument, "--keep")) { LZ4IO_setRemoveSrcFile(prefs, 0); continue; } /* keep source file (default) */
406 if (!strcmp(argument, "--rm")) { LZ4IO_setRemoveSrcFile(prefs, 1); continue; }
428 if (!strcmp(argument, "--best")) { cLevel=LZ4HC_CLEVEL_MAX; continue; }
436 if (!strcmp(argument, "c0")) { cLevel=0; argument++; continue; } /* -c0 (fast compression) */
437 if (!strcmp(argument, "c1")) { cLevel=9; argument++; continue; } /* -c1 (high compression) */
438 if (!strcmp(argument, "c2")) { cLevel=12; argument++; continue; } /* -c2 (very high compression) */
439 if (!strcmp(argument, "hc")) { cLevel=12; argument++; continue; } /* -hc (very high compression) */
440 if (!strcmp(argument, "y")) { LZ4IO_setOverwrite(prefs, 1); continue; } /* -y (answer 'yes' to overwrite permission) */
601 if (!strcmp (output_filename, nullOutput)) output_filename = nulmark;
644 if (!strcmp(dictionary_filename, stdinmark) && IS_CONSOLE(stdin)) {
668 if (!strcmp(input_filename, stdinmark) && IS_CONSOLE(stdin) ) {
673 if (!strcmp(input_filename, stdinmark)) {
724 * however, output_filename must be !NULL for next strcmp() tests */
728 if ( !strcmp(output_filename,stdoutmark)
736 if (!strcmp(output_filename,stdoutmark) && (displayLevel==2)) displayLevel=1;
750 if (!strcmp(output_filename, stdoutmark)) dec_extension = stdoutmark;
751 if (!strcmp(output_filename, nulmark)) dec_extension = nulmark;
763 const char* const leg_extension = !strcmp(output_filename,stdoutmark) ? stdoutmark : LZ4_EXTENSION;
770 const char* const comp_extension = !strcmp(output_filename,stdoutmark) ? stdoutmark : LZ4_EXTENSION;