/src/sys/arch/x68k/stand/libsa/ |
parseutils.c | 74 parseopts(const char *opts, int *howto) 78 opts++; /* skip - */ 79 while (*opts && *opts != ' ') { 81 BOOT_FLAG(*opts, r); 83 printf("-%c: unknown flag\n", *opts); 87 opts++; 97 char *opts = NULL; local in function:parseboot 111 opts = arg; 116 opts = gettrailer(arg) [all...] |
/src/sys/arch/i386/stand/lib/ |
parseutils.c | 77 parseopts(const char *opts, int *howto) 81 opts++; /* skip - */ 82 while (*opts) { 84 BOOT_FLAG(*opts, r); 86 printf("-%c: unknown flag\n", *opts); 91 opts++; 92 if (*opts == ' ' || *opts == '\t') { 94 opts++; /* skip whitespace */ 95 while (*opts == ' ' || *opts == '\t') 113 char *opts = NULL; local in function:parseboot [all...] |
/src/games/hack/ |
hack.options.c | 79 char *opts; local in function:initoptions 89 if ((opts = getenv("HACKOPTIONS")) != NULL) 90 parseoptions(opts, TRUE); 94 parseoptions(char *opts, boolean from_env) 100 if ((op = strchr(opts, ',')) != NULL) { 104 if ((op = strchr(opts, ' ')) != NULL) { 110 if (!*opts) 113 while ((*opts == '!') || !strncmp(opts, "no", 2)) { 114 if (*opts == '!' [all...] |
/src/sbin/mount_puffs/ |
mount_puffs.c | 85 mount_puffs_filesystem(const char *program, const char *opts, 93 * program [-o opts] [source] mountpoint */ 96 if (opts != NULL) { 98 argv[argc++] = opts; 117 static void add_opt(char **opts, const char *opt) 119 const size_t orig_len = *opts == NULL ? 0 : strlen(*opts); 121 *opts = erealloc(*opts, orig_len + 1 + strlen(opt) + 1); 124 strcpy(*opts, opt) 137 char *opts = NULL; local in function:main [all...] |
/src/sys/net/ |
ppp-comp.h | 189 /* unsupported opts */ 213 /* Build a CI from mppe opts (see RFC 3078) */ 214 #define MPPE_OPTS_TO_CI(opts, ci) \ 219 if (opts & MPPE_OPT_STATEFUL) \ 228 if (opts & MPPE_OPT_128) \ 230 if (opts & MPPE_OPT_40) \ 236 #define MPPE_CI_TO_OPTS(ci, opts) \ 240 opts = 0; \ 244 opts |= MPPE_OPT_STATEFUL; \ 248 opts |= MPPE_OPT_128; [all...] |
/src/dist/pf/sbin/pfctl/ |
pfctl_altq.c | 223 struct node_queue_opt *opts) 238 errors += eval_queue_opts(pa, opts, pa->ifbandwidth); 263 check_commit_altq(int dev, int opts) 273 error = check_commit_cbq(dev, opts, altq); 276 error = check_commit_priq(dev, opts, altq); 279 error = check_commit_hfsc(dev, opts, altq); 294 struct node_queue_opt *opts) 362 if (eval_queue_opts(pa, opts, parent == NULL? 0 : parent->bandwidth)) 390 struct cbq_opts *opts; local in function:eval_pfqueue_cbq 399 opts = &pa->pq_u.cbq_opts 428 struct cbq_opts *opts; local in function:cbq_compute_idletime 545 const struct cbq_opts *opts; local in function:print_cbq_opts 633 const struct priq_opts *opts; local in function:print_priq_opts 663 struct hfsc_opts *opts; local in function:eval_pfqueue_hfsc 839 const struct hfsc_opts *opts; local in function:print_hfsc_opts [all...] |
pfctl_table.c | 78 if ((!(opts & PF_OPT_NOACTION) || \ 79 (opts & PF_OPT_DUMMYACTION)) && \ 88 if ((!(opts & PF_OPT_NOACTION) || \ 89 (opts & PF_OPT_DUMMYACTION)) && \ 97 xprintf(opts, "%d table created", nadd); \ 98 if (opts & PF_OPT_NOACTION) \ 105 pfctl_clear_tables(const char *anchor, int opts) 107 return pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts); 111 pfctl_show_tables(const char *anchor, int opts) 113 return pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts); [all...] |
pfctl.c | 242 pfctl_enable(int dev, int opts) 250 if ((opts & PF_OPT_QUIET) == 0) 261 pfctl_disable(int dev, int opts) 269 if ((opts & PF_OPT_QUIET) == 0) 280 pfctl_clear_stats(int dev, int opts) 284 if ((opts & PF_OPT_QUIET) == 0) 290 pfctl_clear_interface_flags(int dev, int opts) 294 if ((opts & PF_OPT_NOACTION) == 0) { 300 if ((opts & PF_OPT_QUIET) == 0) 307 pfctl_clear_rules(int dev, int opts, char *anchorname 1957 int opts = 0; local in function:main [all...] |
/src/lib/librefuse/ |
refuse_lowlevel.c | 81 struct fuse_cmdline_opts *opts = data; local in function:refuse_lowlevel_opt_proc 85 if (opts->mountpoint == NULL) { 86 return fuse_opt_add_opt(&opts->mountpoint, arg); 125 __fuse_parse_cmdline(struct fuse_args *args, struct fuse_cmdline_opts *opts) 127 memset(opts, 0, sizeof(*opts)); 134 opts->singlethread = 1; 136 if (fuse_opt_parse(args, opts, fuse_lowlevel_opts, 140 if (!opts->nodefault_fsname) {
|
refuse_opt.c | 143 static int add_opt(char **opts, const char *opt, bool escape) 145 const size_t orig_len = *opts == NULL ? 0 : strlen(*opts); 146 char* buf = realloc(*opts, orig_len + 1 + strlen(opt) * 2 + 1); 151 *opts = buf; 169 int fuse_opt_add_opt(char **opts, const char *opt) 171 DPRINTF(("%s: arguments passed: [opts=%s] [opt=%s]\n", 172 __func__, *opts, opt)); 173 return add_opt(opts, opt, false); 176 int fuse_opt_add_opt_escaped(char **opts, const char *opt [all...] |
/src/games/backgammon/teachgammon/ |
ttext1.c | 44 const char *const opts = " QIMRHEDSPT"; variable in typeref:typename:const char * const
|
/src/lib/librefuse/refuse/ |
v21.c | 41 * fuse_new(). The argument "opts" is a comma-separated string of 44 fuse_mount_v21(const char *mountpoint, const char *opts) { 48 if (opts) { 52 if (fuse_opt_add_arg(&args, opts) != 0) 64 fuse_new_v21(int fd, const char *opts, const void *op, 76 /* "opts" is another set of options to be interpreted by the FUSE 81 if (opts) { 86 if (fuse_opt_insert_arg(fuse_chan_args(chan), 2, opts) != 0) {
|
v25.c | 61 struct fuse_cmdline_opts opts; local in function:fuse_parse_cmdline_v25 63 if (fuse_parse_cmdline_v30(args, &opts) != 0) 66 *mountpoint = opts.mountpoint; /* Transfer the ownership of the string. */ 67 *multithreaded = !opts.singlethread; 68 *foreground = opts.foreground;
|
v30.c | 70 fuse_parse_cmdline_v30(struct fuse_args *args, struct fuse_cmdline_opts *opts) { 71 return __fuse_parse_cmdline(args, opts);
|
v26.c | 98 struct fuse_cmdline_opts opts; local in function:fuse_setup_v26 100 fuse = __fuse_setup(argc, argv, op, op_version, user_data, &opts); 104 *mountpoint = opts.mountpoint; /* Transfer the ownership of the string. */ 105 *multithreaded = !opts.singlethread;
|
/src/tests/lib/libc/stdio/ |
h_intr.c | 64 } opts; variable in typeref:struct:options 138 if ((buf = malloc(opts.bsize)) == NULL) { 143 if ((abuf = malloc(opts.asize)) == NULL) { 153 if ((ofp = popen(opts.cmd, "w")) == NULL) { 154 warn("popen failed `%s'", opts.cmd); 158 setvbuf(ofp, NULL, opts.btype, opts.asize); 159 setvbuf(ifp, NULL, opts.btype, opts.asize); 161 alarm_fn(opts.tmout) [all...] |
/src/lib/libcurses/ |
chgat.c | 39 chgat(int n, attr_t attr, short color, const void *opts) 41 return wchgat(stdscr, n, attr, color, opts); 46 const void *opts) 48 return mvwchgat(stdscr, y, x, n, attr, color, opts); 52 wchgat(WINDOW *win, int n, attr_t attr, short color, const void *opts) 54 return mvwchgat(win, win->cury, win->curx, n, attr, color, opts); 59 const void *opts)
|
attributes.c | 53 attr_get(attr_t *attr, short *pair, void *opts) 55 return wattr_get(stdscr, attr, pair, opts); 64 attr_on(attr_t attr, void *opts) 66 return wattr_on(stdscr, attr, opts); 75 attr_off(attr_t attr, void *opts) 77 return wattr_off(stdscr, attr, opts); 86 attr_set(attr_t attr, short pair, void *opts) 88 return wattr_set(stdscr, attr, pair, opts); 97 color_set(short pair, void *opts) 99 return wcolor_set(stdscr, pair, opts); [all...] |
/src/lib/libmenu/ |
item.c | 188 set_item_opts(ITEM *item, OPTIONS opts) 191 if (opts != O_SELECTABLE) 195 _menui_default_item.opts = opts; 197 item->opts = opts; 205 item_opts_on(ITEM *item, OPTIONS opts) 207 if (opts != O_SELECTABLE) 211 _menui_default_item.opts |= opts; [all...] |
/src/tests/usr.bin/cut/ |
t_cut.sh | 31 opts="${*}" 35 opts="-f ${fields} $@" 36 echo "----- test: cut ${opts} $(basename $file) -----" 37 cut $opts "$file" || atf_fail "command failed: cut ${opts} $file"
|
/src/usr.bin/make/ |
main.c | 121 CmdOpts opts; variable in typeref:typename:CmdOpts 198 if (opts.debug_file != stdout && opts.debug_file != stderr) 199 fclose(opts.debug_file); 208 opts.debug_file = stdout; 212 opts.debug_file = stderr; 224 opts.debug_file = fopen(fname, mode); 225 if (opts.debug_file == NULL) { 236 DebugFlags debug = opts.debug; 283 opts.strict = true [all...] |
/src/sys/arch/arm/arm/ |
bootconfig.c | 62 get_bootconf_option(char *opts, const char *opt, int type, void *result) 68 ptr = opts; 151 get_bootconf_string(char *opts, const char *key) 156 if (!get_bootconf_option(opts, key, BOOTOPT_TYPE_STRING, &s)) 171 match_bootconf_option(char *opts, const char *key, const char *val) 175 if (!get_bootconf_option(opts, key, BOOTOPT_TYPE_STRING, &s))
|
/src/sys/arch/zaurus/stand/zboot/ |
boot.c | 295 static int parseopts(const char *opts, int *howto); 455 parseopts(const char *opts, int *howto) 459 opts++; /* skip - */ 460 while (*opts && *opts != ' ') { 462 BOOT_FLAG(*opts, r); 464 printf("-%c: unknown flag\n", *opts); 469 opts++; 479 char *opts = NULL; local in function:parseboot 493 opts = arg [all...] |
/src/sys/arch/landisk/stand/boot/ |
boot2.c | 87 static int parseopts(const char *opts, int *howto); 452 parseopts(const char *opts, int *howto) 456 opts++; /* skip - */ 457 while (*opts && *opts != ' ') { 459 BOOT_FLAG(*opts, r); 461 printf("-%c: unknown flag\n", *opts); 466 opts++; 476 char *opts = NULL; local in function:parseboot 490 opts = arg [all...] |
/src/sbin/mount_cd9660/ |
mount_cd9660.c | 103 int ch, opts, set_gid, set_uid, set_mask, set_dirmask; local in function:mount_cd9660_parseargs 108 *mntflags = opts = set_gid = set_uid = set_mask = set_dirmask = 0; 115 opts |= ISOFSMNT_EXTATT; 120 opts |= ISOFSMNT_GENS; 123 opts |= ISOFSMNT_GID; 138 opts |= ISOFSMNT_NOJOLIET; 141 mp = getmntopts(optarg, mopts, mntflags, &opts); 149 opts |= ISOFSMNT_NORRIP; 152 opts |= ISOFSMNT_UID; 188 args->flags = opts; [all...] |