/src/usr.bin/make/unit-tests/ |
opt-no-action-touch.mk | 1 # $NetBSD: opt-no-action-touch.mk,v 1.1 2021/01/30 12:46:38 rillig Exp $ 9 # opt-touch-jobs.mk contains the same test without the option -n. 12 .MAKEFLAGS: opt-touch-phony 13 .MAKEFLAGS: opt-touch-join 14 .MAKEFLAGS: opt-touch-use 15 .MAKEFLAGS: opt-touch-make 16 .MAKEFLAGS: opt-touch-regular 20 opt-touch-phony: .PHONY 25 opt-touch-join: .JOIN 30 opt-touch-use: .US [all...] |
opt-touch.mk | 1 # $NetBSD: opt-touch.mk,v 1.4 2020/11/14 14:13:09 rillig Exp $ 5 .MAKEFLAGS: -t opt-touch-phony opt-touch-join opt-touch-use opt-touch-make 7 opt-touch-phony: .PHONY 10 opt-touch-join: .JOIN 13 opt-touch-use: .USE 16 opt-touch-make: .MAKE 20 @files=$$(ls opt-touch-* 2>/dev/null | grep -v -e '\.' -e '\*'); [all...] |
opt-touch-jobs.mk | 1 # $NetBSD: opt-touch-jobs.mk,v 1.3 2025/05/18 06:24:27 rillig Exp $ 7 .MAKEFLAGS: opt-touch-phony 8 .MAKEFLAGS: opt-touch-join 9 .MAKEFLAGS: opt-touch-use 10 .MAKEFLAGS: opt-touch-make 14 opt-touch-phony: .PHONY 19 opt-touch-join: .JOIN 24 opt-touch-use: .USE 31 opt-touch-make: .MAKE 35 @files=$$(ls opt-touch-* 2>/dev/null | grep -v -e '\.' -e '\*'); [all...] |
opt-query.mk | 1 # $NetBSD: opt-query.mk,v 1.7 2022/08/18 05:37:05 rillig Exp $ 24 _!= touch -f opt-query-file.up-to-date 37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony 49 # expect: opt-query-file.out-of-date in compat mode: query status 1 50 # expect: opt-query-file.up-to-date in compat mode: query status 0 52 # expect: opt-query-file.out-of-date in jobs mode: query status 1 53 # expect: opt-query-file.up-to-date in jobs mode: query status 0 57 @rm -f opt-query-file.up-to-date 79 opt-query-file.out-of-date: ${MAKEFILE [all...] |
sh-flags.mk | 18 opt-ignerr.yes= -i 19 opt-jobs.yes= -j1 20 opt-loud.no= -d0 # side effect: make stdout unbuffered 21 opt-loud.yes= -dl # side effect: make stdout unbuffered 22 opt-no-action.yes= -n 23 opt-silent.yes= -s 24 opt-xtrace.yes= -dx 41 .for opt-ignerr in no yes 42 .for opt-jobs in no yes 43 .for opt-loud in no ye [all...] |
Makefile | 244 TESTS+= opt 245 TESTS+= opt-backwards 246 TESTS+= opt-chdir 247 TESTS+= opt-debug 248 TESTS+= opt-debug-all 249 TESTS+= opt-debug-archive 250 TESTS+= opt-debug-curdir 251 TESTS+= opt-debug-cond 252 TESTS+= opt-debug-dir 253 TESTS+= opt-debug-error [all...] |
/src/sys/netinet6/ |
dest6.c | 61 u_int8_t *opt; local in function:dest6_input 74 opt = (u_int8_t *)dstopts + sizeof(struct ip6_dest); 77 for (optlen = 0; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) { 78 if (*opt != IP6OPT_PAD1 && 79 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) { 84 switch (*opt) { 89 optlen = *(opt + 1) + 2; 92 erroff = *offp + (opt - (u_int8_t *)dstopts); 93 optlen = ip6_unknown_opt(opt, m, erroff);
|
/src/usr.bin/find/ |
option.c | 164 char *opt; local in function:find_create 167 opt = *argv; 169 if ((p = option(opt)) == NULL) 170 errx(1, "%s: unknown option", opt); 173 errx(1, "%s: requires additional arguments", opt); 175 new = (p->create)(&argv, p->token == N_OK, opt);
|
/src/usr.sbin/inetd/ |
ipsec.c | 129 int opt; local in function:ipsecsetup0 136 opt = IP_IPSEC_POLICY; 141 opt = IPV6_IPSEC_POLICY; 151 if (commit && setsockopt(fd, level, opt,
|
/src/tests/net/tcp/ |
tcp_shutdown.c | 90 int opt = 1; local in function:main 91 e = setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &opt, sizeof(opt));
|
/src/usr.bin/quota/ |
quotautil.c | 76 char *opt; local in function:hasquota 89 for (opt = strtok(optbuf, ","); opt; opt = strtok(NULL, ",")) { 90 if ((cp = strchr(opt, '=')) != NULL) 92 if (type == USRQUOTA && strcmp(opt, usrname) == 0) 94 if (type == GRPQUOTA && strcmp(opt, grpname) == 0) 97 if (!opt)
|
/src/lib/libwrap/ |
fix_options.c | 53 unsigned int opt; local in function:fix_options 105 opt = cp[IPOPT_OPTVAL]; 106 if (opt == IPOPT_LSRR || opt == IPOPT_SSRR) { 113 if (opt == IPOPT_EOL) 115 if (opt == IPOPT_NOP) {
|
/src/sbin/mount_puffs/ |
mount_puffs.c | 117 static void add_opt(char **opts, const char *opt) 121 *opts = erealloc(*opts, orig_len + 1 + strlen(opt) + 1); 124 strcpy(*opts, opt); 128 strcat(*opts, opt); 143 for (char *opt = optarg; (opt = strtok(opt, ",")) != NULL; opt = NULL) { local in function:main 144 if (strcmp(opt, "getargs") == 0) { 149 add_opt(&opts, opt); [all...] |
/src/usr.sbin/sdpd/ |
main.c | 69 int opt; local in function:main 73 while ((opt = getopt(argc, argv, "c:dG:g:hu:")) != -1) { 74 switch (opt) {
|
server.c | 150 int opt, fd; local in function:server_open_control 167 opt = 1; 168 if (setsockopt(fd, SOL_LOCAL, LOCAL_CREDS, &opt, sizeof(opt)) == -1)
|
/src/usr.sbin/sysinst/ |
wskbd.c | 93 menu_ent opt[__arraycount(kb_types)]; local in function:get_kb_encoding 103 memset(opt, 0, sizeof(opt)); 108 memset(&opt, 0, sizeof opt); 109 for (i = 0; i < __arraycount(opt); i++) { 111 opt[0].opt_name = MSG_unchanged; 113 opt[i].opt_name = kb_types[i].kb_name; 117 opt[i].opt_action = set_kb_encoding; 119 kb_menu = new_menu(MSG_Keyboard_type, opt, __arraycount(opt) [all...] |
/src/tests/lib/librefuse/ |
t_refuse_opt.c | 86 char* opt = NULL; local in function:ATF_TC_BODY 88 RL(fuse_opt_add_opt(&opt, "fo\\o")); 89 ATF_CHECK_STREQ(opt, "fo\\o"); 91 RL(fuse_opt_add_opt(&opt, "ba,r")); 92 ATF_CHECK_STREQ(opt, "fo\\o,ba,r"); 103 char* opt = NULL; local in function:ATF_TC_BODY 105 RL(fuse_opt_add_opt_escaped(&opt, "fo\\o")); 106 ATF_CHECK_STREQ(opt, "fo\\\\o"); 108 RL(fuse_opt_add_opt_escaped(&opt, "ba,r")); 109 ATF_CHECK_STREQ(opt, "fo\\\\o,ba\\,r") [all...] |
/src/lib/libpam/libpam/ |
pam_std_option.c | 76 options->opt[i].name = std_options[i].name; 81 options->opt[i].name = oo->name; 85 options->opt[i].name = NULL; 87 options->opt[i].bool = 0; 88 options->opt[i].arg = NULL; 97 if (options->opt[i].name == NULL) 99 arglen = strlen(options->opt[i].name); 100 if (strcmp(argv[j], options->opt[i].name) == 0) { 101 options->opt[i].bool = 1; 105 else if (strncmp(argv[j], options->opt[i].name, arglen 169 int i, opt; local in function:main [all...] |
/src/lib/libutil/ |
getmntopts.c | 64 getmntoptstr(mntoptparse_t mp, const char *opt) 69 if (strcasecmp(opt, m->m_option) == 0) 74 errx(1, errmsg, opt); 83 getmntoptnum(mntoptparse_t mp, const char *opt) 88 const char *val = getmntoptstr(mp, opt); 92 errx(1, "Missing %s argument", opt); 109 (*fun)(1, "Invalid %s argument `%s'", opt, val); 128 char *opt, *p; local in function:getmntopts 154 for (opt = mp->optbuf; (opt = strtok(opt, ",")) != NULL; opt = NULL) [all...] |
/src/usr.bin/menuc/ |
parse.y | 104 opt opt_list ";" 132 opt_list : "," opt 133 | opt_list "," opt 138 opt : NO EXIT { cur_menu->info->mopt |= MC_NOEXITOPT; } label
|
/src/usr.bin/passwd/ |
krb5_passwd.c | 82 krb5_get_init_creds_opt *opt; local in function:pwkrb5_process 142 ret = krb5_get_init_creds_opt_alloc(context, &opt); 148 krb5_get_init_creds_opt_set_tkt_life(opt, 300L); 149 krb5_get_init_creds_opt_set_forwardable(opt, FALSE); 150 krb5_get_init_creds_opt_set_proxiable(opt, FALSE); 154 krb5_get_init_creds_opt_free(context, opt); 167 opt); 169 krb5_get_init_creds_opt_free(context, opt); 238 krb5_arg (char ch, const char *opt) 247 ret = krb5_parse_name(defcontext, opt, &defprinc) 279 krb5_get_init_creds_opt *opt; local in function:krb5_chpw [all...] |
local_passwd.c | 68 char option[LINE_MAX], *key, *opt; local in function:getnewpasswd 112 opt = option; 113 key = strsep(&opt, ","); 114 if(pw_gensalt(salt, _PASSWORD_LEN, key, opt) == -1) {
|
/src/usr.bin/pwait/ |
pwait.c | 76 int opt, duplicate, status, immediately = 0; local in function:main 84 while ((opt = getopt(argc, argv, "ist:v")) != -1) { 85 switch (opt) {
|
/src/usr.bin/pwhash/ |
pwhash.c | 103 char option[LINE_MAX], *key, *opt; local in function:print_passwd 145 opt = option; 146 key = strsep(&opt, ","); 147 error = pw_gensalt(buf, _PASSWORD_LEN, key, opt); 153 opt = option; 154 key = strsep(&opt, ","); 155 error = pw_gensalt(buf, _PASSWORD_LEN, key, opt); 168 int opt; local in function:main 179 while ((opt = getopt(argc, argv, "kmpS:s:b:A:")) != -1) { 181 while ((opt = getopt(argc, argv, "kmpS:s:b:")) != -1) [all...] |
/src/usr.bin/tabs/ |
tabs.c | 55 const char *opt; member in struct:tabspec 137 if (arg[0] == tabspecs[j].opt[0] && 138 arg[1] == tabspecs[j].opt[1]) {
|