| /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 [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 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 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 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 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: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 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/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 179 /* Parse option */ 187 /* root device option. ex) -b=net:netbsd, -b=sd0k:netbsd */
|
| /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/passwd/ |
| local_passwd.c | 68 char option[LINE_MAX], *key, *opt; local 111 pw_getpwconf(option, sizeof(option), pw, "localcipher"); 112 opt = option;
|
| /src/usr.bin/pwhash/ |
| pwhash.c | 103 char option[LINE_MAX], *key, *opt; local 144 snprintf(option, sizeof(option), "%s", extra); 145 opt = option; 152 pw_getconf(option, sizeof(option), "default", "localcipher"); 153 opt = option;
|
| /src/games/hunt/hunt/ |
| server.c | 206 int option; local 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 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/lib/libpam/modules/pam_unix/ |
| pam_unix.c | 542 char option[LINE_MAX], *key, *opt; local 599 pw_getpwconf(option, sizeof(option), pwd, 604 opt = option;
|
| /src/sys/arch/arm/samsung/ |
| exynos_platform.c | 124 const uint32_t option = EXYNOS5800_PMU_USE_L2_COMMON_UP_STATE | local 128 bus_space_write_4(bst, pmu_bsh, EXYNOS5800_PMU_COMMON_OPTION(0), val | option); 130 bus_space_write_4(bst, pmu_bsh, EXYNOS5800_PMU_COMMON_OPTION(1), val | option);
|
| /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 696 option = GRPH_COLOR_MATRIX_SW; 705 program_color_matrix_v(xfm_dce, elm, option);
|
| /src/sys/external/bsd/drm2/dist/drm/amd/display/modules/inc/ |
| mod_shared.h | 98 enum tm_show_option_internal option; member in struct:lut3d_settings
|
| /src/sys/external/bsd/vchiq/dist/interface/vchiq_arm/ |
| vchiq_ioctl.h | 92 VCHIQ_SERVICE_OPTION_T option; member in struct:__anon6392
|