Lines Matching refs:place
115 static char *place = EMSG; /* option letter processing */ variable
197 current_argv = place; in parse_long_options()
342 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal()
345 place = EMSG; in getopt_internal()
362 if (*(place = nargv[optind]) != '-' || in getopt_internal()
363 (place[1] == '\0' && strchr(options, '-') == NULL)) { in getopt_internal()
364 place = EMSG; /* found non-option */ in getopt_internal()
400 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { in getopt_internal()
402 place = EMSG; in getopt_internal()
423 if (long_options != NULL && place != nargv[optind] && in getopt_internal()
424 (*place == '-' || (flags & FLAG_LONGONLY))) { in getopt_internal()
426 if (*place == '-') in getopt_internal()
427 place++; /* --foo long option */ in getopt_internal()
428 else if (*place != ':' && strchr(options, *place) != NULL) in getopt_internal()
434 place = EMSG; in getopt_internal()
439 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
440 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
447 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
449 if (!*place) in getopt_internal()
458 if (*place) /* no space */ in getopt_internal()
461 place = EMSG; in getopt_internal()
467 place = nargv[optind]; in getopt_internal()
470 place = EMSG; in getopt_internal()
474 if (!*place) in getopt_internal()
478 if (*place) /* no white space */ in getopt_internal()
479 optarg = place; in getopt_internal()
482 place = EMSG; in getopt_internal()
490 place = EMSG; in getopt_internal()