/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/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/games/backgammon/teachgammon/ |
ttext1.c | 44 const char *const opts = " QIMRHEDSPT"; variable in typeref:typename:const char * const
|
/src/lib/librefuse/refuse/ |
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;
|
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;
|
v11.c | 149 const char *opts = NULL; local in function:fuse_new_v11 153 opts = "debug"; 155 return fuse_new_v21(fd, opts, op, op_version, NULL);
|
/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/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) {
|
/src/sbin/mount_filecore/ |
mount_filecore.c | 121 int ch, mntflags, opts, useuid; local in function:mount_filecore 125 mntflags = opts = 0; 181 args.flags = opts;
|
/src/sys/arch/luna68k/stand/boot/ |
boot.c | 89 char *line, *opts; local in function:boot 97 opts = argv[i]; 98 while ((c = *++opts) && c != '\0')
|
/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/sbin/newfs_msdos/ |
newfs_msdos.c | 93 static const char opts[] = "@:NB:C:F:I:L:O:S:a:b:c:e:f:h:i:k:m:n:o:r:s:T:u:"; local in function:main 101 while ((ch = getopt(argc, argv, opts)) != -1) 275 } opts[] = { local in function:usage 280 for (size_t i = 0; i < __arraycount(opts); i++) 281 fprintf(stderr, "\t-%c %s\n", opts[i].o, opts[i].h);
|
/src/usr.bin/menuc/ |
parse.y | 115 opts ";" expaction dispact option_list exitact helpstr 128 opts : /* empty */ label
|
/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...] |
/src/sys/arch/mips/mips/ |
cache.c | 1065 struct mips_options * const opts = &mips_options; local in function:mips_config_cache_modern 1351 if (opts->mips_cpu->cpu_cp0flags & MIPS_CP0FL_CONFIG7) { 1498 printf("MIPS32/64 params: cpu arch: %d\n", opts->mips_cpu_arch); 1499 printf("MIPS32/64 params: TLB entries: %d\n", opts->mips_num_tlb_entries); 1535 if (opts->mips_cpu_flags & 1551 if (opts->mips_cpu_flags & CPU_MIPS_I_D_CACHE_COHERENT) {
|
/src/sys/fs/nfs/common/ |
nfs_diskless.c | 107 char *opts, *o, *otmp; local in function:nfs_parse_options 110 opts = strdup(envopts, M_TEMP); 111 otmp = opts; 150 free(opts, M_TEMP);
|
/src/usr.bin/id/ |
id.c | 72 const char *opts; local in function:main 79 opts = ""; 85 opts = ""; 89 opts = "Ggnpru"; 91 while ((ch = getopt(argc, argv, opts)) != -1) 129 if (strcmp(opts, "") != 0 && argc > 1)
|
/src/usr.bin/passwd/ |
passwd.c | 116 char opts[16]; local in function:main 118 /* Build opts string from module compat_opts */ 120 opts[i++] = 'd'; 121 opts[i++] = ':'; 124 opts[i++] = pwm->compat_opt; 126 opts[i++] = '\0'; 149 ch = getopt(argc, argv, opts);
|
/src/usr.sbin/makefs/chfs/ |
chfs_mkfs.c | 117 chfs_opt_t *opts; local in function:write_eb_header 121 opts = fsopts->fs_specific; 125 if ((uint32_t)opts->pagesize < MINSIZE) 127 buf = emalloc(opts->pagesize); 136 opts->pagesize - CHFS_EB_EC_HDR_SIZE); 138 buf_write(fsopts, buf, opts->pagesize); 140 memset(buf, 0xFF, opts->pagesize); 142 if (opts->mediatype == TYPE_NAND) { 157 buf_write(fsopts, buf, opts->pagesize); 231 chfs_opt_t *opts; local in function:write_file [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/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/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/usr.bin/rdist/ |
docmd.c | 134 int volatile opts; local in function:doarrow 138 opts = options; 180 opts = sc->sc_options; 198 if ((opts & IGNLNKS) || ihead->count == 0)
|
/src/games/worms/ |
worms.c | 79 int opts[3]; member in struct:options 538 w->orientation = op->opts[0]; 542 op->opts[(int)random() % op->nopts];
|
/src/lib/libperfuse/ |
perfuse.c | 61 char opts[1024]; local in function:init_state 91 if (getenv_r("PERFUSE_OPTIONS", opts, sizeof(opts)) != -1) { 95 for ((optname = strtok_r(opts, ",", &last));
|