Searched refs:optstr (Results 1 - 25 of 25) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/kern/
H A Dsubr_optstr.c36 #include <sys/optstr.h>
47 optstr_get(const char *optstr, const char *key, char *buf, size_t bufsize) argument
54 while (*optstr == ' ' && *optstr != '\0')
55 optstr++;
58 while (!found && *optstr != '\0') {
63 while (*optstr == *keyp) {
64 optstr++;
68 if (*optstr == '=' && *keyp == '\0')
72 while (*optstr !
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/trap/
H A Dtrap_svr4.h4 extern int mount_svr4(char *fsname, char *dir, int flags, MTYPE_TYPE type, caddr_t data, const char *optstr);
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/lib/
H A Dcompat.exp85 proc compat-obj { source dest optall optfile optstr xfaildata } {
104 ${tool}_check_compile "$testcase $dest compile" $optstr $dest $comp_output
116 proc compat-run { testname objlist dest optall optfile optstr } {
123 unresolved "$testcase $testname link $optstr"
124 unresolved "$testcase $testname execute $optstr"
138 unresolved "$testcase $testname execute $optstr"
151 $status "$testcase $testname execute $optstr"
336 set optstr ""
339 set optstr "\"$tst_option\",\"$alt_option\""
341 verbose "Testing $testcase, $optstr"
[all...]
H A Dplugin-support.exp89 set optstr "$includes $extra_flags -DIN_GCC -fPIC -shared"
92 set optstr [concat $optstr "-undefined dynamic_lookup"]
97 set status [remote_exec build "$PLUGINCC $PLUGINCFLAGS $plugin_src $optstr -o $plugin_lib"]
102 unresolved "$basename compilation, $optstr"
H A Dprofopt.exp92 proc profopt-perf-value { testcase perf_ext optstr } {
106 fail "$testcase perf check: no consistent time available, $optstr"
114 fail "$testcase perf check: file $base.$perf_ext has wrong format, $optstr"
280 set optstr "$option $profile_option"
282 if ![${tool}_check_compile "$testcase compilation" $optstr $execname1 $comp_output] {
283 unresolved "$testcase execution, $optstr"
307 $status "$testcase execution, $optstr"
329 set optstr "$option $feedback_option"
335 if ![${tool}_check_compile "$testcase compilation" $optstr $execname2 $comp_output] {
336 unresolved "$testcase execution, $optstr"
[all...]
H A Dlto.exp122 proc lto-obj { source dest optall optfile optstr xfaildata } {
143 ${tool}_check_compile "$testcase $dest assemble" $optstr $dest $comp_output
155 proc lto-link-and-maybe-run { testname objlist dest optall optfile optstr } {
163 unresolved "$testcase $testname link $optstr"
164 unresolved "$testcase $testname execute $optstr"
182 unresolved "$testcase $testname execute $optstr"
200 $status "$testcase $testname execute $optstr"
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/lib/
H A Dcompat.exp81 proc compat-obj { source dest optall optfile optstr xfaildata } {
100 ${tool}_check_compile "$testcase $dest compile" $optstr $dest $comp_output
112 proc compat-run { testname objlist dest optall optfile optstr } {
119 unresolved "$testcase $testname link $optstr"
120 unresolved "$testcase $testname execute $optstr"
134 unresolved "$testcase $testname execute $optstr"
147 $status "$testcase $testname execute $optstr"
315 set optstr ""
318 set optstr "\"$tst_option\",\"$alt_option\""
320 verbose "Testing $testcase, $optstr"
[all...]
H A Dprofopt.exp92 proc profopt-perf-value { testcase perf_ext optstr } {
106 fail "$testcase perf check: no consistent time available, $optstr"
114 fail "$testcase perf check: file $base.$perf_ext has wrong format, $optstr"
273 set optstr "$option $profile_option"
275 if ![${tool}_check_compile "$testcase compilation" $optstr $execname1 $comp_output] {
276 unresolved "$testcase execution, $optstr"
300 $status "$testcase execution, $optstr"
322 set optstr "$option $feedback_option"
324 if ![${tool}_check_compile "$testcase compilation" $optstr $execname2 $comp_output] {
325 unresolved "$testcase execution, $optstr"
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/
H A Dcmd-set-option.c87 const char *optstr, const struct options_table_entry **table,
100 if (strncmp(oe_loop->name, optstr, strlen(optstr)) != 0)
110 if (strcmp((*oe)->name, optstr) == 0)
126 const char *optstr, *valstr; local
130 optstr = args->argv[0];
131 if (*optstr == '\0') {
142 if (cmd_set_option_find(optstr, &table, &oe) != 0) {
143 ctx->error(ctx, "ambiguous option: %s", optstr);
147 ctx->error(ctx, "unknown option: %s", optstr);
86 cmd_set_option_find( const char *optstr, const struct options_table_entry **table, const struct options_table_entry **oe) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c++/detail/
H A Dapplication.cpp168 std::string optstr; local
170 optstr += '+'; // Turn on POSIX behavior.
172 optstr += ':';
179 optstr += opt.m_character;
181 optstr += ':';
188 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c++/detail/
H A Dapplication.cpp163 std::string optstr; local
165 optstr += '+'; // Turn on POSIX behavior.
167 optstr += ':';
174 optstr += opt.m_character;
176 optstr += ':';
182 while ((ch = ::getopt(m_argc, m_argv, optstr.c_str())) != -1) {
/netbsd-6-1-5-RELEASE/usr.sbin/bootp/bootptest/
H A Dprint-bootp.c284 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-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/mount/
H A Dmount_svr4.c78 mount_svr4(char *fsname, char *dir, int flags, MTYPE_TYPE type, caddr_t data, const char *optstr) argument
87 xstrlcpy(mountopts, optstr, MAX_MNTOPT_STR);
H A Dmount_linux.c143 parse_opts(char *type, const char *optstr, int *flags, char **xopts, int *noauto) argument
150 if (optstr == NULL)
153 xoptstr = strdup(optstr); /* because strtok is destructive below */
156 l = strlen(optstr) + 2;
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/libmudflap/
H A Dmf-runtime.c503 __mf_set_options (const char *optstr) argument
508 rc = __mfu_set_options (optstr);
519 __mfu_set_options (const char *optstr) argument
525 const char *saved_optstr = optstr;
527 /* XXX: bounds-check for optstr! */
529 while (*optstr)
531 switch (*optstr) {
535 optstr++;
539 if (*optstr+1)
542 optstr
[all...]
/netbsd-6-1-5-RELEASE/bin/sh/
H A Doptions.c414 getopts(char *optstr, char *optvar, char **optfirst, char ***optnext, char **optpptr) argument
442 for (q = optstr; *q != c; ) {
444 if (optstr[0] == ':') {
461 if (optstr[0] == ':') {
/netbsd-6-1-5-RELEASE/sbin/fsck/
H A Dfsck.c430 addoption(char *optstr) argument
435 if ((newoptions = strchr(optstr, ':')) == NULL)
441 if (!strcmp(e->type, optstr)) {
445 addentry(&opthead, optstr, newoptions);
/netbsd-6-1-5-RELEASE/usr.sbin/perfused/
H A Dperfused.c317 parse_debug(char *optstr) argument
323 for (opt = strtok_r(optstr, ",", &lastp);
/netbsd-6-1-5-RELEASE/usr.bin/grep/
H A Dgrep.c171 static const char optstr[] = variable
403 while (((c = getopt_long(aargc, aargv, optstr, long_options, NULL)) !=
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/tests/modetest/
H A Dmodetest.c520 static char optstr[] = "ecpmfs:"; variable
548 while ((c = getopt(argc, argv, optstr)) != -1) {
/netbsd-6-1-5-RELEASE/sys/compat/ultrix/
H A Dultrix_fs.c329 char *optstr; /* string of nfs mount options*/ member in struct:ultrix_nfs_args
/netbsd-6-1-5-RELEASE/external/apache2/mDNSResponder/dist/Clients/
H A Ddns-sd.c805 static int getfirstoption(int argc, char **argv, const char *optstr, int *pOptInd) argument
806 // Return the recognized option in optstr and the option index of the next arg.
813 NULL != strchr(optstr, argv[i][1]))
823 int o = getopt(argc, (char *const *)argv, optstr);
/netbsd-6-1-5-RELEASE/sys/arch/i386/i386/
H A Dmultiboot.c43 #include <sys/optstr.h>
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/libamu/
H A Dmount_fs.c810 nap->optstr = mntp->mnt_opts;
/netbsd-6-1-5-RELEASE/share/man/man9/
H A DMakefile39 namei.9 npf_ncode.9 nullop.9 opencrypto.9 optstr.9 \
540 MLINKS+=optstr.9 optstr_get.9

Completed in 305 milliseconds