Lines Matching refs:place
91 static char *place = EMSG; /* option letter processing */ variable
171 current_argv = place; in parse_long_options()
323 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal()
326 place = EMSG; in getopt_internal()
343 if (*(place = nargv[optind]) != '-' || in getopt_internal()
344 (place[1] == '\0' && strchr(options, '-') == NULL)) { in getopt_internal()
345 place = EMSG; /* found non-option */ in getopt_internal()
381 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { in getopt_internal()
383 place = EMSG; in getopt_internal()
404 if (long_options != NULL && place != nargv[optind] && in getopt_internal()
405 (*place == '-' || (flags & FLAG_LONGONLY))) { in getopt_internal()
407 if (*place == '-') in getopt_internal()
408 place++; /* --foo long option */ in getopt_internal()
409 else if (*place != ':' && strchr(options, *place) != NULL) in getopt_internal()
415 place = EMSG; in getopt_internal()
420 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
422 if (!*place) in getopt_internal()
431 if (*place) /* no space */ in getopt_internal()
434 place = EMSG; in getopt_internal()
440 place = nargv[optind]; in getopt_internal()
443 place = EMSG; in getopt_internal()
447 if (!*place) in getopt_internal()
451 if (*place) /* no white space */ in getopt_internal()
452 optarg = place; in getopt_internal()
455 place = EMSG; in getopt_internal()
463 place = EMSG; in getopt_internal()