HomeSort by: relevance | last modified time | path
    Searched defs:option (Results 1 - 25 of 48) sorted by relevancy

1 2

  /src/tools/compat/
compat_getopt.h 9 #define option __nbcompat_option macro
  /src/include/
getopt.h 45 struct option { struct
46 /* name of long option */
50 * whether option takes an argument
53 /* if not NULL, set *flag to val when option found */
61 const struct option *, int *);
  /src/usr.bin/find/
option.c 1 /* $NetBSD: option.c,v 1.29 2021/08/09 20:49:10 andvar Exp $ */
38 static char sccsid[] = "from: @(#)option.c 8.2 (Berkeley) 4/16/94";
40 __RCSID("$NetBSD: option.c,v 1.29 2021/08/09 20:49:10 andvar Exp $");
56 static OPTION *option(char *);
59 static OPTION const options[] = {
161 OPTION *p;
169 if ((p = option(opt)) == NULL)
170 errx(1, "%s: unknown option", opt);
181 static OPTION *
182 option(char *name) function in typeref:typename:OPTION *
    [all...]
  /src/distrib/utils/more/
option.c 1 /* $NetBSD: option.c,v 1.7 2003/10/13 14:34:25 agc Exp $ */
36 static char sccsid[] = "@(#)option.c 8.1 (Berkeley) 6/6/93";
38 __RCSID("$NetBSD: option.c,v 1.7 2003/10/13 14:34:25 agc Exp $");
61 option(argc, argv) function
  /src/lib/lua/syslog/
syslog.c 45 int option; local in function:syslog_openlog
49 option = luaL_checkinteger(L, 2);
51 openlog(ident, option, facility);
  /src/sys/arch/emips/include/
sysconf.h 77 const char *option; member in struct:sysinit
  /src/sys/arch/pmax/include/
sysconf.h 82 const char *option; member in struct:sysinit
  /src/tests/net/ipsec/
natt_terminator.c 59 int option; local in function:main
101 * Set the option to tell the kernel that the socket can handle
104 option = UDP_ENCAP_ESPINUDP;
105 e = setsockopt(s, IPPROTO_UDP, UDP_ENCAP, &option, sizeof(option));
  /src/tests/net/sys/
t_rfc6056.c 54 int s, error, proto, option; local in function:test
65 option = IP_PORTALGO;
69 option = IPV6_PORTALGO;
84 if (setsockopt(s, proto, option, &al, sizeof(al)) == -1)
105 if (setsockopt(s, proto, option, &al, sizeof(al)) == -1)
  /src/lib/libutil/
if_media.c 111 /* Historical behaviour is to ignore unknown option bits! */
146 int option, rval = 0; local in function:get_media_options
162 option = lookup_media_word(ifm_option_descriptions, type, str);
163 if (option != -1) {
164 rval |= IFM_OPTIONS(option);
170 /* Pass invalid option at start of malloced buffer */
  /src/sys/arch/alpha/include/
cpuconf.h 92 const char *option; member in struct:cpuinit
  /src/bin/ksh/
c_ulimit.c 60 char option; member in struct:c_ulimit::limits
144 *p++ = l->option;
165 for (l = limits; l->name && l->option != what; l++)
  /src/games/phantasia/
interplayer.c 672 const char *option; /* pointer to option description */ local in function:dotampered
692 option = "transport";
697 option = "curse";
726 option = "give gold to";
774 option = "heal";
796 option = "throw a monster at";
804 option = "relocate";
809 option = "bless";
815 option = "vaporize"
    [all...]
  /src/usr.bin/menuc/
parse.y 55 %token <i_value> X Y W H NO BOX SUB HELP MENU NEXT EXIT ACTION ENDWIN OPTION
62 %type <optn_value> option option_list
164 option_list : option
165 | option_list option { $2->next = $1; $$ = $2; }
168 option : OPTION label
  /src/usr.bin/pwhash/
pwhash.c 103 char option[LINE_MAX], *key, *opt; local in function:print_passwd
144 snprintf(option, sizeof(option), "%s", extra);
145 opt = option;
152 pw_getconf(option, sizeof(option), "default", "localcipher");
153 opt = option;
  /src/sys/arch/ews4800mips/ews4800mips/
machdep.c 77 void option(int, char *[], struct bootinfo *);
107 option(argc, argv, bi);
159 option(int argc, char *argv[], struct bootinfo *bi) function in typeref:typename:void
179 /* Parse option */
187 /* root device option. ex) -b=net:netbsd, -b=sd0k:netbsd */
  /src/usr.bin/passwd/
local_passwd.c 68 char option[LINE_MAX], *key, *opt; local in function:getnewpasswd
111 pw_getpwconf(option, sizeof(option), pw, "localcipher");
112 opt = option;
  /src/usr.bin/make/unit-tests/
posix-execution.mk 31 # Deviation from POSIX: The shell "-e" option is not in effect.
32 # expect: shell-e-option: before
33 # expect: shell-e-option: after
34 all: shell-e-option
35 shell-e-option:
  /src/games/hunt/hunt/
server.c 206 int option; local in function:send_messages
244 /* Sun's will broadcast even though this option can't be set */
245 option = 1;
247 &option, sizeof option) < 0) {
hunt.c 296 int option; local in function:main
301 option = 1;
303 &option, sizeof option) < 0)
732 } /* must be last option */
744 printf("unknown option %s\n", envp);
756 printf("unknown option %s\n", envp);
  /src/games/rogue/
room.c 63 static const struct option { struct
599 * We rely on the option string being
626 const struct option *opt = &options[i];
641 const struct option *opt = &options[i];
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce110/
amdgpu_dce110_opp_csc_v.c 687 enum grph_color_adjust_option option = local in function:dce110_opp_v_set_csc_default
696 option = GRPH_COLOR_MATRIX_SW;
705 program_color_matrix_v(xfm_dce, elm, option);
  /src/usr.bin/ipcs/
ipcs.c 91 static int option = 0; variable in typeref:typename:int
196 option |= BIGGEST | CREATOR | OUTSTANDING | PID | TIME;
199 option |= BIGGEST;
202 option |= CREATOR;
205 option |= OUTSTANDING;
208 option |= PID;
211 option |= TIME;
302 if (option & CREATOR)
304 if (option & OUTSTANDING)
306 if (option & BIGGEST
    [all...]
  /src/usr.bin/radioctl/
radioctl.c 72 int option; member in struct:opt_t
162 show_verbose(varname[opt.option], silent);
163 print_value(opt.option);
215 if (o->option == OPTION_SEARCH && !(ri.caps & RADIO_CAPS_HW_SEARCH)) {
216 warn_unsupported(o->option);
220 oval = o->option == OPTION_SEARCH ? OPTION_FREQUENCY : o->option;
224 print_value(o->option);
227 if (o->option == OPTION_SEARCH) {
249 print_value(o->option);
    [all...]
  /src/usr.sbin/installboot/
installboot.c 73 const struct option { struct
74 const char *name; /* Name of option */
76 enum { /* Type of option value... */
103 #define OPTION(params, type, opt) (*(type *)((char *)(params) + (opt)->offset))
281 /* XXX should be specified via option */
393 parseoptions(ib_params *params, const char *option)
396 const struct option *opt;
401 assert(option != NULL);
403 for (;; option += len) {
404 option += strspn(option, ", \t")
    [all...]

Completed in 24 milliseconds

1 2