• Home
  • Raw
  • Download

Lines Matching refs:option

192 #define ThrowCompareException(asperity,tag,option) \  in CompareImagesCommand()  argument
196 "`%s'",option); \ in CompareImagesCommand()
200 #define ThrowCompareInvalidArgumentException(option,argument) \ in CompareImagesCommand() argument
203 "InvalidArgument","'%s': %s",option,argument); \ in CompareImagesCommand()
210 *option; in CompareImagesCommand() local
262 option=argv[1]; in CompareImagesCommand()
263 if ((LocaleCompare("version",option+1) == 0) || in CompareImagesCommand()
264 (LocaleCompare("-version",option+1) == 0)) in CompareImagesCommand()
282 option=(char *) NULL; in CompareImagesCommand()
298 option=argv[i]; in CompareImagesCommand()
299 if (LocaleCompare(option,"(") == 0) in CompareImagesCommand()
304 option); in CompareImagesCommand()
308 if (LocaleCompare(option,")") == 0) in CompareImagesCommand()
312 ThrowCompareException(OptionError,"UnableToParseExpression",option); in CompareImagesCommand()
316 if (IsCommandOption(option) == MagickFalse) in CompareImagesCommand()
337 switch (*(option+1)) in CompareImagesCommand()
341 if (LocaleCompare("alpha",option+1) == 0) in CompareImagesCommand()
346 if (*option == '+') in CompareImagesCommand()
350 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
357 if (LocaleCompare("authenticate",option+1) == 0) in CompareImagesCommand()
359 if (*option == '+') in CompareImagesCommand()
363 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
366 ThrowCompareException(OptionError,"UnrecognizedOption",option); in CompareImagesCommand()
370 if (LocaleCompare("cache",option+1) == 0) in CompareImagesCommand()
372 if (*option == '+') in CompareImagesCommand()
376 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
378 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
381 if (LocaleCompare("channel",option+1) == 0) in CompareImagesCommand()
386 if (*option == '+') in CompareImagesCommand()
390 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
398 if (LocaleCompare("colorspace",option+1) == 0) in CompareImagesCommand()
403 if (*option == '+') in CompareImagesCommand()
407 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
415 if (LocaleCompare("compose",option+1) == 0) in CompareImagesCommand()
420 if (*option == '+') in CompareImagesCommand()
424 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
432 if (LocaleCompare("compress",option+1) == 0) in CompareImagesCommand()
437 if (*option == '+') in CompareImagesCommand()
441 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
449 if (LocaleCompare("concurrent",option+1) == 0) in CompareImagesCommand()
451 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
455 if (LocaleCompare("debug",option+1) == 0) in CompareImagesCommand()
460 if (*option == '+') in CompareImagesCommand()
464 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
471 if (LocaleCompare("decipher",option+1) == 0) in CompareImagesCommand()
473 if (*option == '+') in CompareImagesCommand()
477 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
480 if (LocaleCompare("define",option+1) == 0) in CompareImagesCommand()
484 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
485 if (*option == '+') in CompareImagesCommand()
497 if (LocaleCompare("density",option+1) == 0) in CompareImagesCommand()
499 if (*option == '+') in CompareImagesCommand()
503 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
505 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
508 if (LocaleCompare("depth",option+1) == 0) in CompareImagesCommand()
510 if (*option == '+') in CompareImagesCommand()
514 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
516 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
519 if (LocaleCompare("dissimilarity-threshold",option+1) == 0) in CompareImagesCommand()
521 if (*option == '+') in CompareImagesCommand()
525 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
527 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
528 if (*option == '+') in CompareImagesCommand()
534 if (LocaleCompare("duration",option+1) == 0) in CompareImagesCommand()
536 if (*option == '+') in CompareImagesCommand()
540 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
542 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
545 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
549 if (LocaleCompare("encipher",option+1) == 0) in CompareImagesCommand()
551 if (*option == '+') in CompareImagesCommand()
555 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
558 if (LocaleCompare("extract",option+1) == 0) in CompareImagesCommand()
560 if (*option == '+') in CompareImagesCommand()
564 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
566 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
569 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
573 if (LocaleCompare("format",option+1) == 0) in CompareImagesCommand()
575 if (*option == '+') in CompareImagesCommand()
579 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
583 if (LocaleCompare("fuzz",option+1) == 0) in CompareImagesCommand()
585 if (*option == '+') in CompareImagesCommand()
589 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
591 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
594 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
598 if ((LocaleCompare("help",option+1) == 0) || in CompareImagesCommand()
599 (LocaleCompare("-help",option+1) == 0)) in CompareImagesCommand()
601 if (LocaleCompare("highlight-color",option+1) == 0) in CompareImagesCommand()
603 if (*option == '+') in CompareImagesCommand()
607 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
610 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
614 if (LocaleCompare("identify",option+1) == 0) in CompareImagesCommand()
616 if (LocaleCompare("interlace",option+1) == 0) in CompareImagesCommand()
621 if (*option == '+') in CompareImagesCommand()
625 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
633 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
637 if (LocaleCompare("limit",option+1) == 0) in CompareImagesCommand()
648 if (*option == '+') in CompareImagesCommand()
652 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
660 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
664 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
667 if (LocaleCompare("list",option+1) == 0) in CompareImagesCommand()
672 if (*option == '+') in CompareImagesCommand()
676 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
685 if (LocaleCompare("log",option+1) == 0) in CompareImagesCommand()
687 if (*option == '+') in CompareImagesCommand()
691 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
694 if (LocaleCompare("lowlight-color",option+1) == 0) in CompareImagesCommand()
696 if (*option == '+') in CompareImagesCommand()
700 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
703 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
707 if (LocaleCompare("matte",option+1) == 0) in CompareImagesCommand()
709 if (LocaleCompare("metric",option+1) == 0) in CompareImagesCommand()
714 if (*option == '+') in CompareImagesCommand()
718 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
726 if (LocaleCompare("monitor",option+1) == 0) in CompareImagesCommand()
728 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
732 if (LocaleCompare("profile",option+1) == 0) in CompareImagesCommand()
736 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
739 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
743 if (LocaleCompare("quality",option+1) == 0) in CompareImagesCommand()
745 if (*option == '+') in CompareImagesCommand()
749 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
751 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
754 if (LocaleCompare("quantize",option+1) == 0) in CompareImagesCommand()
759 if (*option == '+') in CompareImagesCommand()
763 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
771 if (LocaleCompare("quiet",option+1) == 0) in CompareImagesCommand()
773 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
777 if (LocaleCompare("regard-warnings",option+1) == 0) in CompareImagesCommand()
779 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in CompareImagesCommand()
781 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in CompareImagesCommand()
784 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
788 if (LocaleCompare("sampling-factor",option+1) == 0) in CompareImagesCommand()
790 if (*option == '+') in CompareImagesCommand()
794 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
796 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
799 if (LocaleCompare("seed",option+1) == 0) in CompareImagesCommand()
801 if (*option == '+') in CompareImagesCommand()
805 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
807 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
810 if (LocaleCompare("set",option+1) == 0) in CompareImagesCommand()
814 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
815 if (*option == '+') in CompareImagesCommand()
819 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
822 if (LocaleCompare("similarity-threshold",option+1) == 0) in CompareImagesCommand()
824 if (*option == '+') in CompareImagesCommand()
828 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
830 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
831 if (*option == '+') in CompareImagesCommand()
837 if (LocaleCompare("size",option+1) == 0) in CompareImagesCommand()
839 if (*option == '+') in CompareImagesCommand()
843 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
845 ThrowCompareInvalidArgumentException(option,argv[i]); in CompareImagesCommand()
848 if (LocaleCompare("subimage-search",option+1) == 0) in CompareImagesCommand()
850 if (*option == '+') in CompareImagesCommand()
858 if (LocaleCompare("synchronize",option+1) == 0) in CompareImagesCommand()
860 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
864 if (LocaleCompare("taint",option+1) == 0) in CompareImagesCommand()
866 if (LocaleCompare("transparent-color",option+1) == 0) in CompareImagesCommand()
868 if (*option == '+') in CompareImagesCommand()
872 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
875 if (LocaleCompare("type",option+1) == 0) in CompareImagesCommand()
880 if (*option == '+') in CompareImagesCommand()
884 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
891 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
895 if (LocaleCompare("verbose",option+1) == 0) in CompareImagesCommand()
897 if ((LocaleCompare("version",option+1) == 0) || in CompareImagesCommand()
898 (LocaleCompare("-version",option+1) == 0)) in CompareImagesCommand()
903 if (LocaleCompare("virtual-pixel",option+1) == 0) in CompareImagesCommand()
908 if (*option == '+') in CompareImagesCommand()
912 ThrowCompareException(OptionError,"MissingArgument",option); in CompareImagesCommand()
920 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
925 ThrowCompareException(OptionError,"UnrecognizedOption",option) in CompareImagesCommand()
927 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in CompareImagesCommand()