/netbsd-current/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) argument 35 while (optstr && *optstr != '\0') { 36 int len = strcspn(optstr, ",="); 37 switch (optstr[len]) { 39 if (!strncasecmpz(optstr, opt, len)) { 40 optstr += len + 1; 41 *arglen = strcspn(optstr, ",="); 42 return *arglen ? optstr : NULL; 44 optstr 59 nvkm_boolopt(const char *optstr, const char *opt, bool value) argument 82 nvkm_longopt(const char *optstr, const char *opt, long value) argument 100 nvkm_dbgopt(const char *optstr, const char *sub) argument [all...] |
/netbsd-current/sys/kern/ |
H A D | subr_optstr.c | 36 #include <sys/optstr.h> 49 optstr_get_pointer(const char *optstr, const char *key, const char **result) argument 54 while (*optstr == ' ' || *optstr == '\t') 55 optstr++; 58 while (!found && *optstr != '\0') { 63 while (*optstr == *keyp) { 64 optstr++; 68 if (*optstr == '=' && *keyp == '\0') 72 while (*optstr ! 90 optstr_get(const char *optstr, const char *key, char *buf, size_t bufsize) argument 108 optstr_get_string(const char *optstr, const char *key, const char **result) argument 121 optstr_get_number(const char *optstr, const char *key, unsigned long *result) argument 139 optstr_get_number_hex(const char *optstr, const char *key, unsigned long *result) argument 158 optstr_get_number_binary(const char *optstr, const char *key, unsigned long *result) argument 179 optstr_get_macaddr(const char *optstr, const char *key, uint8_t result[ETHER_ADDR_LEN]) argument [all...] |
/netbsd-current/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-current/external/bsd/am-utils/dist/conf/trap/ |
H A D | trap_svr4.h | 4 extern int mount_svr4(char *fsname, char *dir, int flags, MTYPE_TYPE type, caddr_t data, const char *optstr);
|
/netbsd-current/external/bsd/atf/dist/atf-c++/detail/ |
H A D | application.cpp | 158 std::string optstr; local 160 optstr += '+'; // Turn on POSIX behavior. 162 optstr += ':'; 169 optstr += opt.m_character; 171 optstr += ':'; 178 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
|
/netbsd-current/usr.sbin/bootp/bootptest/ |
H A D | print-bootp.c | 284 const char *optstr; 300 optstr = rfc1048_opts[tag]; 301 printf(" %s:", optstr + 1); 304 optstr = "?"; 314 switch (optstr[0]) { 283 const char *optstr; local
|
/netbsd-current/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) argument 83 xstrlcpy(mountopts, optstr, MAX_MNTOPT_STR);
|
H A D | mount_linux.c | 298 parse_opts(char *type, const char *optstr, int *flags, char **xopts, int *noauto) argument 305 if (optstr == NULL) 308 xoptstr = xstrdup(optstr); /* because strtok is destructive below */ 311 l = strlen(optstr) + 2;
|
/netbsd-current/external/bsd/atf/dist/tools/ |
H A D | application.cpp | 154 std::string optstr = ":"; local 161 optstr += opt.m_character; 163 optstr += ':'; 170 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
|
/netbsd-current/bin/sh/ |
H A D | options.c | 511 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, char **optpptr) argument 539 for (q = optstr; *q != c; ) { 541 if (optstr[0] == ':') { 558 if (optstr[0] == ':') {
|
/netbsd-current/sbin/fsck/ |
H A D | fsck.c | 444 addoption(char *optstr) argument 449 if ((newoptions = strchr(optstr, ':')) == NULL) 455 if (!strcmp(e->type, optstr)) { 459 addentry(&opthead, optstr, newoptions);
|
/netbsd-current/usr.sbin/perfused/ |
H A D | perfused.c | 317 parse_debug(char *optstr) argument 323 for (opt = strtok_r(optstr, ",", &lastp);
|
/netbsd-current/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)) !=
|
/netbsd-current/sys/compat/ultrix/ |
H A D | ultrix_fs.c | 324 char *optstr; /* string of nfs mount options*/ member in struct:ultrix_nfs_args
|
/netbsd-current/sys/dev/fdt/ |
H A D | fdt_boot.c | 71 #include <sys/optstr.h>
|
/netbsd-current/sys/arch/i386/i386/ |
H A D | multiboot.c | 43 #include <sys/optstr.h>
|
/netbsd-current/external/bsd/am-utils/dist/libamu/ |
H A D | mount_fs.c | 1045 nap->optstr = mntp->mnt_opts; 1343 nap->optstr = mntp->mnt_opts;
|
/netbsd-current/sys/arch/riscv/riscv/ |
H A D | riscv_machdep.c | 52 #include <sys/optstr.h>
|
/netbsd-current/external/apache2/mDNSResponder/dist/Clients/ |
H A D | dns-sd.c | 1333 static int getfirstoption(int argc, char **argv, const char *optstr, int *pOptInd) argument 1334 // Return the recognized option in optstr and the option index of the next arg. 1341 NULL != strchr(optstr, argv[i][1])) 1351 int o = getopt(argc, (char *const *)argv, optstr);
|
/netbsd-current/share/man/man9/ |
H A D | Makefile | 43 namei.9 nullop.9 opencrypto.9 optstr.9 \ 608 MLINKS+=optstr.9 optstr_get.9
|
/netbsd-current/sys/arch/x86/x86/ |
H A D | multiboot2.c | 43 #include <sys/optstr.h>
|
/netbsd-current/external/cddl/osnet/dist/cmd/zfs/ |
H A D | zfs_main.c | 5353 const char *optstr = un ? "ldugecsrh" : "ldugecsh"; local 5356 while ((c = getopt(argc, argv, optstr)) != -1) {
|