Lines Matching refs:ntp_optind
27 int ntp_optind = 0; /* Global argv index. */ variable
65 if (ntp_optind == 0) { in ntp_getopt()
67 ntp_optind++; in ntp_getopt()
71 if (ntp_optind >= argc in ntp_getopt()
72 || argv[ntp_optind][0] != '-' in ntp_getopt()
73 || argv[ntp_optind][1] == '\0') { in ntp_getopt()
76 if (argv[ntp_optind][1] == '-' in ntp_getopt()
77 && argv[ntp_optind][2] == '\0') { in ntp_getopt()
78 ntp_optind++; in ntp_getopt()
82 scan = argv[ntp_optind++]+1; in ntp_getopt()
100 } else if (ntp_optind >= argc) { in ntp_getopt()
103 ntp_optarg = argv[ntp_optind++]; in ntp_getopt()