Lines Matching refs:argc
193 process_long_option (int argc, char **argv, const char *optstring, in process_long_option() argument
353 if (d->optind < argc) in process_long_option()
380 _getopt_initialize (int argc _GL_UNUSED, in _getopt_initialize()
470 _getopt_internal_r (int argc, char **argv, const char *optstring, in _getopt_internal_r() argument
476 if (argc < 1) in _getopt_internal_r()
482 optstring = _getopt_initialize (argc, argv, optstring, d, posixly_correct); in _getopt_internal_r()
517 while (d->optind < argc && NONOPTION_P) in _getopt_internal_r()
527 if (d->optind != argc && !strcmp (argv[d->optind], "--")) in _getopt_internal_r()
536 d->__last_nonopt = argc; in _getopt_internal_r()
538 d->optind = argc; in _getopt_internal_r()
544 if (d->optind == argc) in _getopt_internal_r()
573 return process_long_option (argc, argv, optstring, longopts, in _getopt_internal_r()
595 code = process_long_option (argc, argv, optstring, longopts, in _getopt_internal_r()
631 else if (d->optind == argc) in _getopt_internal_r()
650 return process_long_option (argc, argv, optstring, longopts, longind, in _getopt_internal_r()
677 else if (d->optind == argc) in _getopt_internal_r()
702 _getopt_internal (int argc, char **argv, const char *optstring, in _getopt_internal() argument
711 result = _getopt_internal_r (argc, argv, optstring, longopts, in _getopt_internal()
728 NAME (int argc, char *const *argv, const char *optstring) \
730 return _getopt_internal (argc, (char **)argv, optstring, \
748 main (int argc, char **argv) in main() argument
757 c = getopt (argc, argv, "abc:d:0123456789"); in main()
799 if (optind < argc) in main()
802 while (optind < argc) in main()