Symbol: option
bin/chmod/chmod.c
64
struct option chmod_longopts[] = {
bin/ksh/c_test.c
242
if ((res = option(opnd1)) < 0)
bin/ksh/c_ulimit.c
144
*p++ = l->option;
bin/ksh/c_ulimit.c
165
for (l = limits; l->name && l->option != what; l++)
bin/ksh/c_ulimit.c
60
char option;
bin/ksh/misc.c
135
const struct option goptions[] = {
bin/ksh/misc.c
410
i = option(go.optarg);
bin/ksh/proto.h
184
int option ARGS((const char *));
bin/ksh/sh.h
269
extern const struct option goptions[];
bin/pax/extern.h
194
struct option;
bin/pax/extern.h
195
int getoldopt(int, char **, const char *, struct option *, int *);
bin/pax/getoldopt.c
37
struct option *longopts, int *idx)
bin/pax/options.c
1436
struct option cpio_longopts[] = {
bin/pax/options.c
255
struct option pax_longopts[] = {
bin/pax/options.c
758
struct option tar_longopts[] = {
bin/sh/miscbltin.c
562
char option;
bin/sh/miscbltin.c
680
for (l = limits; l->name && l->option != what; l++)
bin/sh/miscbltin.c
719
out1fmt("%-13s (-%c %-11s) ", l->name, l->option,
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1569
int option = -1;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1630
option = UDP_ENCAP_ESPINUDP;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1633
option = UDP_ENCAP_ESPINUDP_NON_IKE;
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1635
if (option == -1)
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1639
UDP_ENCAP, &option,
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1640
sizeof(option)) < 0) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
1643
option == UDP_ENCAP_ESPINUDP ? "UDP_ENCAP_ESPINUDP" : "UDP_ENCAP_ESPINUDP_NON_IKE",
dist/pf/sbin/pfctl/parse.y
477
| ruleset option '\n'
dist/pf/sbin/pfctl/parse.y
519
option : SET OPTIMIZATION STRING {
distrib/utils/more/extern.h
77
int option __P((int, char **));
distrib/utils/more/main.c
264
(void)option(envargc, envargv);
distrib/utils/more/main.c
266
argcnt = option(argc, argv);
games/battlestar/room.c
116
truedirec(int way, int option)
games/battlestar/room.c
125
return (option == '+' ? "behind you" :
games/battlestar/room.c
137
return (option == '+' ? "behind you" :
games/battlestar/room.c
157
return (option == '+' ? "behind you" :
games/battlestar/room.c
169
return (option == '+' ? "behind you" :
games/hunt/hunt/hunt.c
296
int option;
games/hunt/hunt/hunt.c
301
option = 1;
games/hunt/hunt/hunt.c
303
&option, sizeof option) < 0)
games/hunt/hunt/server.c
206
int option;
games/hunt/hunt/server.c
245
option = 1;
games/hunt/hunt/server.c
247
&option, sizeof option) < 0) {
games/phantasia/interplayer.c
672
const char *option; /* pointer to option description */
games/phantasia/interplayer.c
692
option = "transport";
games/phantasia/interplayer.c
697
option = "curse";
games/phantasia/interplayer.c
726
option = "give gold to";
games/phantasia/interplayer.c
774
option = "heal";
games/phantasia/interplayer.c
796
option = "throw a monster at";
games/phantasia/interplayer.c
804
option = "relocate";
games/phantasia/interplayer.c
809
option = "bless";
games/phantasia/interplayer.c
815
option = "vaporize";
games/phantasia/interplayer.c
831
mvprintw(4, 0, "Who do you want to %s ? ", option);
games/rogue/room.c
626
const struct option *opt = &options[i];
games/rogue/room.c
641
const struct option *opt = &options[i];
include/getopt.h
61
const struct option *, int *);
lib/libc/arch/riscv/SYS.h
40
.option push ;\
lib/libc/arch/riscv/SYS.h
41
.option norelax ;\
lib/libc/arch/riscv/SYS.h
43
.option pop
lib/libc/citrus/modules/citrus_utf7.c
148
static const char option[] = "!\"#$%&';<=>@[]^_`{|}";
lib/libc/citrus/modules/citrus_utf7.c
581
FILL(option, EI_OPTION);
lib/libc/resolv/res_debug.c
673
p_option(u_long option) {
lib/libc/resolv/res_debug.c
675
switch (option) {
lib/libc/resolv/res_debug.c
707
default: snprintf(p_option_nbuf, sizeof(p_option_nbuf), "?0x%lx?", (u_long)option);
lib/libc/stdlib/getopt_long.c
342
const struct option *long_options, int *idx)
lib/libcrypt/bcrypt.c
150
__gensalt_blowfish(char *salt, size_t saltlen, const char *option)
lib/libcrypt/bcrypt.c
162
if (option == NULL) {
lib/libcrypt/bcrypt.c
166
nrounds = strtoul(option, &ep, 0);
lib/libcrypt/bcrypt.c
167
if (option == ep || *ep) {
lib/libcrypt/crypt-argon2.c
253
decode_option(argon2_context *ctx, argon2_type *atype, const char *option)
lib/libcrypt/crypt-argon2.c
262
in = (char *)strdup(option);
lib/libcrypt/pw_gensalt.c
108
if (getnum(option, &nrounds) == -1)
lib/libcrypt/pw_gensalt.c
125
__gensalt_md5(char *salt, size_t saltsiz, const char *option)
lib/libcrypt/pw_gensalt.c
142
__gensalt_sha1(char *salt, size_t saltsiz, const char *option)
lib/libcrypt/pw_gensalt.c
147
if (getnum(option, &nrounds) == -1)
lib/libcrypt/pw_gensalt.c
167
const char *option, argon2_type atype)
lib/libcrypt/pw_gensalt.c
179
if (option == NULL) {
lib/libcrypt/pw_gensalt.c
183
in = strdup(option);
lib/libcrypt/pw_gensalt.c
237
const char *option, argon2_type atype)
lib/libcrypt/pw_gensalt.c
245
sizeof(buf), option, atype)) < 0) {
lib/libcrypt/pw_gensalt.c
269
__gensalt_argon2id(char *salt, size_t saltsiz, const char *option)
lib/libcrypt/pw_gensalt.c
271
return __gensalt_argon2(salt, saltsiz, option, Argon2_id);
lib/libcrypt/pw_gensalt.c
275
__gensalt_argon2i(char *salt, size_t saltsiz, const char *option)
lib/libcrypt/pw_gensalt.c
277
return __gensalt_argon2(salt, saltsiz, option, Argon2_i);
lib/libcrypt/pw_gensalt.c
281
__gensalt_argon2d(char *salt, size_t saltsiz, const char *option)
lib/libcrypt/pw_gensalt.c
283
return __gensalt_argon2(salt, saltsiz, option, Argon2_d);
lib/libcrypt/pw_gensalt.c
290
pw_gensalt(char *salt, size_t saltlen, const char *type, const char *option)
lib/libcrypt/pw_gensalt.c
296
return (*sp->gensalt)(salt, saltlen, option);
lib/libcrypt/pw_gensalt.c
86
__gensalt_old(char *salt, size_t saltsiz, const char *option)
lib/libcrypt/pw_gensalt.c
99
__gensalt_new(char *salt, size_t saltsiz, const char* option)
lib/libpam/libpam/pam_std_option.c
121
pam_test_option(struct options *options, enum opt option, char **arg)
lib/libpam/libpam/pam_std_option.c
124
*arg = options->opt[option].arg;
lib/libpam/libpam/pam_std_option.c
125
return options->opt[option].bool;
lib/libpam/libpam/pam_std_option.c
130
pam_set_option(struct options *options, enum opt option)
lib/libpam/libpam/pam_std_option.c
132
if (option < PAM_OPT_STD_MAX)
lib/libpam/libpam/pam_std_option.c
133
options->opt[option].bool = 1;
lib/libpam/libpam/pam_std_option.c
137
option);
lib/libpam/libpam/pam_std_option.c
143
pam_clear_option(struct options *options, enum opt option)
lib/libpam/libpam/pam_std_option.c
145
if (option < PAM_OPT_STD_MAX)
lib/libpam/libpam/pam_std_option.c
146
options->opt[option].bool = 0;
lib/libpam/libpam/pam_std_option.c
150
option);
lib/libpam/modules/pam_unix/pam_unix.c
542
char option[LINE_MAX], *key, *opt;
lib/libpam/modules/pam_unix/pam_unix.c
599
pw_getpwconf(option, sizeof(option), pwd,
lib/libpam/modules/pam_unix/pam_unix.c
604
opt = option;
lib/libutil/if_media.c
146
int option, rval = 0;
lib/libutil/if_media.c
162
option = lookup_media_word(ifm_option_descriptions, type, str);
lib/libutil/if_media.c
163
if (option != -1) {
lib/libutil/if_media.c
164
rval |= IFM_OPTIONS(option);
lib/libutil/passwd.c
556
pw_default(const char *option)
lib/libutil/passwd.c
564
_DIAGASSERT(option != NULL);
lib/libutil/passwd.c
566
if (strcmp(options[i][0], option) == 0)
lib/libutil/passwd.c
578
pw_getconf(char *data, size_t max, const char *key, const char *option)
lib/libutil/passwd.c
588
_DIAGASSERT(option != NULL);
lib/libutil/passwd.c
595
if ((cp = pw_default(option)) != NULL)
lib/libutil/passwd.c
621
if (!strncmp(p, option, strlen(option))) {
lib/libutil/passwd.c
63
static const char *pw_default(const char *option);
lib/libutil/passwd.c
642
(cp = pw_default(option)) != NULL)
lib/libutil/passwd.c
650
const char *option)
lib/libutil/passwd.c
656
pw_getconf(data, max, pwd->pw_name, option);
lib/libutil/passwd.c
664
pw_getconf(data, max, grpkey, option);
lib/libutil/passwd.c
667
pw_getconf(data, max, "default", option);
lib/libwrap/options.c
135
static struct option option_table[] = {
lib/libwrap/options.c
162
struct option *op;
lib/lua/syslog/syslog.c
45
int option;
lib/lua/syslog/syslog.c
49
option = luaL_checkinteger(L, 2);
lib/lua/syslog/syslog.c
51
openlog(ident, option, facility);
libexec/telnetd/state.c
1021
set_my_want_state_wont(option);
libexec/telnetd/state.c
1022
if (my_state_is_will(option))
libexec/telnetd/state.c
1023
send_wont(option, 0);
libexec/telnetd/state.c
1024
set_my_state_wont(option);
libexec/telnetd/state.c
1026
send_will(option, 1);
libexec/telnetd/state.c
1034
set_my_want_state_wont(option);
libexec/telnetd/state.c
1035
if (my_state_is_will(option))
libexec/telnetd/state.c
1036
send_wont(option, 0);
libexec/telnetd/state.c
1038
set_my_state_wont(option);
libexec/telnetd/state.c
411
send_do(int option, int init)
libexec/telnetd/state.c
414
if ((do_dont_resp[option] == 0 && his_state_is_will(option)) ||
libexec/telnetd/state.c
415
his_want_state_is_will(option))
libexec/telnetd/state.c
422
if (option == TELOPT_TM)
libexec/telnetd/state.c
423
set_his_want_state_wont(option);
libexec/telnetd/state.c
425
set_his_want_state_will(option);
libexec/telnetd/state.c
426
do_dont_resp[option]++;
libexec/telnetd/state.c
428
(void) output_data("%c%c%c", IAC, DO, option);
libexec/telnetd/state.c
430
DIAG(TD_OPTIONS, printoption("td: send do", option));
libexec/telnetd/state.c
446
willoption(int option)
libexec/telnetd/state.c
455
DIAG(TD_OPTIONS, printoption("td: recv will", option));
libexec/telnetd/state.c
457
if (do_dont_resp[option]) {
libexec/telnetd/state.c
458
do_dont_resp[option]--;
libexec/telnetd/state.c
459
if (do_dont_resp[option] && his_state_is_will(option))
libexec/telnetd/state.c
460
do_dont_resp[option]--;
libexec/telnetd/state.c
462
if (do_dont_resp[option] == 0) {
libexec/telnetd/state.c
463
if (his_want_state_is_wont(option)) {
libexec/telnetd/state.c
464
switch (option) {
libexec/telnetd/state.c
570
set_his_want_state_will(option);
libexec/telnetd/state.c
571
send_do(option, 0);
libexec/telnetd/state.c
573
do_dont_resp[option]++;
libexec/telnetd/state.c
574
send_dont(option, 0);
libexec/telnetd/state.c
582
switch (option) {
libexec/telnetd/state.c
589
send_dont(option, 1);
libexec/telnetd/state.c
636
set_his_state_will(option);
libexec/telnetd/state.c
642
send_dont(int option, int init)
libexec/telnetd/state.c
645
if ((do_dont_resp[option] == 0 && his_state_is_wont(option)) ||
libexec/telnetd/state.c
646
his_want_state_is_wont(option))
libexec/telnetd/state.c
648
set_his_want_state_wont(option);
libexec/telnetd/state.c
649
do_dont_resp[option]++;
libexec/telnetd/state.c
651
(void) output_data("%c%c%c", IAC, DONT, option);
libexec/telnetd/state.c
653
DIAG(TD_OPTIONS, printoption("td: send dont", option));
libexec/telnetd/state.c
657
wontoption(int option)
libexec/telnetd/state.c
663
DIAG(TD_OPTIONS, printoption("td: recv wont", option));
libexec/telnetd/state.c
665
if (do_dont_resp[option]) {
libexec/telnetd/state.c
666
do_dont_resp[option]--;
libexec/telnetd/state.c
667
if (do_dont_resp[option] && his_state_is_wont(option))
libexec/telnetd/state.c
668
do_dont_resp[option]--;
libexec/telnetd/state.c
670
if (do_dont_resp[option] == 0) {
libexec/telnetd/state.c
671
if (his_want_state_is_will(option)) {
libexec/telnetd/state.c
673
switch (option) {
libexec/telnetd/state.c
759
set_his_want_state_wont(option);
libexec/telnetd/state.c
760
if (his_state_is_will(option))
libexec/telnetd/state.c
761
send_dont(option, 0);
libexec/telnetd/state.c
763
switch (option) {
libexec/telnetd/state.c
785
set_his_state_wont(option);
libexec/telnetd/state.c
790
send_will(int option, int init)
libexec/telnetd/state.c
793
if ((will_wont_resp[option] == 0 && my_state_is_will(option))||
libexec/telnetd/state.c
794
my_want_state_is_will(option))
libexec/telnetd/state.c
796
set_my_want_state_will(option);
libexec/telnetd/state.c
797
will_wont_resp[option]++;
libexec/telnetd/state.c
799
(void) output_data("%c%c%c", IAC, WILL, option);
libexec/telnetd/state.c
801
DIAG(TD_OPTIONS, printoption("td: send will", option));
libexec/telnetd/state.c
816
dooption(int option)
libexec/telnetd/state.c
824
DIAG(TD_OPTIONS, printoption("td: recv do", option));
libexec/telnetd/state.c
826
if (will_wont_resp[option]) {
libexec/telnetd/state.c
827
will_wont_resp[option]--;
libexec/telnetd/state.c
828
if (will_wont_resp[option] && my_state_is_will(option))
libexec/telnetd/state.c
829
will_wont_resp[option]--;
libexec/telnetd/state.c
831
if ((will_wont_resp[option] == 0) && (my_want_state_is_wont(option))) {
libexec/telnetd/state.c
832
switch (option) {
libexec/telnetd/state.c
895
send_will(option, 0);
libexec/telnetd/state.c
896
set_my_want_state_wont(option);
libexec/telnetd/state.c
897
set_my_state_wont(option);
libexec/telnetd/state.c
932
set_my_want_state_will(option);
libexec/telnetd/state.c
933
send_will(option, 0);
libexec/telnetd/state.c
935
will_wont_resp[option]++;
libexec/telnetd/state.c
936
send_wont(option, 0);
libexec/telnetd/state.c
939
set_my_state_will(option);
libexec/telnetd/state.c
944
send_wont(int option, int init)
libexec/telnetd/state.c
947
if ((will_wont_resp[option] == 0 && my_state_is_wont(option)) ||
libexec/telnetd/state.c
948
my_want_state_is_wont(option))
libexec/telnetd/state.c
950
set_my_want_state_wont(option);
libexec/telnetd/state.c
951
will_wont_resp[option]++;
libexec/telnetd/state.c
953
(void) output_data("%c%c%c", IAC, WONT, option);
libexec/telnetd/state.c
955
DIAG(TD_OPTIONS, printoption("td: send wont", option));
libexec/telnetd/state.c
959
dontoption(int option)
libexec/telnetd/state.c
966
DIAG(TD_OPTIONS, printoption("td: recv dont", option));
libexec/telnetd/state.c
968
if (will_wont_resp[option]) {
libexec/telnetd/state.c
969
will_wont_resp[option]--;
libexec/telnetd/state.c
970
if (will_wont_resp[option] && my_state_is_wont(option))
libexec/telnetd/state.c
971
will_wont_resp[option]--;
libexec/telnetd/state.c
973
if ((will_wont_resp[option] == 0) && (my_want_state_is_will(option))) {
libexec/telnetd/state.c
974
switch (option) {
libexec/telnetd/utility.c
512
printoption(const char *fmt, int option)
libexec/telnetd/utility.c
514
if (TELOPT_OK(option))
libexec/telnetd/utility.c
515
output_data("%s %s\r\n", fmt, TELOPT(option));
libexec/telnetd/utility.c
516
else if (TELCMD_OK(option))
libexec/telnetd/utility.c
517
output_data("%s %s\r\n", fmt, TELCMD(option));
libexec/telnetd/utility.c
519
output_data("%s %d\r\n", fmt, option);
libexec/tftpd/tftpd.c
605
char *option, *value, *endp;
libexec/tftpd/tftpd.c
610
option = cp;
libexec/tftpd/tftpd.c
630
if (strcmp(op->o_name, option) == 0)
sbin/chown/chown.c
73
struct option chown_longopts[] = {
sbin/efi/main.c
266
static struct option longopts[] = {
sbin/mount/mount.c
337
hasopt(const char *mntopts, const char *option)
sbin/mount/mount.c
342
if (option[0] == 'n' && option[1] == 'o') {
sbin/mount/mount.c
344
option += 2;
sbin/mount/mount.c
351
if (!strcasecmp(opt + 2, option))
sbin/mount/mount.c
353
} else if (!strcasecmp(opt, option))
sbin/raidctl/raidctl.c
1066
do_meter(int fd, u_long option)
sbin/raidctl/raidctl.c
1090
do_ioctl(fd, option, pInfoPtr, "");
sbin/raidctl/raidctl.c
1153
do_ioctl( fd, option, pInfoPtr, "");
sys/arch/aarch64/aarch64/disasm.c
1004
if ((r = regoffset_option_to_r(option)) < 0) {
sys/arch/aarch64/aarch64/disasm.c
1015
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
1024
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
1103
OP6FUNC(op_add_extreg, sf, Rm, option, imm3, Rn, Rd)
sys/arch/aarch64/aarch64/disasm.c
1105
extendreg_common(di, pc, insn, sf, Rm, option, imm3, Rn, Rd,
sys/arch/aarch64/aarch64/disasm.c
1140
OP6FUNC(op_adds_extreg, sf, Rm, option, imm3, Rn, Rd)
sys/arch/aarch64/aarch64/disasm.c
1143
extendreg_common(di, pc, insn, sf, Rm, option, imm3, Rn, Rd,
sys/arch/aarch64/aarch64/disasm.c
1566
OP6FUNC(op_subs_extreg, sf, Rm, option, imm3, Rn, Rd)
sys/arch/aarch64/aarch64/disasm.c
1569
extendreg_common(di, pc, insn, sf, Rm, option, imm3, Rn, Rd,
sys/arch/aarch64/aarch64/disasm.c
1961
OP6FUNC(op_ldr_reg, size, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
1963
regoffset_x_common(di, pc, insn, size, Rm, option, shift, Rn, Rt,
sys/arch/aarch64/aarch64/disasm.c
1997
OP5FUNC(op_ldrb_reg, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
1999
regoffset_b_common(di, pc, insn, Rm, option, shift, Rn, Rt, "ldrb");
sys/arch/aarch64/aarch64/disasm.c
2032
OP5FUNC(op_ldrh_reg, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
2034
regoffset_h_common(di, pc, insn, Rm, option, shift, Rn, Rt, 0, "ldrh");
sys/arch/aarch64/aarch64/disasm.c
2067
OP6FUNC(op_ldrsb_reg, opc, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
2069
regoffset_b_common(di, pc, insn, Rm, option, shift, Rn, Rt, "ldrsb");
sys/arch/aarch64/aarch64/disasm.c
2102
OP6FUNC(op_ldrsh_reg, opc, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
2104
regoffset_h_common(di, pc, insn, Rm, option, shift, Rn, Rt, opc ^ 1,
sys/arch/aarch64/aarch64/disasm.c
2145
OP5FUNC(op_ldrsw_reg, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
2147
regoffset_w_common(di, pc, insn, Rm, option, shift, Rn, Rt, "ldrsw");
sys/arch/aarch64/aarch64/disasm.c
2673
OP5FUNC(op_prfm_reg, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
2677
if ((r = regoffset_option_to_r(option)) < 0) {
sys/arch/aarch64/aarch64/disasm.c
2687
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
2694
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
2948
OP6FUNC(op_str_reg, size, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
2950
regoffset_x_common(di, pc, insn, size, Rm, option, shift, Rn, Rt,
sys/arch/aarch64/aarch64/disasm.c
2984
OP5FUNC(op_strb_reg, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
2986
regoffset_b_common(di, pc, insn, Rm, option, shift, Rn, Rt, "strb");
sys/arch/aarch64/aarch64/disasm.c
3019
OP5FUNC(op_strh_reg, Rm, option, shift, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
3021
regoffset_h_common(di, pc, insn, Rm, option, shift, Rn, Rt, 0, "strh");
sys/arch/aarch64/aarch64/disasm.c
3140
OP6FUNC(op_sub_extreg, sf, Rm, option, imm3, Rn, Rd)
sys/arch/aarch64/aarch64/disasm.c
3142
extendreg_common(di, pc, insn, sf, Rm, option, imm3, Rn, Rd,
sys/arch/aarch64/aarch64/disasm.c
3397
OP7FUNC(op_simd_ldstr_reg, size, opc, Rm, option, S, Rn, Rt)
sys/arch/aarch64/aarch64/disasm.c
3407
if ((r = regoffset_option_to_r(option)) < 0) {
sys/arch/aarch64/aarch64/disasm.c
3418
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
3427
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
799
uint64_t sf, uint64_t Rm, uint64_t option, uint64_t imm3,
sys/arch/aarch64/aarch64/disasm.c
803
const int r = (sf == 0) ? 0 : ((option & 3) == 3) ? 1 : 0;
sys/arch/aarch64/aarch64/disasm.c
815
if (!((sf == 0) && (option == 2)) &&
sys/arch/aarch64/aarch64/disasm.c
816
!((sf != 0) && (option == 3))) {
sys/arch/aarch64/aarch64/disasm.c
818
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
824
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
831
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
874
regoffset_option_to_r(uint64_t option)
sys/arch/aarch64/aarch64/disasm.c
876
switch (option) {
sys/arch/aarch64/aarch64/disasm.c
890
uint64_t Rm, uint64_t option, uint64_t shift, uint64_t Rn, uint64_t Rt,
sys/arch/aarch64/aarch64/disasm.c
895
if ((r = regoffset_option_to_r(option)) < 0) {
sys/arch/aarch64/aarch64/disasm.c
906
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
914
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
922
uint64_t Rm, uint64_t option, uint64_t shift, uint64_t Rn, uint64_t Rt,
sys/arch/aarch64/aarch64/disasm.c
927
if ((r = regoffset_option_to_r(option)) < 0) {
sys/arch/aarch64/aarch64/disasm.c
932
if ((shift == 0) && (option == 3)) {
sys/arch/aarch64/aarch64/disasm.c
944
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
952
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
960
uint64_t Rm, uint64_t option, uint64_t shift, uint64_t Rn, uint64_t Rt,
sys/arch/aarch64/aarch64/disasm.c
965
if ((r = regoffset_option_to_r(option)) < 0) {
sys/arch/aarch64/aarch64/disasm.c
970
if ((shift == 0) && (option == 3)) {
sys/arch/aarch64/aarch64/disasm.c
982
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
990
SHIFTOP8(option,
sys/arch/aarch64/aarch64/disasm.c
998
uint64_t size, uint64_t Rm, uint64_t option, uint64_t shift,
sys/arch/alpha/alpha/cpuconf.c
275
c->option);
sys/arch/alpha/alpha/cpuconf.c
287
(c != NULL) ? c->option : "???");
sys/arch/alpha/include/cpuconf.h
92
const char *option;
sys/arch/arm/samsung/exynos_platform.c
124
const uint32_t option = EXYNOS5800_PMU_USE_L2_COMMON_UP_STATE |
sys/arch/arm/samsung/exynos_platform.c
128
bus_space_write_4(bst, pmu_bsh, EXYNOS5800_PMU_COMMON_OPTION(0), val | option);
sys/arch/arm/samsung/exynos_platform.c
130
bus_space_write_4(bst, pmu_bsh, EXYNOS5800_PMU_COMMON_OPTION(1), val | option);
sys/arch/emips/emips/sysconf.c
79
sysinit[systype].option);
sys/arch/emips/emips/sysconf.c
90
typestr = sysinit[systype].option;
sys/arch/emips/include/sysconf.h
77
const char *option;
sys/arch/ews4800mips/ews4800mips/machdep.c
107
option(argc, argv, bi);
sys/arch/ews4800mips/ews4800mips/machdep.c
77
void option(int, char *[], struct bootinfo *);
sys/arch/pmax/include/sysconf.h
82
const char *option;
sys/arch/pmax/pmax/sysconf.c
136
sysinit[systype].option);
sys/arch/pmax/pmax/sysconf.c
149
typestr = sysinit[systype].option;
sys/compat/ultrix/ultrix_fs.c
362
parse ultrix mount option string and set NetBSD flags
sys/netinet/ip_input.c
1211
save_rte(struct mbuf *m, u_char *option, struct in_addr dst)
sys/netinet/ip_input.c
1217
olen = option[IPOPT_OLEN];
sys/netinet/ip_input.c
1226
memcpy(isr->isr_hdr, option, olen);
tests/lib/libc/stdlib/h_getopt_long.c
56
struct option *longopts = NULL;
tests/lib/libc/stdlib/h_getopt_long.c
88
(struct option *)calloc(sizeof(struct option),
tests/net/ipsec/natt_terminator.c
104
option = UDP_ENCAP_ESPINUDP;
tests/net/ipsec/natt_terminator.c
105
e = setsockopt(s, IPPROTO_UDP, UDP_ENCAP, &option, sizeof(option));
tests/net/ipsec/natt_terminator.c
59
int option;
tests/net/sys/t_rfc6056.c
105
if (setsockopt(s, proto, option, &al, sizeof(al)) == -1)
tests/net/sys/t_rfc6056.c
54
int s, error, proto, option;
tests/net/sys/t_rfc6056.c
65
option = IP_PORTALGO;
tests/net/sys/t_rfc6056.c
69
option = IPV6_PORTALGO;
tests/net/sys/t_rfc6056.c
84
if (setsockopt(s, proto, option, &al, sizeof(al)) == -1)
tests/usr.bin/indent/opt_version.c
9
When the option '--version' is given, any other options are ignored.
usr.bin/config/gram.y
886
option
usr.bin/config/gram.y
887
| opt_list ',' option
usr.bin/config/gram.y
891
option:
usr.bin/config/main.c
927
struct defoptlist *option;
usr.bin/config/main.c
929
if ((option = dlhash_lookup(defopttab, name)) != NULL ||
usr.bin/config/main.c
930
(option = dlhash_lookup(defparamtab, name)) != NULL ||
usr.bin/config/main.c
931
(option = dlhash_lookup(defflagtab, name)) != NULL) {
usr.bin/config/main.c
932
return (option);
usr.bin/config/main.c
957
struct defoptlist *option = NULL;
usr.bin/config/main.c
960
if ((option = dlhash_lookup(defopttab, name)) != NULL ||
usr.bin/config/main.c
961
(option = dlhash_lookup(defparamtab, name)) != NULL ||
usr.bin/config/main.c
962
(option = dlhash_lookup(defflagtab, name)) != NULL) {
usr.bin/config/main.c
963
return &option->dl_where;
usr.bin/config/mkheaders.c
234
struct nvlist *option;
usr.bin/config/mkheaders.c
255
if (((option = ht_lookup(opttab, dl->dl_name)) == NULL &&
usr.bin/config/mkheaders.c
256
(option = ht_lookup(fsopttab, dl->dl_name)) == NULL) &&
usr.bin/config/mkheaders.c
265
opt_value = option != NULL ? option->nv_str : dl->dl_value;
usr.bin/config/mkmakefile.c
233
struct nvlist *option;
usr.bin/config/mkmakefile.c
260
if ((option = ht_lookup(opttab, optname)) == NULL)
usr.bin/config/mkmakefile.c
261
option = ht_lookup(fsopttab, optname);
usr.bin/config/mkmakefile.c
262
if (option != NULL)
usr.bin/config/mkmakefile.c
263
fputs(option->nv_str ? option->nv_str : "1",
usr.bin/diff/diff.c
65
static struct option longopts[] = {
usr.bin/diff3/diff3.c
174
static struct option longopts[] = {
usr.bin/find/function.c
157
find_parsenum(PLAN *plan, const char *option, const char *vp, char *endch)
usr.bin/find/function.c
186
errx(1, "%s: %s: illegal numeric value", option, vp);
usr.bin/find/function.c
188
errx(1, "%s: %s: illegal trailing character", option, vp);
usr.bin/find/function.c
200
find_parsedate(PLAN *plan, const char *option, const char *vp)
usr.bin/find/function.c
207
errx(1, "%s: %s: invalid timestamp value", option, vp);
usr.bin/find/option.c
169
if ((p = option(opt)) == NULL)
usr.bin/find/option.c
56
static OPTION *option(char *);
usr.bin/flock/flock.c
49
static struct option flock_longopts[] = {
usr.bin/ftp/cmds.c
2686
struct option *o;
usr.bin/ftp/cmds.c
2707
set_option(const char * option, const char * value, int doverbose)
usr.bin/ftp/cmds.c
2709
struct option *o;
usr.bin/ftp/cmds.c
2711
o = getoption(option);
usr.bin/ftp/cmds.c
2713
fprintf(ttyout, "No such option `%s'.\n", option);
usr.bin/ftp/cmds.c
2729
struct option *o;
usr.bin/ftp/cmdtab.c
298
struct option optiontab[] = {
usr.bin/ftp/complete.c
245
struct option *o;
usr.bin/ftp/extern.h
135
struct option *getoption(const char *);
usr.bin/ftp/ftp_var.h
326
extern struct option optiontab[];
usr.bin/ftp/main.c
1037
struct option *
usr.bin/ftp/main.c
1041
struct option *c;
usr.bin/ftp/main.c
1055
struct option *c;
usr.bin/ftp/main.c
624
struct option *o;
usr.bin/ftp/main.c
645
struct option *o;
usr.bin/gettext/gettext.c
42
static struct option longopts[] = {
usr.bin/grep/grep.c
170
struct option long_options[] =
usr.bin/gzip/gzip.c
308
static const struct option longopts[] = {
usr.bin/ipcs/ipcs.c
196
option |= BIGGEST | CREATOR | OUTSTANDING | PID | TIME;
usr.bin/ipcs/ipcs.c
199
option |= BIGGEST;
usr.bin/ipcs/ipcs.c
202
option |= CREATOR;
usr.bin/ipcs/ipcs.c
205
option |= OUTSTANDING;
usr.bin/ipcs/ipcs.c
208
option |= PID;
usr.bin/ipcs/ipcs.c
211
option |= TIME;
usr.bin/ipcs/ipcs.c
302
if (option & CREATOR)
usr.bin/ipcs/ipcs.c
304
if (option & OUTSTANDING)
usr.bin/ipcs/ipcs.c
306
if (option & BIGGEST)
usr.bin/ipcs/ipcs.c
308
if (option & PID)
usr.bin/ipcs/ipcs.c
310
if (option & TIME)
usr.bin/ipcs/ipcs.c
324
if (option & TIME) {
usr.bin/ipcs/ipcs.c
333
if (option & CREATOR)
usr.bin/ipcs/ipcs.c
337
if (option & OUTSTANDING)
usr.bin/ipcs/ipcs.c
340
if (option & BIGGEST)
usr.bin/ipcs/ipcs.c
343
if (option & PID)
usr.bin/ipcs/ipcs.c
346
if (option & TIME)
usr.bin/ipcs/ipcs.c
357
if (option & CREATOR)
usr.bin/ipcs/ipcs.c
359
if (option & OUTSTANDING)
usr.bin/ipcs/ipcs.c
361
if (option & BIGGEST)
usr.bin/ipcs/ipcs.c
363
if (option & PID)
usr.bin/ipcs/ipcs.c
365
if (option & TIME)
usr.bin/ipcs/ipcs.c
377
if (option & TIME) {
usr.bin/ipcs/ipcs.c
386
if (option & CREATOR)
usr.bin/ipcs/ipcs.c
390
if (option & OUTSTANDING)
usr.bin/ipcs/ipcs.c
393
if (option & BIGGEST)
usr.bin/ipcs/ipcs.c
396
if (option & PID)
usr.bin/ipcs/ipcs.c
399
if (option & TIME)
usr.bin/ipcs/ipcs.c
413
if (option & CREATOR)
usr.bin/ipcs/ipcs.c
415
if (option & BIGGEST)
usr.bin/ipcs/ipcs.c
417
if (option & TIME)
usr.bin/ipcs/ipcs.c
428
if (option & TIME) {
usr.bin/ipcs/ipcs.c
436
if (option & CREATOR)
usr.bin/ipcs/ipcs.c
440
if (option & BIGGEST)
usr.bin/ipcs/ipcs.c
443
if (option & TIME)
usr.bin/ipcs/ipcs.c
91
static int option = 0;
usr.bin/join/join.c
511
fieldarg(char *option)
usr.bin/join/join.c
516
while ((token = strsep(&option, ", \t")) != NULL) {
usr.bin/m4/main.c
178
static struct option longopts[] = {
usr.bin/menuc/parse.y
164
option_list : option
usr.bin/menuc/parse.y
165
| option_list option { $2->next = $1; $$ = $2; }
usr.bin/menuc/parse.y
168
option : OPTION
usr.bin/menuc/parse.y
62
%type <optn_value> option option_list
usr.bin/mkdep/mkdep.c
190
static struct option longopt[] = {
usr.bin/passwd/local_passwd.c
111
pw_getpwconf(option, sizeof(option), pw, "localcipher");
usr.bin/passwd/local_passwd.c
112
opt = option;
usr.bin/passwd/local_passwd.c
68
char option[LINE_MAX], *key, *opt;
usr.bin/passwd/yp_passwd.c
137
pw_getpwconf(option, sizeof(option), pw, "ypcipher");
usr.bin/passwd/yp_passwd.c
138
opt = option;
usr.bin/passwd/yp_passwd.c
90
char option[LINE_MAX], *key, *opt;
usr.bin/patch/patch.c
469
static struct option longopts[] = {
usr.bin/pwhash/pwhash.c
103
char option[LINE_MAX], *key, *opt;
usr.bin/pwhash/pwhash.c
144
snprintf(option, sizeof(option), "%s", extra);
usr.bin/pwhash/pwhash.c
145
opt = option;
usr.bin/pwhash/pwhash.c
152
pw_getconf(option, sizeof(option), "default", "localcipher");
usr.bin/pwhash/pwhash.c
153
opt = option;
usr.bin/radioctl/radioctl.c
162
show_verbose(varname[opt.option], silent);
usr.bin/radioctl/radioctl.c
163
print_value(opt.option);
usr.bin/radioctl/radioctl.c
215
if (o->option == OPTION_SEARCH && !(ri.caps & RADIO_CAPS_HW_SEARCH)) {
usr.bin/radioctl/radioctl.c
216
warn_unsupported(o->option);
usr.bin/radioctl/radioctl.c
220
oval = o->option == OPTION_SEARCH ? OPTION_FREQUENCY : o->option;
usr.bin/radioctl/radioctl.c
224
print_value(o->option);
usr.bin/radioctl/radioctl.c
227
if (o->option == OPTION_SEARCH) {
usr.bin/radioctl/radioctl.c
249
print_value(o->option);
usr.bin/radioctl/radioctl.c
261
switch (o.option) {
usr.bin/radioctl/radioctl.c
278
ri.stereo = o.option == OPTION_MONO ? !o.value : o.value;
usr.bin/radioctl/radioctl.c
294
warn_unsupported(o.option);
usr.bin/radioctl/radioctl.c
371
o->option = OPTION_NONE;
usr.bin/radioctl/radioctl.c
380
o->option = str_to_opt(s);
usr.bin/radioctl/radioctl.c
381
return o->option == (int)OPTION_NONE ? 0 : 1;
usr.bin/radioctl/radioctl.c
397
if ((o->option = str_to_opt(topt)) == (int)OPTION_NONE) {
usr.bin/radioctl/radioctl.c
408
o->value = str_to_long(&topt[1], o->option);
usr.bin/radioctl/radioctl.c
428
o->value = str_to_long(topt, o->option);
usr.bin/radioctl/radioctl.c
72
int option;
usr.bin/rump_dhcpclient/dhcp.c
164
valid_length(uint8_t option, int dl, int *type)
usr.bin/rump_dhcpclient/dhcp.c
172
for (opt = dhcp_opts; opt->option; opt++) {
usr.bin/rump_dhcpclient/dhcp.c
173
if (opt->option != option)
usr.bin/rump_dhcpclient/dhcp.c
286
uint8_t option)
usr.bin/rump_dhcpclient/dhcp.c
288
const uint8_t *p = get_option_raw(dhcp, option);
usr.bin/rump_dhcpclient/dhcp.c
297
get_option_uint32(uint32_t *i, const struct dhcp_message *dhcp, uint8_t option)
usr.bin/rump_dhcpclient/dhcp.c
299
const uint8_t *p = get_option_raw(dhcp, option);
usr.bin/rump_dhcpclient/dhcp.c
310
get_option_uint16(uint16_t *i, const struct dhcp_message *dhcp, uint8_t option)
usr.bin/rump_dhcpclient/dhcp.c
312
const uint8_t *p = get_option_raw(dhcp, option);
usr.bin/rump_dhcpclient/dhcp.c
323
get_option_uint8(uint8_t *i, const struct dhcp_message *dhcp, uint8_t option)
usr.bin/rump_dhcpclient/dhcp.c
325
const uint8_t *p = get_option_raw(dhcp, option);
usr.bin/rump_dhcpclient/dhcp.c
62
uint8_t option;
usr.bin/rump_dhcpclient/dhcp.c
719
for (opt = dhcp_opts; opt->option; opt++) {
usr.bin/rump_dhcpclient/dhcp.c
721
has_option_mask(ifo->requestmask, opt->option)))
usr.bin/rump_dhcpclient/dhcp.c
724
(opt->option == DHO_RENEWALTIME ||
usr.bin/rump_dhcpclient/dhcp.c
725
opt->option == DHO_REBINDTIME))
usr.bin/rump_dhcpclient/dhcp.c
727
*p++ = opt->option;
usr.bin/rump_dhcpclient/if-options.h
81
extern const struct option cf_options[];
usr.bin/sdiff/sdiff.c
72
static struct option longopts[] = {
usr.bin/telnet/telnet.c
312
willoption(int option)
usr.bin/telnet/telnet.c
316
if (do_dont_resp[option]) {
usr.bin/telnet/telnet.c
317
--do_dont_resp[option];
usr.bin/telnet/telnet.c
318
if (do_dont_resp[option] && my_state_is_do(option))
usr.bin/telnet/telnet.c
319
--do_dont_resp[option];
usr.bin/telnet/telnet.c
322
if ((do_dont_resp[option] == 0) && my_want_state_is_dont(option)) {
usr.bin/telnet/telnet.c
324
switch (option) {
usr.bin/telnet/telnet.c
348
set_my_want_state_dont(option);
usr.bin/telnet/telnet.c
349
set_my_state_dont(option);
usr.bin/telnet/telnet.c
358
set_my_want_state_do(option);
usr.bin/telnet/telnet.c
359
send_do(option, 0);
usr.bin/telnet/telnet.c
362
do_dont_resp[option]++;
usr.bin/telnet/telnet.c
363
send_dont(option, 0);
usr.bin/telnet/telnet.c
366
set_my_state_do(option);
usr.bin/telnet/telnet.c
368
if (option == TELOPT_ENCRYPT)
usr.bin/telnet/telnet.c
374
wontoption(int option)
usr.bin/telnet/telnet.c
376
if (do_dont_resp[option]) {
usr.bin/telnet/telnet.c
377
--do_dont_resp[option];
usr.bin/telnet/telnet.c
378
if (do_dont_resp[option] && my_state_is_dont(option))
usr.bin/telnet/telnet.c
379
--do_dont_resp[option];
usr.bin/telnet/telnet.c
382
if ((do_dont_resp[option] == 0) && my_want_state_is_do(option)) {
usr.bin/telnet/telnet.c
384
switch (option) {
usr.bin/telnet/telnet.c
399
set_my_want_state_dont(option);
usr.bin/telnet/telnet.c
400
set_my_state_dont(option);
usr.bin/telnet/telnet.c
406
set_my_want_state_dont(option);
usr.bin/telnet/telnet.c
407
if (my_state_is_do(option))
usr.bin/telnet/telnet.c
408
send_dont(option, 0);
usr.bin/telnet/telnet.c
410
} else if (option == TELOPT_TM) {
usr.bin/telnet/telnet.c
416
set_my_want_state_dont(option);
usr.bin/telnet/telnet.c
418
set_my_state_dont(option);
usr.bin/telnet/telnet.c
422
dooption(int option)
usr.bin/telnet/telnet.c
426
if (will_wont_resp[option]) {
usr.bin/telnet/telnet.c
427
--will_wont_resp[option];
usr.bin/telnet/telnet.c
428
if (will_wont_resp[option] && my_state_is_will(option))
usr.bin/telnet/telnet.c
429
--will_wont_resp[option];
usr.bin/telnet/telnet.c
432
if (will_wont_resp[option] == 0) {
usr.bin/telnet/telnet.c
433
if (my_want_state_is_wont(option)) {
usr.bin/telnet/telnet.c
435
switch (option) {
usr.bin/telnet/telnet.c
442
send_will(option, 0);
usr.bin/telnet/telnet.c
481
send_will(option, 0);
usr.bin/telnet/telnet.c
492
set_my_want_state_will(option);
usr.bin/telnet/telnet.c
493
send_will(option, 0);
usr.bin/telnet/telnet.c
496
will_wont_resp[option]++;
usr.bin/telnet/telnet.c
497
send_wont(option, 0);
usr.bin/telnet/telnet.c
504
switch (option) {
usr.bin/telnet/telnet.c
510
set_my_state_will(option);
usr.bin/telnet/telnet.c
517
set_my_state_will(option);
usr.bin/telnet/telnet.c
521
dontoption(int option)
usr.bin/telnet/telnet.c
524
if (will_wont_resp[option]) {
usr.bin/telnet/telnet.c
525
--will_wont_resp[option];
usr.bin/telnet/telnet.c
526
if (will_wont_resp[option] && my_state_is_wont(option))
usr.bin/telnet/telnet.c
527
--will_wont_resp[option];
usr.bin/telnet/telnet.c
530
if ((will_wont_resp[option] == 0) && my_want_state_is_will(option)) {
usr.bin/telnet/telnet.c
531
switch (option) {
usr.bin/telnet/telnet.c
537
set_my_want_state_wont(option);
usr.bin/telnet/telnet.c
538
if (my_state_is_will(option))
usr.bin/telnet/telnet.c
539
send_wont(option, 0);
usr.bin/telnet/telnet.c
542
set_my_state_wont(option);
usr.bin/telnet/utilities.c
174
printoption(const char *direction, int cmd, int option)
usr.bin/telnet/utilities.c
179
if (TELCMD_OK(option))
usr.bin/telnet/utilities.c
180
fprintf(NetTrace, "%s IAC %s", direction, TELCMD(option));
usr.bin/telnet/utilities.c
182
fprintf(NetTrace, "%s IAC %d", direction, option);
usr.bin/telnet/utilities.c
189
if (TELOPT_OK(option))
usr.bin/telnet/utilities.c
190
fprintf(NetTrace, "%s", TELOPT(option));
usr.bin/telnet/utilities.c
191
else if (option == TELOPT_EXOPL)
usr.bin/telnet/utilities.c
194
fprintf(NetTrace, "%d", option);
usr.bin/telnet/utilities.c
196
fprintf(NetTrace, "%s %d %d", direction, cmd, option);
usr.bin/telnet/utilities.c
97
SetSockOpt(int fd, int level, int option, int yesno)
usr.bin/telnet/utilities.c
99
return setsockopt(fd, level, option, (char *)&yesno, sizeof yesno);
usr.bin/timeout/timeout.c
214
const struct option longopts[] = {
usr.bin/tip/cmds.c
789
tandem(const char *option)
usr.bin/tip/cmds.c
794
if (strcmp(option, "on") == 0) {
usr.bin/tip/cmds.c
809
hardwareflow(const char *option)
usr.bin/tip/cmds.c
814
if (strcmp(option, "on") == 0)
usr.bin/tip/cu.c
62
static struct option longopts[] = {
usr.bin/touch/touch.c
74
struct option touch_longopts[] = {
usr.sbin/autofs/automountd.c
102
if (strncmp(pair, option, olen) == 0) {
usr.sbin/autofs/automountd.c
85
pick_option(const char *option, char **optionsp)
usr.sbin/autofs/automountd.c
97
size_t olen = strlen(option);
usr.sbin/installboot/installboot.c
393
parseoptions(ib_params *params, const char *option)
usr.sbin/installboot/installboot.c
396
const struct option *opt;
usr.sbin/installboot/installboot.c
401
assert(option != NULL);
usr.sbin/installboot/installboot.c
403
for (;; option += len) {
usr.sbin/installboot/installboot.c
404
option += strspn(option, ", \t");
usr.sbin/installboot/installboot.c
405
if (*option == 0)
usr.sbin/installboot/installboot.c
407
len = strcspn(option, "=,");
usr.sbin/installboot/installboot.c
409
if (memcmp(option, opt->name, len) == 0
usr.sbin/installboot/installboot.c
414
len = strcspn(option, ",");
usr.sbin/installboot/installboot.c
415
warnx("Unknown option `-o %.*s'", len, option);
usr.sbin/installboot/installboot.c
420
if (option[len] != '=')
usr.sbin/installboot/installboot.c
425
if (option[len] != '=') {
usr.sbin/installboot/installboot.c
429
option += len + 1;
usr.sbin/installboot/installboot.c
430
len = strcspn(option, ",");
usr.sbin/installboot/installboot.c
433
len = strlen(option);
usr.sbin/installboot/installboot.c
436
cp = strdup(option);
usr.sbin/installboot/installboot.c
443
val = strtoul(option, &cp, 0);
usr.sbin/installboot/installboot.c
444
if (cp > option + len || (*cp != 0 && *cp != ','))
usr.sbin/installboot/installboot.c
454
warnx("Invalid option value `%s=%.*s'", opt->name, len, option);
usr.sbin/makefs/cd9660.c
375
cd9660_parse_opts(const char *option, fsinfo_t *fsopts)
usr.sbin/makefs/cd9660.c
383
assert(option != NULL);
usr.sbin/makefs/cd9660.c
386
printf("%s: got `%s'\n", __func__, option);
usr.sbin/makefs/cd9660.c
388
i = set_option(cd9660_options, option, buf, sizeof(buf));
usr.sbin/makefs/chfs.c
88
chfs_parse_opts(const char *option, fsinfo_t *fsopts)
usr.sbin/makefs/chfs.c
91
assert(option != NULL);
usr.sbin/makefs/chfs.c
94
return set_option(fsopts->fs_options, option, NULL, 0) != -1;
usr.sbin/makefs/ffs.c
221
ffs_parse_opts(const char *option, fsinfo_t *fsopts)
usr.sbin/makefs/ffs.c
229
assert(option != NULL);
usr.sbin/makefs/ffs.c
234
printf("ffs_parse_opts: got `%s'\n", option);
usr.sbin/makefs/ffs.c
236
rv = set_option(ffs_options, option, buf, sizeof(buf));
usr.sbin/makefs/makefs.c
338
set_option(const option_t *options, const char *option, char *buf, size_t len)
usr.sbin/makefs/makefs.c
343
assert(option != NULL);
usr.sbin/makefs/makefs.c
345
var = estrdup(option);
usr.sbin/makefs/msdos.c
112
msdos_parse_opts(const char *option, fsinfo_t *fsopts)
usr.sbin/makefs/msdos.c
119
assert(option != NULL);
usr.sbin/makefs/msdos.c
124
printf("%s: got `%s'\n", __func__, option);
usr.sbin/makefs/msdos.c
126
rv = set_option(msdos_options, option, NULL, 0);
usr.sbin/makefs/udf.c
194
udf_parse_opts(const char *option, fsinfo_t *fsopts)
usr.sbin/makefs/udf.c
202
assert(option != NULL);
usr.sbin/makefs/udf.c
205
printf("udf_parse_opts: got `%s'\n", option);
usr.sbin/makefs/udf.c
207
i = set_option(udf_options, option, buffer, sizeof(buffer));
usr.sbin/makefs/v7fs.c
88
v7fs_parse_opts(const char *option, fsinfo_t *fsopts)
usr.sbin/makefs/v7fs.c
91
return set_option_var(fsopts->fs_options, option, "1", NULL, 0) != -1;
usr.sbin/wgconfig/wgconfig.c
671
const char *option;
usr.sbin/wgconfig/wgconfig.c
686
const struct option *opt = &options[i];
usr.sbin/wgconfig/wgconfig.c
687
size_t optlen = strlen(opt->option);
usr.sbin/wgconfig/wgconfig.c
688
if (strncmp(argv[0], opt->option, optlen) == 0) {