Lines Matching refs:argn
203 int argn; in parse_switches() local
220 for (argn = 1; argn < argc; argn++) { in parse_switches()
221 arg = argv[argn]; in parse_switches()
224 if (argn <= last_file_arg_seen) { in parse_switches()
241 if (++argn >= argc) /* advance to next argument */ in parse_switches()
243 if (sscanf(argv[argn], "%d", &val) != 1) in parse_switches()
250 if (++argn >= argc) /* advance to next argument */ in parse_switches()
252 if (keymatch(argv[argn], "int", 1)) { in parse_switches()
254 } else if (keymatch(argv[argn], "fast", 2)) { in parse_switches()
256 } else if (keymatch(argv[argn], "float", 2)) { in parse_switches()
263 if (++argn >= argc) /* advance to next argument */ in parse_switches()
265 if (keymatch(argv[argn], "fs", 2)) { in parse_switches()
267 } else if (keymatch(argv[argn], "none", 2)) { in parse_switches()
269 } else if (keymatch(argv[argn], "ordered", 2)) { in parse_switches()
326 if (++argn >= argc) /* advance to next argument */ in parse_switches()
328 icc_filename = argv[argn]; in parse_switches()
333 if (++argn >= argc) /* advance to next argument */ in parse_switches()
339 if ((mapfile = fopen(argv[argn], READ_BINARY)) == NULL) { in parse_switches()
340 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches()
356 if (++argn >= argc) /* advance to next argument */ in parse_switches()
358 if (sscanf(argv[argn], "%ld%c", &lval, &ch) < 1) in parse_switches()
365 if (++argn >= argc) /* advance to next argument */ in parse_switches()
367 if (sscanf(argv[argn], "%u", &max_scans) != 1) in parse_switches()
384 if (++argn >= argc) /* advance to next argument */ in parse_switches()
386 outfilename = argv[argn]; /* save it away for later use */ in parse_switches()
407 if (++argn >= argc) /* advance to next argument */ in parse_switches()
409 if (sscanf(argv[argn], "%u/%u", in parse_switches()
414 if (++argn >= argc) in parse_switches()
416 if (sscanf(argv[argn], "%u,%u", &skip_start, &skip_end) != 2 || in parse_switches()
423 if (++argn >= argc) in parse_switches()
425 if (sscanf(argv[argn], "%u%c%u+%u+%u", &crop_width, &c, &crop_height, in parse_switches()
443 return argn; /* return index of next arg (file name) */ in parse_switches()