| /freebsd-14-stable/contrib/netbsd-tests/lib/libc/stdlib/ |
| HD | h_getopt.c | 52 char *line, *ptr, *optstring = NULL, *result = NULL; in main() local 61 if (optstring) in main() 62 free(optstring); in main() 63 optstring = strtok(&line[6], WS); in main() 64 if (optstring == NULL) in main() 67 optstring = strdup(optstring); in main() 69 fprintf(stderr, "optstring = %s\n", optstring); in main() 103 while ((c = getopt(nargs, args, optstring)) != -1) { in main() 106 if ((ptr = strchr(optstring, c)) == NULL) { in main()
|
| HD | h_getopt_long.c | 54 char *line, *eptr, *longopt, *ptr, *optstring = NULL, *result = NULL; in main() local 67 if (optstring) in main() 68 free(optstring); in main() 69 optstring = strtok(&line[11], WS); in main() 70 if (optstring == NULL) in main() 73 optstring = strdup(optstring); in main() 177 if (optstring == NULL) in main() 185 while ((c = getopt_long(nargs, args, optstring, in main() 190 ptr = strchr(optstring, c); in main()
|
| /freebsd-14-stable/tools/regression/netinet/msocket/ |
| HD | msocket.c | 80 test_u_char(int optname, const char *optstring, u_char defaultv, in test_u_char() argument 97 socktype, optstring); in test_u_char() 100 socktype, optstring); in test_u_char() 103 "%d not %d", socktype, optstring, uc, defaultv); in test_u_char() 112 socktype, optstring); in test_u_char() 115 socktype, optstring); in test_u_char() 122 socktype, optstring); in test_u_char() 125 socktype, optstring); in test_u_char() 128 "%d not %d", socktype, optstring, uc, modifiedv); in test_u_char() 136 test_in_addr(int optname, const char *optstring, struct in_addr defaultv, in test_in_addr() argument [all …]
|
| /freebsd-14-stable/contrib/llvm-project/lldb/include/lldb/Host/common/ |
| HD | GetOptInc.h | 38 int getopt(int argc, char *const argv[], const char *optstring); 54 int getopt_long(int argc, char *const *argv, const char *optstring, 59 int getopt_long_only(int argc, char *const *argv, const char *optstring,
|
| /freebsd-14-stable/contrib/ntp/libntp/ |
| HD | getopt.c | 56 const char *optstring in ntp_getopt() argument 87 for (place = optstring; place != NULL && *place != '\0'; ++place) in ntp_getopt()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/source/Host/common/ |
| HD | OptionParser.cpp | 32 llvm::StringRef optstring, const Option *longopts, in Parse() argument 45 std::string opt_cstr = std::string(optstring); in Parse()
|
| /freebsd-14-stable/contrib/less/ |
| HD | option.c | 26 static constant char *optstring(constant char *s, char **p_str, constant char *printopt, constant c… 146 s = optstring(s, &str, propt('+'), NULL); in scan_option() 279 s = optstring(s, &str, printopt, o->odesc[1]); in scan_option() 589 static constant char * optstring(constant char *s, char **p_str, constant char *printopt, constant … in optstring() function
|
| /freebsd-14-stable/contrib/ncurses/progs/ |
| HD | tput.c | 77 usage(const char *optstring) in usage() argument 98 if (optstring != NULL) { in usage() 103 if (strchr(optstring, s[3]) == NULL) in usage()
|
| /freebsd-14-stable/contrib/llvm-project/lldb/include/lldb/Host/ |
| HD | OptionParser.h | 44 llvm::StringRef optstring, const Option *longopts,
|
| /freebsd-14-stable/usr.sbin/kbdcontrol/ |
| HD | kbdcontrol.c | 1286 const char *optstring = "L:P:"; in main() local 1288 const char *optstring = "A:a:b:df:iKk:Fl:L:P:r:x"; in main() 1293 while ((opt = getopt(argc, argv, optstring)) != -1) { in main() 1301 while ((opt = getopt(argc, argv, optstring)) != -1) in main()
|
| /freebsd-14-stable/usr.sbin/usbdump/ |
| HD | usbdump.c | 829 const char *optstring; in main() local 832 optstring = "b:d:hi:r:s:vw:f:"; in main() 833 while ((o = getopt(argc, argv, optstring)) != -1) { in main()
|
| /freebsd-14-stable/contrib/wpa/src/utils/ |
| HD | common.c | 382 int getopt(int argc, char *const argv[], const char *optstring) in getopt() argument 406 cp = os_strchr(optstring, optopt); in getopt()
|
| HD | common.h | 387 int getopt(int argc, char *const argv[], const char *optstring);
|
| /freebsd-14-stable/usr.sbin/bsdconfig/share/ |
| HD | common.subr | 85 # Define standard optstring arguments that should be supported by all programs 99 # following variable can be appended to your optstring argument to getopts,
|