| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/ |
| H A D | nouveau_nvkm_core_option.c | 33 nvkm_stropt(const char *optstr, const char *opt, int *arglen) in nvkm_stropt() argument 35 while (optstr && *optstr != '\0') { in nvkm_stropt() 36 int len = strcspn(optstr, ",="); in nvkm_stropt() 37 switch (optstr[len]) { in nvkm_stropt() 39 if (!strncasecmpz(optstr, opt, len)) { in nvkm_stropt() 40 optstr += len + 1; in nvkm_stropt() 41 *arglen = strcspn(optstr, ",="); in nvkm_stropt() 42 return *arglen ? optstr : NULL; in nvkm_stropt() 44 optstr++; in nvkm_stropt() 47 optstr++; in nvkm_stropt() [all …]
|
| /netbsd-src/sys/kern/ |
| H A D | subr_optstr.c | 49 optstr_get_pointer(const char *optstr, const char *key, const char **result) in optstr_get_pointer() argument 54 while (*optstr == ' ' || *optstr == '\t') in optstr_get_pointer() 55 optstr++; in optstr_get_pointer() 58 while (!found && *optstr != '\0') { in optstr_get_pointer() 63 while (*optstr == *keyp) { in optstr_get_pointer() 64 optstr++; in optstr_get_pointer() 68 if (*optstr == '=' && *keyp == '\0') in optstr_get_pointer() 72 while (*optstr != ' ' && *optstr != '\0') in optstr_get_pointer() 73 optstr++; in optstr_get_pointer() 76 while (*optstr == ' ') in optstr_get_pointer() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/core/ |
| H A D | option.h | 8 const char *nvkm_stropt(const char *optstr, const char *opt, int *len); 9 bool nvkm_boolopt(const char *optstr, const char *opt, bool value); 10 long nvkm_longopt(const char *optstr, const char *opt, long value); 11 int nvkm_dbgopt(const char *optstr, const char *sub);
|
| /netbsd-src/external/bsd/atf/dist/atf-c++/detail/ |
| H A D | application.cpp | 158 std::string optstr; in process_options() local 160 optstr += '+'; // Turn on POSIX behavior. in process_options() 162 optstr += ':'; in process_options() 169 optstr += opt.m_character; in process_options() 171 optstr += ':'; in process_options() 178 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) { in process_options()
|
| /netbsd-src/usr.sbin/bootp/bootptest/ |
| H A D | print-bootp.c | 284 const char *optstr; in rfc1048_print() 300 optstr = rfc1048_opts[tag]; in rfc1048_print() 301 printf(" %s:", optstr + 1); in rfc1048_print() 304 optstr = "?"; in rfc1048_print() 314 switch (optstr[0]) { in rfc1048_print() 283 const char *optstr; rfc1048_print() local
|
| /netbsd-src/external/bsd/atf/dist/tools/ |
| H A D | application.cpp | 154 std::string optstr = ":"; in process_options() local 161 optstr += opt.m_character; in process_options() 163 optstr += ':'; in process_options() 170 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) { in process_options()
|
| /netbsd-src/external/bsd/am-utils/dist/conf/mount/ |
| H A D | mount_svr4.c | 74 mount_svr4(char *fsname, char *dir, int flags, MTYPE_TYPE type, caddr_t data, const char *optstr) in mount_svr4() argument 83 xstrlcpy(mountopts, optstr, MAX_MNTOPT_STR); in mount_svr4()
|
| H A D | mount_linux.c | 298 parse_opts(char *type, const char *optstr, int *flags, char **xopts, int *noauto) in parse_opts() argument 305 if (optstr == NULL) in parse_opts() 308 xoptstr = xstrdup(optstr); /* because strtok is destructive below */ in parse_opts() 311 l = strlen(optstr) + 2; in parse_opts()
|
| /netbsd-src/sbin/fsck/ |
| H A D | fsck.c | 444 addoption(char *optstr) in addoption() argument 449 if ((newoptions = strchr(optstr, ':')) == NULL) in addoption() 455 if (!strcmp(e->type, optstr)) { in addoption() 459 addentry(&opthead, optstr, newoptions); in addoption()
|
| /netbsd-src/external/bsd/am-utils/dist/conf/trap/ |
| H A D | trap_svr4.h | 4 … mount_svr4(char *fsname, char *dir, int flags, MTYPE_TYPE type, caddr_t data, const char *optstr);
|
| /netbsd-src/usr.sbin/perfused/ |
| H A D | perfused.c | 317 parse_debug(char *optstr) in parse_debug() argument 323 for (opt = strtok_r(optstr, ",", &lastp); in parse_debug()
|
| /netbsd-src/usr.bin/grep/ |
| H A D | grep.c | 167 static const char optstr[] = variable 402 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) != in main()
|
| /netbsd-src/sys/compat/ultrix/ |
| H A D | ultrix_fs.c | 324 char *optstr; /* string of nfs mount options*/ member
|
| /netbsd-src/external/bsd/am-utils/dist/libamu/ |
| H A D | mount_fs.c | 1045 nap->optstr = mntp->mnt_opts; in compute_nfs23_args() 1343 nap->optstr = mntp->mnt_opts; in compute_nfs4_args()
|
| /netbsd-src/share/man/man9/ |
| H A D | Makefile | 43 namei.9 nullop.9 opencrypto.9 optstr.9 \ 614 MLINKS+=optstr.9 optstr_get.9
|
| /netbsd-src/external/bsd/am-utils/dist/ |
| H A D | configure.ac | 1004 AMU_CHECK_FIELD(nfs_args_t.optstr)
|
| H A D | ChangeLog | 10296 nap->optstr
|
| /netbsd-src/external/cddl/osnet/dist/cmd/zfs/ |
| H A D | zfs_main.c | 5353 const char *optstr = un ? "ldugecsrh" : "ldugecsh"; in zfs_do_allow_unallow_impl() local 5356 while ((c = getopt(argc, argv, optstr)) != -1) { in zfs_do_allow_unallow_impl()
|
| /netbsd-src/usr.sbin/makemandb/ |
| H A D | nostem.txt | 2852 optstr
|