• Home
  • Raw
  • Download

Lines Matching refs:place

84 static char *place = EMSG; /* option letter processing */  variable
166 current_argv = place; in parse_long_options()
311 if (optreset || !*place) { /* update scanning pointer */ in getopt_internal()
314 place = EMSG; in getopt_internal()
331 if (*(place = nargv[optind]) != '-' || in getopt_internal()
332 (place[1] == '\0' && strchr(options, '-') == NULL)) { in getopt_internal()
333 place = EMSG; /* found non-option */ in getopt_internal()
369 if (place[1] != '\0' && *++place == '-' && place[1] == '\0') { in getopt_internal()
371 place = EMSG; in getopt_internal()
392 if (long_options != NULL && place != nargv[optind] && in getopt_internal()
393 (*place == '-' || (flags & FLAG_LONGONLY))) { in getopt_internal()
395 if (*place == '-') in getopt_internal()
396 place++; /* --foo long option */ in getopt_internal()
397 else if (*place != ':' && strchr(options, *place) != NULL) in getopt_internal()
403 place = EMSG; in getopt_internal()
408 if ((optchar = (int)*place++) == (int)':' || in getopt_internal()
409 (optchar == (int)'-' && *place != '\0') || in getopt_internal()
416 if (optchar == (int)'-' && *place == '\0') in getopt_internal()
418 if (!*place) in getopt_internal()
427 if (*place) /* no space */ in getopt_internal()
430 place = EMSG; in getopt_internal()
436 place = nargv[optind]; in getopt_internal()
439 place = EMSG; in getopt_internal()
443 if (!*place) in getopt_internal()
447 if (*place) /* no white space */ in getopt_internal()
448 optarg = place; in getopt_internal()
451 place = EMSG; in getopt_internal()
459 place = EMSG; in getopt_internal()