Lines Matching refs:place
92 static char *place = EMSG; /* option letter processing */ variable
174 current_argv = place; in parse_long_options()
319 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal()
322 place = EMSG; in getopt_internal()
339 if (*(place = nargv[optind]) != '-' || in getopt_internal()
340 (place[1] == '\0' && strchr(options, '-') == NULL)) { in getopt_internal()
341 place = EMSG; /* found non-option */ in getopt_internal()
377 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { in getopt_internal()
379 place = EMSG; in getopt_internal()
400 if (long_options != NULL && place != nargv[optind] && in getopt_internal()
401 (*place == '-' || (flags & FLAG_LONGONLY))) { in getopt_internal()
403 if (*place == '-') in getopt_internal()
404 place++; /* --foo long option */ in getopt_internal()
405 else if (*place != ':' && strchr(options, *place) != NULL) in getopt_internal()
411 place = EMSG; in getopt_internal()
416 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
417 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
424 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
426 if (!*place) in getopt_internal()
435 if (*place) /* no space */ in getopt_internal()
438 place = EMSG; in getopt_internal()
444 place = nargv[optind]; in getopt_internal()
447 place = EMSG; in getopt_internal()
451 if (!*place) in getopt_internal()
455 if (*place) /* no white space */ in getopt_internal()
456 optarg = place; in getopt_internal()
459 place = EMSG; in getopt_internal()
467 place = EMSG; in getopt_internal()