/external/libevent/WIN32-Code/ |
D | getopt_long.c | 74 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument 76 char * const *nargv; 82 _DIAGASSERT(nargv != NULL); 87 if (optind >= nargc || *(place = nargv[optind]) != '-') { 109 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt); 124 __progname(nargv[0]), optopt); 127 optarg = nargv[optind]; 140 getopt2(nargc, nargv, ostr) 142 char * const *nargv; 147 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) { [all …]
|
D | getopt.c | 83 getopt(nargc, nargv, ostr) in getopt() argument 85 char * const nargv[]; 91 __progname = __progname?__progname:_progname(*nargv); 93 _DIAGASSERT(nargv != NULL); 98 if (optind >= nargc || *(place = nargv[optind]) != '-') { 143 optarg = nargv[optind];
|
/external/libwebsockets/win32port/win32helpers/ |
D | getopt_long.c | 81 getopt_internal(nargc, nargv, ostr) in getopt_internal() argument 83 char * const *nargv; 89 _DIAGASSERT(nargv != NULL); 94 if (optind >= nargc || *(place = nargv[optind]) != '-') { 116 "%s: illegal option -- %c\n", __progname(nargv[0]), optopt); 131 __progname(nargv[0]), optopt); 134 optarg = nargv[optind]; 147 getopt2(nargc, nargv, ostr) 149 char * const *nargv; 154 if ((retval = getopt_internal(nargc, nargv, ostr)) == -2) { [all …]
|
D | getopt.c | 87 getopt(nargc, nargv, ostr) in getopt() argument 89 char * const nargv[]; 95 __progname = __progname?__progname:_progname(*nargv); 97 _DIAGASSERT(nargv != NULL); 102 if (optind >= nargc || *(place = nargv[optind]) != '-') { 147 optarg = nargv[optind];
|
/external/openssh/openbsd-compat/ |
D | getopt_long.c | 140 char * const *nargv) in permute_args() argument 161 swap = nargv[pos]; in permute_args() 163 ((char **) nargv)[pos] = nargv[cstart]; in permute_args() 165 ((char **)nargv)[cstart] = swap; in permute_args() 176 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument 248 optarg = nargv[optind++]; in parse_long_options() 294 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument 335 optind, nargv); in getopt_internal() 348 if (*(place = nargv[optind]) != '-' || in getopt_internal() 356 optarg = nargv[optind++]; in getopt_internal() [all …]
|
/external/mesa3d/src/getopt/ |
D | getopt_long.c | 123 char * const *nargv) in permute_args() argument 144 swap = nargv[pos]; in permute_args() 146 ((char **) nargv)[pos] = nargv[cstart]; in permute_args() 148 ((char **)nargv)[cstart] = swap; in permute_args() 159 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument 231 optarg = nargv[optind++]; in parse_long_options() 277 getopt_internal(int nargc, char * const *nargv, const char *options, in getopt_internal() argument 318 optind, nargv); in getopt_internal() 331 if (*(place = nargv[optind]) != '-' || in getopt_internal() 339 optarg = nargv[optind++]; in getopt_internal() [all …]
|
/external/llvm-project/lldb/source/Host/common/ |
D | GetOptInc.cpp | 78 char *const *nargv) { in permute_args() argument 98 swap = nargv[pos]; in permute_args() 100 const_cast<char **>(nargv)[pos] = nargv[cstart]; in permute_args() 102 const_cast<char **>(nargv)[cstart] = swap; in permute_args() 112 static int parse_long_options(char *const *nargv, const char *options, in parse_long_options() argument 179 optarg = nargv[optind++]; in parse_long_options() 223 static int getopt_internal(int nargc, char *const *nargv, const char *options, in getopt_internal() argument 263 permute_args(nonopt_start, nonopt_end, optind, nargv); in getopt_internal() 275 if (*(place = nargv[optind]) != '-' || in getopt_internal() 283 optarg = nargv[optind++]; in getopt_internal() [all …]
|
/external/tcpdump/missing/ |
D | getopt_long.c | 140 char * const *nargv) in permute_args() argument 161 swap = nargv[pos]; in permute_args() 163 ((char **) nargv)[pos] = nargv[cstart]; in permute_args() 165 ((char **)nargv)[cstart] = swap; in permute_args() 189 parse_long_options(char * const *nargv, const char *options, in parse_long_options() argument 301 optarg = nargv[optind++]; in parse_long_options() 354 getopt_internal(int nargc, char * const *nargv, const char *options, argument 398 optind, nargv); 411 if (*(place = nargv[optind]) != '-' || 423 optarg = nargv[optind++]; [all …]
|
/external/libpcap/missing/ |
D | getopt.c | 59 getopt(int nargc, char * const *nargv, const char *ostr) in getopt() argument 67 if ((cp = strrchr(nargv[0], '/')) != NULL) in getopt() 70 __progname = nargv[0]; in getopt() 74 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt() 127 optarg = nargv[optind]; in getopt()
|
D | getopt.h | 7 extern int getopt(int nargc, char * const *nargv, const char *ostr);
|
/external/capstone/cstool/ |
D | getopt.h | 20 getopt (int nargc, char * const nargv[], const char *ostr) in getopt() argument 27 if (optind >= nargc || *(place = nargv[optind]) != '-') { in getopt() 68 optarg = nargv[optind]; in getopt()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_getopt.c | 66 ares_getopt(int nargc, char * const nargv[], const char *ostr) in ares_getopt() argument 73 if (optind >= nargc || *(place = nargv[optind]) != '-') { in ares_getopt() 117 optarg = nargv[optind]; in ares_getopt()
|
D | ares_getopt.h | 34 int ares_getopt(int nargc, char * const nargv[], const char *ostr);
|