Lines Matching refs:argn

192   int argn;  in parse_switches()  local
205 for (argn = 1; argn < argc; argn++) { in parse_switches()
206 arg = argv[argn]; in parse_switches()
209 if (argn <= last_file_arg_seen) { in parse_switches()
226 if (++argn >= argc) /* advance to next argument */ in parse_switches()
228 if (sscanf(argv[argn], "%d", &val) != 1) in parse_switches()
235 if (++argn >= argc) /* advance to next argument */ in parse_switches()
237 if (keymatch(argv[argn], "int", 1)) { in parse_switches()
239 } else if (keymatch(argv[argn], "fast", 2)) { in parse_switches()
241 } else if (keymatch(argv[argn], "float", 2)) { in parse_switches()
248 if (++argn >= argc) /* advance to next argument */ in parse_switches()
250 if (keymatch(argv[argn], "fs", 2)) { in parse_switches()
252 } else if (keymatch(argv[argn], "none", 2)) { in parse_switches()
254 } else if (keymatch(argv[argn], "ordered", 2)) { in parse_switches()
306 if (++argn >= argc) /* advance to next argument */ in parse_switches()
312 if ((mapfile = fopen(argv[argn], READ_BINARY)) == NULL) { in parse_switches()
313 fprintf(stderr, "%s: can't open %s\n", progname, argv[argn]); in parse_switches()
329 if (++argn >= argc) /* advance to next argument */ in parse_switches()
331 if (sscanf(argv[argn], "%ld%c", &lval, &ch) < 1) in parse_switches()
351 if (++argn >= argc) /* advance to next argument */ in parse_switches()
353 outfilename = argv[argn]; /* save it away for later use */ in parse_switches()
375 if (++argn >= argc) /* advance to next argument */ in parse_switches()
377 if (sscanf(argv[argn], "%d/%d", in parse_switches()
382 if (++argn >= argc) in parse_switches()
384 if (sscanf(argv[argn], "%u,%u", &skip_start, &skip_end) != 2 || in parse_switches()
391 if (++argn >= argc) in parse_switches()
393 if (sscanf(argv[argn], "%u%c%u+%u+%u", &crop_width, &c, &crop_height, in parse_switches()
408 return argn; /* return index of next arg (file name) */ in parse_switches()