/freebsd/contrib/kyua/m4/ |
H A D | getopt.m4 | 30 dnl Checks if getopt(3) supports a + sign to enforce POSIX correctness. 32 dnl In the GNU implementation of getopt(3), we need to pass a + sign at 38 [whether getopt allows a + sign for POSIX behavior optreset], 54 while ((ch = getopt(argc, argv, "+a:")) != -1) { 77 [Define to 1 if getopt allows a + sign for POSIX behavior]) 81 dnl Checks if optreset exists to reset the processing of getopt(3) options. 83 dnl getopt(3) has an optreset global variable to reset internal state 84 dnl before calling getopt(3) again. However, optreset is not standard and 85 dnl is only present in the BSD versions of getopt(3). 90 [whether getopt has optreset], [all …]
|
/freebsd/contrib/atf/atf-c/ |
H A D | tp_test.c | 33 ATF_TC(getopt); 34 ATF_TC_HEAD(getopt, tc) in ATF_TC_HEAD() argument 40 ATF_TC_BODY(getopt, tc) in ATF_TC_BODY() argument 59 while ((ch = getopt(argc, argv, ":Z")) != -1) { in ATF_TC_BODY() 85 ATF_TP_ADD_TC(tp, getopt); in ATF_TP_ADD_TCS()
|
/freebsd/tools/build/cross-build/include/common/ |
H A D | getopt.h | 38 #define getopt __freebsd_getopt macro 48 #include_next <getopt.h> 50 #undef getopt 51 #define getopt(argc, argv, optstr) __freebsd_getopt(argc, argv, optstr) macro
|
/freebsd/contrib/atf/atf-c++/detail/ |
H A D | application_test.cpp | 57 while ((ch = ::getopt(argc, argv, ":Z")) != -1) { in main() 78 ATF_TEST_CASE_WITHOUT_HEAD(getopt); 79 ATF_TEST_CASE_BODY(getopt) in ATF_TEST_CASE_BODY() argument 89 ATF_ADD_TEST_CASE(tcs, getopt); in ATF_INIT_TEST_CASES()
|
/freebsd/contrib/wpa/wpa_supplicant/examples/p2p/ |
H A D | p2p_flush.py | 12 import getopt 122 options, args = getopt.getopt(sys.argv[1:],"hi:w:") 124 except getopt.GetoptError:
|
H A D | p2p_listen.py | 12 import getopt 123 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:") 125 except getopt.GetoptError:
|
H A D | p2p_disconnect.py | 11 import getopt 122 options, args = getopt.getopt(sys.argv[1:],"hi:w:") 124 except getopt.GetoptError:
|
H A D | p2p_stop_find.py | 10 import getopt 127 options, args = getopt.getopt(sys.argv[1:],"ht:i:w:") 129 except getopt.GetoptError:
|
H A D | p2p_find.py | 12 import getopt 133 options, args = getopt.getopt(sys.argv[1:],"hi:t:w:") 135 except getopt.GetoptError:
|
H A D | p2p_invite.py | 9 import getopt 151 options, args = getopt.getopt(sys.argv[1:],"hi:o:w:a:") 153 except getopt.GetoptError:
|
H A D | p2p_group_add.py | 9 import getopt 169 options, args = getopt.getopt(sys.argv[1:],"hi:p:f:o:w:") 171 except getopt.GetoptError:
|
H A D | p2p_connect.py | 11 import getopt 236 options, args = getopt.getopt(sys.argv[1:],"hi:m:a:p:g:w:") 238 except getopt.GetoptError:
|
/freebsd/usr.sbin/devctl/ |
H A D | devctl.c | 145 while ((ch = getopt(ac, av, "f")) != -1) in detach() 179 while ((ch = getopt(ac, av, "f")) != -1) in disable() 249 while ((ch = getopt(ac, av, "f")) != -1) in set_driver() 283 while ((ch = getopt(ac, av, "f")) != -1) in clear_driver() 329 while ((ch = getopt(ac, av, "f")) != -1) in delete() 403 while ((ch = getopt(ac, av, "d")) != -1) in reset()
|
/freebsd/crypto/openssh/ |
H A D | .depend | 5 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 6 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 7 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 8 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 9 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 10 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 11 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 12 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 13 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 14 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… [all …]
|
/freebsd/contrib/unifdef/win32/ |
H A D | Makefile.mingw | 6 unifdef.exe: unifdef.c win32/win32.c FreeBSD/getopt.c FreeBSD/err.c 10 win32.c ../FreeBSD/getopt.c ../FreeBSD/err.c && \
|
/freebsd/contrib/diff/lib/ |
H A D | getopt.h | 151 extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) 154 extern int getopt ();
|
/freebsd/usr.bin/procstat/ |
H A D | procstat.c | 310 while ((ch = getopt(argc, argv, "abCcefHhijkLlM:N:nrSstvw:x")) != -1) { in main() 551 while ((ch = getopt(argc, argv, "")) != -1) { in cmdopt_none() 565 while ((ch = getopt(argc, argv, "v")) != -1) { in cmdopt_verbose() 582 while ((ch = getopt(argc, argv, "n")) != -1) { in cmdopt_signals() 599 while ((ch = getopt(argc, argv, "Ht")) != -1) { in cmdopt_rusage() 618 while ((ch = getopt(argc, argv, "C")) != -1) { in cmdopt_files() 643 while ((ch = getopt(argc, argv, "v")) != -1) { in cmdopt_kqueue()
|
/freebsd/sbin/bectl/ |
H A D | bectl.c | 144 while ((opt = getopt(argc, argv, "tT")) != -1) { in bectl_cmd_activate() 208 while ((opt = getopt(argc, argv, "e:r")) != -1) { in bectl_cmd_create() 369 while ((opt = getopt(argc, argv, "Fo")) != -1) { in bectl_cmd_destroy() 498 while ((opt = getopt(argc, argv, "f")) != -1) { in bectl_cmd_unmount() 553 while ((opt = getopt(argc, argv, "hr:")) != -1) { in main()
|
/freebsd/contrib/byacc/ |
H A D | config_h.in | 24 /* Define if you have the `getopt' function. */ 27 /* Define if you have the <getopt.h> header file. */ 30 /* Define to 1 if getopt variables are declared in header */ 81 /* Define to 1 if we must include getopt.h */
|
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/ |
H A D | t_getopt.sh | 50 atf_test_case getopt 121 atf_add_test_case getopt
|
/freebsd/contrib/bmake/mk/ |
H A D | setopts.sh | 135 set -- `getopt $_opt_str "$@" 2>&1` 137 getopt:)
|
/freebsd/contrib/ntp/sntp/libevent/WIN32-Code/ |
H A D | getopt.c | 45 __weak_alias(getopt,_getopt); 83 getopt(nargc, nargv, ostr) in getopt() function
|
/freebsd/contrib/libevent/WIN32-Code/ |
H A D | getopt.c | 45 __weak_alias(getopt,_getopt); 83 getopt(nargc, nargv, ostr) in getopt() function
|
/freebsd/stand/common/ |
H A D | nvstore.c | 71 while ((c = getopt(argc, argv, "l")) != -1) { in command_nvstore() 118 while ((c = getopt(argc, argv, "d:g:lt:")) != -1) { in command_nvstore()
|
/freebsd/contrib/libfido2/tools/ |
H A D | token.c | 313 while ((ch = getopt(argc, argv, TOKEN_OPT)) != -1) { in token_info() 466 while ((ch = getopt(argc, argv, TOKEN_OPT)) != -1) { in token_get() 513 while ((ch = getopt(argc, argv, TOKEN_OPT)) != -1) { in token_set() 619 while ((ch = getopt(argc, argv, TOKEN_OPT)) != -1) { in token_list() 686 while ((ch = getopt(argc, argv, TOKEN_OPT)) != -1) { in token_delete()
|