Lines Matching refs:argument

313         const char* argument = argv[i];  in main()  local
315 if(!argument) continue; /* Protection if argument empty */ in main()
318 if (argument[0]=='-') { in main()
320 if (argument[1]==0) { in main()
327 if (argument[1]=='-') { in main()
328 if (!strcmp(argument, "--compress")) { mode = om_compress; continue; } in main()
329 if ((!strcmp(argument, "--decompress")) in main()
330 || (!strcmp(argument, "--uncompress"))) { mode = om_decompress; continue; } in main()
331 if (!strcmp(argument, "--multiple")) { multiple_inputs = 1; continue; } in main()
332 if (!strcmp(argument, "--test")) { mode = om_test; continue; } in main()
333 if (!strcmp(argument, "--force")) { LZ4IO_setOverwrite(1); continue; } in main()
334 if (!strcmp(argument, "--no-force")) { LZ4IO_setOverwrite(0); continue; } in main()
335 if ((!strcmp(argument, "--stdout")) in main()
336 … || (!strcmp(argument, "--to-stdout"))) { forceStdout=1; output_filename=stdoutmark; continue; } in main()
337 if (!strcmp(argument, "--frame-crc")) { LZ4IO_setStreamChecksumMode(1); continue; } in main()
338 … if (!strcmp(argument, "--no-frame-crc")) { LZ4IO_setStreamChecksumMode(0); continue; } in main()
339 if (!strcmp(argument, "--content-size")) { LZ4IO_setContentSize(1); continue; } in main()
340 if (!strcmp(argument, "--no-content-size")) { LZ4IO_setContentSize(0); continue; } in main()
341 if (!strcmp(argument, "--sparse")) { LZ4IO_setSparseFile(2); continue; } in main()
342 if (!strcmp(argument, "--no-sparse")) { LZ4IO_setSparseFile(0); continue; } in main()
343 if (!strcmp(argument, "--verbose")) { displayLevel++; continue; } in main()
344 if (!strcmp(argument, "--quiet")) { if (displayLevel) displayLevel--; continue; } in main()
345 if (!strcmp(argument, "--version")) { DISPLAY(WELCOME_MESSAGE); return 0; } in main()
346 if (!strcmp(argument, "--help")) { usage_advanced(exeName); goto _cleanup; } in main()
347 …if (!strcmp(argument, "--keep")) { LZ4IO_setRemoveSrcFile(0); continue; } /* keep source file (… in main()
348 if (!strcmp(argument, "--rm")) { LZ4IO_setRemoveSrcFile(1); continue; } in main()
351 while (argument[1]!=0) { in main()
352 argument ++; in main()
356 …if ((argument[0]=='c') && (argument[1]=='0')) { cLevel=0; argument++; continue; } /* -c0 (fast co… in main()
357 …if ((argument[0]=='c') && (argument[1]=='1')) { cLevel=9; argument++; continue; } /* -c1 (high co… in main()
358 …if ((argument[0]=='h') && (argument[1]=='c')) { cLevel=9; argument++; continue; } /* -hc (high co… in main()
359 …if (*argument=='y') { LZ4IO_setOverwrite(1); continue; } /* -y (answer '… in main()
362 if ((*argument>='0') && (*argument<='9')) { in main()
363 cLevel = readU32FromChar(&argument); in main()
364 argument--; in main()
369 switch(argument[0]) in main()
377 argument++; in main()
378 cLevelLast = readU32FromChar(&argument); in main()
379 argument--; in main()
411 while (argument[1]!=0) { in main()
413 switch(argument[1]) in main()
415 case 'D': LZ4IO_setBlockMode(LZ4IO_blockLinked); argument++; break; in main()
416 … case 'X': LZ4IO_setBlockChecksumMode(1); argument ++; break; /* disabled by default */ in main()
418 if (argument[1] < '0' || argument[1] > '9') { in main()
423 argument++; in main()
424 B = readU32FromChar(&argument); in main()
425 argument--; in main()
462 argument++; in main()
463 iters = readU32FromChar(&argument); in main()
464 argument--; in main()
484 if (multiple_inputs) { inFileNames[ifnIdx++]=argument; continue; } in main()
487 if (!input_filename) { input_filename=argument; continue; } in main()
491 output_filename=argument; in main()
497 …SPLAYLEVEL(1, "Warning : %s won't be used ! Do you want multiple input files (-m) ? \n", argument); in main()