/freebsd/contrib/kyua/m4/ |
H A D | getopt.m4 | 38 [whether getopt allows a + sign for POSIX behavior optreset], 54 while ((ch = getopt(argc, argv, "+a:")) != -1) { 83 dnl getopt(3) has an optreset global variable to reset internal state 85 dnl is only present in the BSD versions of getopt(3). 90 [whether getopt has optreset], 108 [Define to 1 if getopt has optreset]) 124 [for the optind value to reset getopt processing], 145 while ((ch = getopt(argc, argv, "+:a")) != -1) { 173 while ((ch = getopt(argc, argv, "b")) != -1) { 204 [Define to the optind value to reset getopt processing]) [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_disconnect.py | 11 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_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/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 ();
|
H A D | gnulib.mk | 39 lib_SOURCES += getopt.h getopt.c getopt1.c getopt_int.h
|
/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… 14 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 17 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… 18 …ompat/md5.h openbsd-compat/blf.h openbsd-compat/fnmatch.h openbsd-compat/getopt.h openbsd-compat/b… [all …]
|
/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/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/usr.bin/procstat/ |
H A D | procstat.c | 305 while ((ch = getopt(argc, argv, "abCcefHhijkLlM:N:nrSstvw:x")) != -1) { in main() 546 while ((ch = getopt(argc, argv, "")) != -1) { in cmdopt_none() 560 while ((ch = getopt(argc, argv, "v")) != -1) { in cmdopt_verbose() 577 while ((ch = getopt(argc, argv, "n")) != -1) { in cmdopt_signals() 594 while ((ch = getopt(argc, argv, "Ht")) != -1) { in cmdopt_rusage() 613 while ((ch = getopt(argc, argv, "C")) != -1) { in cmdopt_files()
|
/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/contrib/bmake/ |
H A D | getopt.c | 58 getopt(int nargc, char * const nargv[], const char *ostr) in getopt() function 161 while ((c = getopt(argc, argv, opts)) != EOF) {
|
/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()
|