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

1234567891011>>

/illumos-gate/usr/src/cmd/logadm/
H A Dopts.h24 * logadm/opts.h -- public definitions for opts module
41 struct opts;
57 struct opts *opts_parse(struct opts *, char **args, int flags);
58 void opts_free(struct opts *opts);
59 void opts_set(struct opts *opts, const char *o, const char *optarg);
60 int opts_count(struct opts *opt
[all...]
H A Dconf.h34 int conf_open(const char *cfname, const char *tfname, struct opts *opts);
35 void conf_close(struct opts *opts);
37 struct opts *conf_opts(const char *lhs);
38 void conf_replace(const char *lhs, struct opts *newopts);
H A Dopts.c27 * logadm/opts.c -- options handling routines
42 #include "opts.h"
46 static void opts_setcmdarg(struct opts *opts, const char *cmdarg);
49 struct opts { struct
126 struct opts *
127 opts_parse(struct opts *opts, char **argv, int flags) argument
132 if (opts == NULL) {
133 opts
202 opts_free(struct opts *opts) argument
216 opts_set(struct opts *opts, const char *o, const char *optarg) argument
234 opts_setcmdarg(struct opts *opts, const char *cmdarg) argument
243 opts_count(struct opts *opts, const char *options) argument
261 opts_optarg(struct opts *opts, const char *o) argument
270 opts_optarg_int(struct opts *opts, const char *o) argument
284 opts_cmdargs(struct opts *opts) argument
495 opts_print(struct opts *opts, FILE *stream, char *exclude) argument
531 struct opts *opts; local
[all...]
/illumos-gate/usr/src/lib/libeti/form/common/
H A Dform_opts.c39 set_form_opts(FORM *f, OPTIONS opts) argument
41 Form(f)->opts = opts;
48 return (Form(f) -> opts);
52 form_opts_on(FORM *f, OPTIONS opts) argument
54 Form(f)->opts |= opts;
59 form_opts_off(FORM *f, OPTIONS opts) argument
61 Form(f)-> opts &= ~opts;
[all...]
H A Dfield_opts.c39 set_field_opts(FIELD *f, OPTIONS opts) argument
41 return (_sync_opts(Field(f), opts));
47 return (Field(f) -> opts);
51 field_opts_on(FIELD *f, OPTIONS opts) argument
54 return (_sync_opts(x, x->opts | opts));
59 field_opts_off(FIELD *f, OPTIONS opts) argument
62 return (_sync_opts(x, x->opts & ~opts));
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dattr_on.c52 attr_on(attr_t at, void *opts) argument
54 (void) wattr_on(stdscr, at, opts);
62 attr_off(attr_t at, void *opts) argument
64 (void) wattr_off(stdscr, at, opts);
72 attr_set(attr_t at, short co, void *opts) argument
74 (void) wattr_set(stdscr, at, co, opts);
82 color_set(short co, void *opts) argument
84 (void) wcolor_set(stdscr, co, opts);
92 attr_get(attr_t *at, short *co, void *opts) argument
94 (void) wattr_get(stdscr, at, co, opts);
[all...]
H A Dvid_attr.c50 vid_attr(attr_t attr, short pair, void *opts) argument
54 code = vid_puts(attr, pair, opts, __m_putchar);
H A Dchgat.c52 chgat(int n, attr_t at, short co, const void *opts) argument
56 code = wchgat(stdscr, n, at, co, opts);
64 mvchgat(int y, int x, int n, attr_t at, short co, const void *opts) argument
69 code = wchgat(stdscr, n, at, co, opts);
78 short co, const void *opts)
83 code = wchgat(w, n, at, co, opts);
77 mvwchgat(WINDOW *w, int y, int x, int n, attr_t at, short co, const void *opts) argument
/illumos-gate/usr/src/tools/scripts/
H A Dprotocmp.terse.sh29 opts=""
35 opts="$opts -$arg"
51 protocmp $opts "$@" 2>$errlog |
/illumos-gate/usr/src/cmd/prtconf/
H A Dprtconf.c40 struct prt_opts opts; variable in typeref:struct:prt_opts
59 opts.o_progname = "prtconf";
61 opts.o_progname = (const char *) p + 1;
63 opts.o_progname = name;
183 opts.o_promdev = "/dev/openprom";
188 ++opts.o_ancestors;
191 ++opts.o_productinfo;
194 ++opts.o_children;
197 ++opts.o_pciid;
200 ++opts
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvid_attr.c47 vid_attr(attr_t attr, short pair, void *opts) argument
52 __m_trace("vid_attr(%x, %d, %p)", attr, pair, opts);
55 code = vid_puts(attr, pair, opts, __m_putchar);
H A Dattr_on.c45 (attr_on)(attr_t at, void *opts) argument
48 __m_trace("attr_on(%x, %p)", at, opts);
57 (attr_off)(attr_t at, void *opts) argument
60 __m_trace("attr_off(%x, %p)", at, opts);
69 (attr_set)(attr_t at, short co, void *opts) argument
72 __m_trace("attr_set(%x, %d, %p)", at, co, opts);
82 (color_set)(short co, void *opts) argument
85 __m_trace("color_set(%d, %p)", co, opts);
94 (attr_get)(attr_t *at, short *co, void *opts) argument
97 __m_trace("attr_get(%p, %p, %p)", at, co, opts);
[all...]
H A Dchgat.c47 (chgat)(int n, attr_t at, short co, const void *opts) argument
52 __m_trace("chgat(%d, %x, %d, %p)", n, at, co, opts);
55 code = wchgat(stdscr, n, at, co, opts);
61 (mvchgat)(int y, int x, int n, attr_t at, short co, const void *opts) argument
66 __m_trace("mvchgat(%d, %d, %d, %x, %d, %p)", y, x, n, at, co, opts);
70 code = wchgat(stdscr, n, at, co, opts);
77 WINDOW *w, int y, int x, int n, attr_t at, short co, const void *opts)
84 w, y, x, n, at, co, opts
89 code = wchgat(w, n, at, co, opts);
76 mvwchgat( WINDOW *w, int y, int x, int n, attr_t at, short co, const void *opts) argument
H A Dwattr_on.c47 wattr_on(WINDOW *w, attr_t at, void *opts) argument
50 __m_trace("wattr_on(%p, %x, %p)", w, at, opts);
61 wattr_off(WINDOW *w, attr_t at, void *opts) argument
64 __m_trace("wattr_off(%p, %x, %p)", w, at, opts);
75 wattr_set(WINDOW *w, attr_t at, short co, void *opts) argument
78 __m_trace("wattr_set(%p, %x, %d, %p)", w, at, co, opts);
90 wattr_get(WINDOW *w, attr_t *at, short *co, void *opts) argument
93 __m_trace("wattr_get(%p, %p, %p, %p)", w, at, co, opts);
108 wcolor_set(WINDOW *w, short co, void *opts) argument
111 __m_trace("wcolor_set(%p, %d, %p)", w, co, opts);
[all...]
/illumos-gate/usr/src/cmd/krb5/kinit/
H A Dkinit.c345 add_preauth_opt(struct k_opts *opts, char *av) argument
350 if (opts->num_pa_opts == 0) {
351 opts->pa_opts = malloc(sizeof(krb5_gic_opt_pa_data));
352 if (opts->pa_opts == NULL)
355 size_t newsize = (opts->num_pa_opts + 1) * sizeof(krb5_gic_opt_pa_data);
356 x = realloc(opts->pa_opts, newsize);
359 opts->pa_opts = x;
361 p = &opts->pa_opts[opts->num_pa_opts];
371 opts
1303 struct k_opts opts; local
[all...]
/illumos-gate/usr/src/tools/onbld/Checks/
H A DCStyle.py36 def cstyle(fh, filename=None, output=sys.stderr, **opts):
46 for x in filter(lambda x: x not in opttrans, opts):
50 options = [opttrans[x] for x in opts if opts[x]]
H A DJStyle.py37 def jstyle(fh, filename=None, output=sys.stderr, **opts):
45 for x in filter(lambda x: x not in opttrans, opts):
49 options = [opttrans[x] for x in opts if opts[x]]
H A DManLint.py36 def manlint(fh, filename=None, output=sys.stderr, **opts):
39 for x in filter(lambda x: x not in opttrans, opts):
43 options = [opttrans[x] for x in opts if opts[x] and opttrans[x]]
/illumos-gate/usr/src/boot/sys/boot/uboot/
H A DMakefile3 .include <src.opts.mk>
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_022_pos.ksh76 typeset opts=""
79 opts="$opts -O ${RW_FS_PROP[$i]}"
83 log_must zpool create $opts -f $TESTPOOL $DISKS
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpustat.c84 static const struct options *opts = (const struct options *)&__options; variable in typeref:struct:options
101 (void) fprintf(stderr, "%s: ", opts->pgmname);
102 if (opts->debug)
119 struct options *opts = &__options; local
130 if ((opts->pgmname = strrchr(argv[0], '/')) == NULL)
131 opts->pgmname = argv[0];
133 opts->pgmname++;
141 opts->pgmname, errstr);
147 "counters - %s\n"), opts->pgmname, errstr);
162 opts
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dload_pool.c32 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
34 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0))
52 if ((opts & OPT_REMOVE) == 0) {
54 if ((opts & OPT_DONOTHING) == 0) {
60 if ((opts & OPT_VERBOSE) != 0) {
62 printpool(&pool, bcopywrap, pool.ipo_name, opts);
69 if ((opts & OPT_REMOVE) != 0) {
71 if ((opts & OPT_DONOTHING) == 0) {
/illumos-gate/usr/src/boot/sys/boot/common/
H A DMakefile3 .include <src.opts.mk>
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cachefile/
H A Dcachefile_001_pos.ksh69 set -A opts "none" "false" "none" \
76 while (( i < ${#opts[*]} )); do
77 log_must zpool create -o cachefile=${opts[i]} $TESTPOOL $DISKS
78 case ${opts[((i+1))]} in
81 true) log_must pool_in_cache $TESTPOOL ${opts[i]}
86 if [[ $PROP != ${opts[((i+2))]} ]]; then
88 "Expect: ${opts[((i+2))]}, Current: $PROP"
/illumos-gate/usr/src/common/net/dhcp/
H A Dscan.c93 if (pl->opts[CD_VENDOR_SPEC] == NULL)
95 len = pl->opts[CD_VENDOR_SPEC]->len;
96 start = pl->opts[CD_VENDOR_SPEC]->value;
107 * Load opts table in PKT_LIST entry with PKT's options.
129 field_scan(pkt->options, &pkt->options[opt_size], pl->opts,
137 if (scan_vendor && (pl->opts[CD_VENDOR_SPEC] != NULL))
140 if (pl->opts[CD_DHCP_TYPE] == NULL)
143 if (pl->opts[CD_DHCP_TYPE]->len != 1)
146 if (*pl->opts[CD_DHCP_TYPE]->value < DISCOVER ||
147 *pl->opts[CD_DHCP_TYP
[all...]

Completed in 121 milliseconds

1234567891011>>