• Home
  • Raw
  • Download

Lines Matching refs:option

233 #define ThrowImportException(asperity,tag,option) \  in ImportImageCommand()  argument
236 option); \ in ImportImageCommand()
240 #define ThrowImportInvalidArgumentException(option,argument) \ in ImportImageCommand() argument
243 "InvalidArgument","'%s': %s",option,argument); \ in ImportImageCommand()
250 *option, in ImportImageCommand() local
302 option=argv[1]; in ImportImageCommand()
303 if ((LocaleCompare("version",option+1) == 0) || in ImportImageCommand()
304 (LocaleCompare("-version",option+1) == 0)) in ImportImageCommand()
314 option=(char *) NULL; in ImportImageCommand()
336 option=argv[i]; in ImportImageCommand()
337 if (IsCommandOption(option) == MagickFalse) in ImportImageCommand()
339 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
346 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
349 if ((LocaleCompare("help",option+1) == 0) || in ImportImageCommand()
350 (LocaleCompare("-help",option+1) == 0)) in ImportImageCommand()
423 option=argv[i]; in ImportImageCommand()
424 if (LocaleCompare(option,"(") == 0) in ImportImageCommand()
429 option); in ImportImageCommand()
433 if (LocaleCompare(option,")") == 0) in ImportImageCommand()
437 ThrowImportException(OptionError,"UnableToParseExpression",option); in ImportImageCommand()
441 if (IsCommandOption(option) == MagickFalse) in ImportImageCommand()
473 switch(*(option+1)) in ImportImageCommand()
477 if (LocaleCompare("adjoin",option+1) == 0) in ImportImageCommand()
479 if (LocaleCompare("annotate",option+1) == 0) in ImportImageCommand()
481 if (*option == '+') in ImportImageCommand()
485 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
487 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
489 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
493 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
497 if (LocaleCompare("border",option+1) == 0) in ImportImageCommand()
500 ximage_info.borders=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
503 if (LocaleCompare("bordercolor",option+1) == 0) in ImportImageCommand()
505 if (*option == '+') in ImportImageCommand()
509 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
512 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
516 if (LocaleCompare("cache",option+1) == 0) in ImportImageCommand()
518 if (*option == '+') in ImportImageCommand()
522 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
524 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
527 if (LocaleCompare("channel",option+1) == 0) in ImportImageCommand()
532 if (*option == '+') in ImportImageCommand()
536 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
543 if (LocaleCompare("colors",option+1) == 0) in ImportImageCommand()
546 if (*option == '+') in ImportImageCommand()
550 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
552 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
556 if (LocaleCompare("colorspace",option+1) == 0) in ImportImageCommand()
561 if (*option == '+') in ImportImageCommand()
565 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
573 if (LocaleCompare("comment",option+1) == 0) in ImportImageCommand()
575 if (*option == '+') in ImportImageCommand()
579 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
585 if (LocaleCompare("compress",option+1) == 0) in ImportImageCommand()
590 if (*option == '+') in ImportImageCommand()
594 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
602 if (LocaleCompare("concurrent",option+1) == 0) in ImportImageCommand()
604 if (LocaleCompare("crop",option+1) == 0) in ImportImageCommand()
606 if (*option == '+') in ImportImageCommand()
610 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
612 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
615 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
619 if (LocaleCompare("debug",option+1) == 0) in ImportImageCommand()
624 if (*option == '+') in ImportImageCommand()
628 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
635 if (LocaleCompare("define",option+1) == 0) in ImportImageCommand()
639 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
640 if (*option == '+') in ImportImageCommand()
652 if (LocaleCompare("delay",option+1) == 0) in ImportImageCommand()
654 if (*option == '+') in ImportImageCommand()
658 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
660 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
666 if (LocaleCompare("density",option+1) == 0) in ImportImageCommand()
668 if (*option == '+') in ImportImageCommand()
672 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
674 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
677 if (LocaleCompare("depth",option+1) == 0) in ImportImageCommand()
679 if (*option == '+') in ImportImageCommand()
683 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
685 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
688 if (LocaleCompare("descend",option+1) == 0) in ImportImageCommand()
690 ximage_info.descend=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
693 if (LocaleCompare("display",option+1) == 0) in ImportImageCommand()
695 if (*option == '+') in ImportImageCommand()
699 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
702 if (LocaleCompare("dispose",option+1) == 0) in ImportImageCommand()
707 if (*option == '+') in ImportImageCommand()
711 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
718 if (LocaleCompare("dither",option+1) == 0) in ImportImageCommand()
724 if (*option == '+') in ImportImageCommand()
728 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
736 if (LocaleCompare("duration",option+1) == 0) in ImportImageCommand()
738 if (*option == '+') in ImportImageCommand()
742 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
744 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
747 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
751 if (LocaleCompare("encipher",option+1) == 0) in ImportImageCommand()
753 if (*option == '+') in ImportImageCommand()
757 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
760 if (LocaleCompare("encoding",option+1) == 0) in ImportImageCommand()
762 if (*option == '+') in ImportImageCommand()
766 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
769 if (LocaleCompare("endian",option+1) == 0) in ImportImageCommand()
774 if (*option == '+') in ImportImageCommand()
778 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
786 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
790 if (LocaleCompare("filter",option+1) == 0) in ImportImageCommand()
795 if (*option == '+') in ImportImageCommand()
799 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
806 if (LocaleCompare("frame",option+1) == 0) in ImportImageCommand()
809 ximage_info.frame=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
812 if (LocaleCompare("format",option+1) == 0) in ImportImageCommand()
814 if (*option == '+') in ImportImageCommand()
818 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
821 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
825 if (LocaleCompare("geometry",option+1) == 0) in ImportImageCommand()
827 if (*option == '+') in ImportImageCommand()
831 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
833 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
836 if (LocaleCompare("gravity",option+1) == 0) in ImportImageCommand()
841 if (*option == '+') in ImportImageCommand()
845 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
852 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
856 if (LocaleCompare("help",option+1) == 0) in ImportImageCommand()
858 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
862 if (LocaleCompare("identify",option+1) == 0) in ImportImageCommand()
864 if (LocaleCompare("interlace",option+1) == 0) in ImportImageCommand()
869 if (*option == '+') in ImportImageCommand()
873 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
881 if (LocaleCompare("interpolate",option+1) == 0) in ImportImageCommand()
886 if (*option == '+') in ImportImageCommand()
890 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
898 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
902 if (LocaleCompare("label",option+1) == 0) in ImportImageCommand()
904 if (*option == '+') in ImportImageCommand()
908 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
914 if (LocaleCompare("limit",option+1) == 0) in ImportImageCommand()
925 if (*option == '+') in ImportImageCommand()
929 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
937 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
941 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
944 if (LocaleCompare("list",option+1) == 0) in ImportImageCommand()
949 if (*option == '+') in ImportImageCommand()
953 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
962 if (LocaleCompare("log",option+1) == 0) in ImportImageCommand()
964 if (*option == '+') in ImportImageCommand()
968 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
971 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
975 if (LocaleCompare("monitor",option+1) == 0) in ImportImageCommand()
977 if (LocaleCompare("monochrome",option+1) == 0) in ImportImageCommand()
979 if (*option == '+') in ImportImageCommand()
985 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
989 if (LocaleCompare("negate",option+1) == 0) in ImportImageCommand()
991 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
995 if (LocaleCompare("page",option+1) == 0) in ImportImageCommand()
997 if (*option == '+') in ImportImageCommand()
1001 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1007 if (LocaleCompare("pause",option+1) == 0) in ImportImageCommand()
1010 if (*option == '+') in ImportImageCommand()
1014 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1016 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1020 if (LocaleCompare("ping",option+1) == 0) in ImportImageCommand()
1022 if (LocaleCompare("pointsize",option+1) == 0) in ImportImageCommand()
1024 if (*option == '+') in ImportImageCommand()
1028 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1030 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1033 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1037 if (LocaleCompare("quality",option+1) == 0) in ImportImageCommand()
1039 if (*option == '+') in ImportImageCommand()
1043 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1045 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1048 if (LocaleCompare("quantize",option+1) == 0) in ImportImageCommand()
1053 if (*option == '+') in ImportImageCommand()
1057 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1065 if (LocaleCompare("quiet",option+1) == 0) in ImportImageCommand()
1067 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1071 if (LocaleCompare("regard-warnings",option+1) == 0) in ImportImageCommand()
1073 if (LocaleCompare("repage",option+1) == 0) in ImportImageCommand()
1075 if (*option == '+') in ImportImageCommand()
1079 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1081 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1084 if (LocaleCompare("resize",option+1) == 0) in ImportImageCommand()
1086 if (*option == '+') in ImportImageCommand()
1090 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1092 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1095 if (LocaleNCompare("respect-parentheses",option+1,17) == 0) in ImportImageCommand()
1097 respect_parenthesis=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1100 if (LocaleCompare("rotate",option+1) == 0) in ImportImageCommand()
1104 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1106 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1109 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1113 if (LocaleCompare("sampling-factor",option+1) == 0) in ImportImageCommand()
1115 if (*option == '+') in ImportImageCommand()
1119 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1121 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1124 if (LocaleCompare("scene",option+1) == 0) in ImportImageCommand()
1126 if (*option == '+') in ImportImageCommand()
1130 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1132 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1135 if (LocaleCompare("set",option+1) == 0) in ImportImageCommand()
1139 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1140 if (*option == '+') in ImportImageCommand()
1144 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1147 if (LocaleCompare("screen",option+1) == 0) in ImportImageCommand()
1149 ximage_info.screen=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1152 if (LocaleCompare("seed",option+1) == 0) in ImportImageCommand()
1154 if (*option == '+') in ImportImageCommand()
1158 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1160 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1163 if (LocaleCompare("silent",option+1) == 0) in ImportImageCommand()
1165 ximage_info.silent=(*option == '-') ? MagickTrue : MagickFalse; in ImportImageCommand()
1168 if (LocaleCompare("snaps",option+1) == 0) in ImportImageCommand()
1173 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1175 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1179 if (LocaleCompare("strip",option+1) == 0) in ImportImageCommand()
1181 if (LocaleCompare("support",option+1) == 0) in ImportImageCommand()
1186 if (LocaleCompare("synchronize",option+1) == 0) in ImportImageCommand()
1188 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1192 if (LocaleCompare("taint",option+1) == 0) in ImportImageCommand()
1194 if (LocaleCompare("thumbnail",option+1) == 0) in ImportImageCommand()
1196 if (*option == '+') in ImportImageCommand()
1200 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1202 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1205 if (LocaleCompare("transparent",option+1) == 0) in ImportImageCommand()
1209 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1212 if (LocaleCompare("transparent-color",option+1) == 0) in ImportImageCommand()
1214 if (*option == '+') in ImportImageCommand()
1218 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1221 if (LocaleCompare("treedepth",option+1) == 0) in ImportImageCommand()
1224 if (*option == '+') in ImportImageCommand()
1228 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1230 ThrowImportInvalidArgumentException(option,argv[i]); in ImportImageCommand()
1234 if (LocaleCompare("trim",option+1) == 0) in ImportImageCommand()
1236 if (LocaleCompare("type",option+1) == 0) in ImportImageCommand()
1241 if (*option == '+') in ImportImageCommand()
1245 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1251 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1257 ThrowImportException(OptionError,"MissingArgument",option); in ImportImageCommand()
1263 if (LocaleCompare("verbose",option+1) == 0) in ImportImageCommand()
1265 if ((LocaleCompare("version",option+1) == 0) || in ImportImageCommand()
1266 (LocaleCompare("-version",option+1) == 0)) in ImportImageCommand()
1271 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1276 ThrowImportException(OptionError,"UnrecognizedOption",option); in ImportImageCommand()
1278 fire=(GetCommandOptionFlags(MagickCommandOptions,MagickFalse,option) & in ImportImageCommand()