/freebsd-10-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | h_getopt.c | 52 char *line, *ptr, *optstring = NULL, *result = NULL; local 61 if (optstring) 62 free(optstring); 63 optstring = strtok(&line[6], WS); 64 if (optstring == NULL) 65 errx(1, "missing optstring at line %ld", 67 optstring = strdup(optstring); 69 fprintf(stderr, "optstring = %s\n", optstring); [all...] |
H A D | h_getopt_long.c | 54 char *line, *eptr, *longopt, *ptr, *optstring = NULL, *result = NULL; local 66 if (strncmp(line, "optstring:", 10) == 0) { 67 if (optstring) 68 free(optstring); 69 optstring = strtok(&line[11], WS); 70 if (optstring == NULL) 71 errx(1, "missing optstring at line %ld", 73 optstring = strdup(optstring); 177 if (optstring [all...] |
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
H A D | Getopt.java | 48 private String optstring; field in class:Getopt 74 optstring = optionString; 91 if (optstring == null) { 121 if (opterr && optstring.charAt(0) != ':') { 132 * (optstring) as a regular, single character option. If the option 133 * is found, return an index into optstring where the short-option 138 parseshort(String optstring, char c) argument 145 int len = optstring.length(); 147 ch = optstring.charAt(i); 153 for (++i; i < len && (ch = optstring 185 parselong(String optstring, String opt, StringRef longoptarg) argument [all...] |
/freebsd-10-stable/bin/pax/ |
H A D | getoldopt.c | 25 getoldopt(int argc, char **argv, const char *optstring) argument 45 return (getopt(argc, argv, optstring)); 52 place = strchr(optstring, c);
|
/freebsd-10-stable/tools/regression/netinet/msocket/ |
H A D | msocket.c | 79 * 'optstring' is used in printing warnings and errors as needed. 82 test_u_char(int optname, const char *optstring, u_char defaultv, argument 99 socktype, optstring); 102 socktype, optstring); 105 "%d not %d", socktype, optstring, uc, defaultv); 114 socktype, optstring); 117 socktype, optstring); 124 socktype, optstring); 127 socktype, optstring); 130 "%d not %d", socktype, optstring, u 138 test_in_addr(int optname, const char *optstring, struct in_addr defaultv, struct in_addr modifiedv, struct in_addr fakev, const char *socktype, int sock, int flags) argument [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/include/lldb/Host/ |
H A D | OptionParser.h | 47 const char *optstring,
|
/freebsd-10-stable/contrib/gcclibs/libiberty/ |
H A D | getopt.c | 406 const char *optstring) 420 if (optstring[0] == '-') 423 ++optstring; 425 else if (optstring[0] == '+') 428 ++optstring; 465 return optstring; 526 _getopt_internal (int argc, char *const *argv, const char *optstring, 536 optstring = _getopt_initialize (argc, argv, optstring); 646 || (long_only && (argv[optind][2] || !my_index (optstring, arg 401 _getopt_initialize(int argc ATTRIBUTE_UNUSED, char *const *argv ATTRIBUTE_UNUSED, const char *optstring) argument 522 _getopt_internal(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) argument 974 getopt(int argc, char *const *argv, const char *optstring) argument [all...] |
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/ |
H A D | OptionParser.cpp | 39 const char *optstring, 43 return getopt_long_only(argc, argv, optstring, (const option*)longopts, longindex); 37 Parse(int argc, char * const argv [], const char *optstring, const Option *longopts, int *longindex) argument
|
/freebsd-10-stable/contrib/ntp/libntp/ |
H A D | getopt.c | 56 const char *optstring 87 for (place = optstring; place != NULL && *place != '\0'; ++place)
|
/freebsd-10-stable/contrib/less/ |
H A D | option.c | 26 static char *optstring(); 149 s = optstring(s, &str, propt('+'), NULL); 269 s = optstring(s, &str, printopt, o->odesc[1]); 565 optstring(s, p_str, printopt, validchars) function
|
/freebsd-10-stable/bin/sh/ |
H A D | options.c | 423 error("usage: getopts optstring var [arg]"); 541 nextopt(const char *optstring) argument 556 for (q = optstring ; *q != c ; ) {
|
/freebsd-10-stable/contrib/wpa/src/utils/ |
H A D | common.c | 252 int getopt(int argc, char *const argv[], const char *optstring) argument 276 cp = os_strchr(optstring, optopt);
|
H A D | common.h | 341 int getopt(int argc, char *const argv[], const char *optstring);
|
/freebsd-10-stable/usr.sbin/usbdump/ |
H A D | usbdump.c | 810 const char *optstring; local 813 optstring = "b:hi:r:s:vw:f:"; 814 while ((o = getopt(argc, argv, optstring)) != -1) {
|
/freebsd-10-stable/contrib/file/src/ |
H A D | file.c | 64 int getopt_long(int argc, char * const *argv, const char *optstring, const struct option *longopts, int *longindex);
|
/freebsd-10-stable/usr.sbin/lmcconfig/ |
H A D | lmcconfig.c | 2153 char *optstring = "13a:bBcCdDeEf:Fhi:L:mM:pP:sS:tT:uUvVwW:xXyYzZ?"; 2199 while (((ch = getopt(argc, argv, optstring)) != -1) && (argc > 2)) 2152 char *optstring = "13a:bBcCdDeEf:Fhi:L:mM:pP:sS:tT:uUvVwW:xXyYzZ?"; local
|