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

1234567891011>>

/freebsd-current/contrib/ntp/sntp/tests/
H A Dsntptest.c22 char* opts[ARGV_SIZE]; local
24 opts[0] = estrdup("sntpopts");
25 opts[1] = estrdup(option);
26 opts[2] = estrdup(argument);
27 opts[3] = estrdup("127.0.0.1");
29 optionProcess(&sntpOptions, COUNTOF(opts), opts);
/freebsd-current/contrib/unifdef/tests/
H A Dmulti.sh0 opts="-DFOO=1 -DFOOB=42 -UBAR"
H A Dmultilnnum.sh0 opts="-DFOO=1 -DFOOB=42 -UBAR -n"
H A Dmultimissing.sh0 opts="-DFOO=1 -DFOOB=42 -UBAR"
H A Dmultinewline.sh0 opts="-DFOO -DF1"
/freebsd-current/contrib/ntp/sntp/libopts/
H A Dinit.c40 * @param[in,out] opts program options descriptor
45 validate_struct(tOptions * opts, char const * pname) argument
47 if (opts == NULL) {
51 print_exit = ((opts->fOptSet & OPTPROC_SHELL_OUTPUT) != 0);
57 if ( ((opts->fOptSet & OPTPROC_TRANSLATE) != 0)
58 && (opts->pTransProc != NULL)
65 if ((opts->fOptSet & OPTPROC_NO_XLAT_MASK) == OPTPROC_NXLAT_OPT)
66 opts->fOptSet |= OPTPROC_NXLAT_OPT_CFG;
67 opts->pTransProc();
75 if ( ( opts
141 immediate_opts(tOptions * opts) argument
188 do_presets(tOptions * opts) argument
246 ao_initialize(tOptions * opts, int a_ct, char ** a_v) argument
[all...]
H A Dsort.c38 must_arg(tOptions * opts, char * arg_txt, tOptState * pOS, argument
68 if (opts->curOptIdx >= opts->origArgCt)
71 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ];
76 maybe_arg(tOptions * opts, char * arg_txt, tOptState * pOS, argument
105 if (opts->curOptIdx >= opts->origArgCt)
108 arg_txt = opts->origArgVect[ opts
119 short_opt_ck(tOptions * opts, char * arg_txt, tOptState * pOS, char ** opt_txt, uint32_t * opt_idx) argument
168 optionSort(tOptions * opts) argument
[all...]
H A Dtime.c34 * arg: + tOptions * + opts + program options descriptor +
41 optionTimeVal(tOptions * opts, tOptDesc * od) argument
45 if (INQUERY_CALL(opts, od))
50 fprintf(stderr, zNotDuration, opts->pzProgName, od->optArg.argString);
51 if ((opts->fOptSet & OPTPROC_ERRSTOP) != 0)
52 (*(opts->pUsageProc))(opts, EXIT_FAILURE);
67 * arg: + tOptions * + opts + program options descriptor +
74 optionTimeDate(tOptions * opts, tOptDesc * od) argument
77 if (INQUERY_CALL(opts, o
[all...]
H A Dfind.c70 opt_ambiguities(tOptions * opts, char const * name, int nm_len) argument
73 NAMED_OPTS(opts) ? "" : LONG_OPT_MARKER;
75 tOptDesc * pOD = opts->pOptDesc;
90 } while (pOD++, (++idx < opts->optCt));
104 opt_match_ct(tOptions * opts, char const * name, int nm_len, argument
109 int idxLim = opts->optCt;
110 tOptDesc * pOD = opts->pOptDesc;
172 * @param opts option data
179 opt_set(tOptions * opts, char * arg, int idx, bool disable, tOptState * st) argument
181 tOptDesc * pOD = opts
222 opt_unknown(tOptions * opts, char const * name, char * arg, tOptState * st) argument
260 opt_ambiguous(tOptions * opts, char const * name, int match_ct) argument
341 opt_find_long(tOptions * opts, char const * opt_name, tOptState * state) argument
458 get_opt_arg_must(tOptions * opts, tOptState * o_st) argument
623 get_opt_arg(tOptions * opts, tOptState * o_st) argument
664 find_opt(tOptions * opts, tOptState * o_st) argument
[all...]
H A Dalias.c35 too_many_occurrences(tOptions * opts, tOptDesc * od) argument
37 if ((opts->fOptSet & OPTPROC_ERRSTOP) != 0) {
40 fprintf(stderr, ztoo_often_fmt, opts->pzProgName);
46 (*opts->pUsageProc)(opts, EXIT_FAILURE);
57 * arg: + tOptions * + opts + program options descriptor +
67 optionAlias(tOptions * opts, tOptDesc * old_od, unsigned int alias) argument
71 if (opts <= OPTPROC_EMIT_LIMIT)
74 new_od = opts->pOptDesc + alias;
75 if ((unsigned)opts
[all...]
/freebsd-current/contrib/ncurses/menu/
H A Dm_item_opt.c45 | Function : int set_item_opts(ITEM *item, Item_Options opts)
55 set_item_opts(ITEM *item, Item_Options opts) argument
57 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)item, opts));
59 opts &= ALL_ITEM_OPTS;
61 if (opts & ~ALL_ITEM_OPTS)
66 if (item->opt != opts)
70 item->opt = opts;
72 if ((!(opts & O_SELECTABLE)) && item->value)
83 _nc_Default_Item.opt = opts;
90 | Function : int item_opts_off(ITEM *item, Item_Options opts)
98 item_opts_off(ITEM *item, Item_Options opts) argument
126 item_opts_on(ITEM *item, Item_Options opts) argument
[all...]
H A Dm_opts.c45 | Function : int set_menu_opts(MENU *menu, Menu_Options opts)
57 set_menu_opts(MENU *menu, Menu_Options opts) argument
59 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)menu, opts));
61 opts &= ALL_MENU_OPTS;
63 if (opts & ~ALL_MENU_OPTS)
71 if ((opts & O_ROWMAJOR) != (menu->opt & O_ROWMAJOR))
83 menu->opt = opts;
85 if (opts & O_ONEVALUE)
94 if (opts & O_SHOWDESC) /* this also changes the geometry */
98 _nc_Default_Menu.opt = opts;
117 menu_opts_off(MENU *menu, Menu_Options opts) argument
150 menu_opts_on(MENU *menu, Menu_Options opts) argument
[all...]
/freebsd-current/contrib/ncurses/form/
H A Dfrm_opts.c40 | Function : int set_form_opts(FORM *form, Form_Options opts)
49 set_form_opts(FORM *form, Form_Options opts) argument
51 T((T_CALLED("set_form_opts(%p,%d)"), (void *)form, opts));
53 opts &= (Form_Options)ALL_FORM_OPTS;
54 if ((unsigned)opts & ~ALL_FORM_OPTS)
58 Normalize_Form(form)->opts = opts;
75 returnCode((Form_Options)((unsigned)Normalize_Form(form)->opts & ALL_FORM_OPTS));
80 | Function : int form_opts_on(FORM *form, Form_Options opts)
89 form_opts_on(FORM *form, Form_Options opts) argument
114 form_opts_off(FORM *form, Form_Options opts) argument
[all...]
H A Dfld_opts.c44 | Function : int set_field_opts(FIELD *field, Field_Options opts)
55 set_field_opts(FIELD *field, Field_Options opts) argument
59 T((T_CALLED("set_field_opts(%p,%d)"), (void *)field, opts));
61 opts &= ALL_FIELD_OPTS;
62 if (!(opts & ~ALL_FIELD_OPTS))
63 res = _nc_Synchronize_Options(Normalize_Field(field), opts);
80 returnCode(ALL_FIELD_OPTS & Normalize_Field(field)->opts);
85 | Function : int field_opts_on(FIELD *field, Field_Options opts)
96 field_opts_on(FIELD *field, Field_Options opts) argument
100 T((T_CALLED("field_opts_on(%p,%d)"), (void *)field, opts));
124 field_opts_off(FIELD *field, Field_Options opts) argument
[all...]
/freebsd-current/tests/
H A DMakefile.inc03 # default for MK_CHECK_USE_SANDBOX. src.opts.mk will override the value if the
7 .include <bsd.opts.mk>
/freebsd-current/tools/tools/mtxstat/
H A Dmtxstat.pl41 my %opts; # Command-line options
50 getopts("acgl:mrt", \%opts)
52 if ($opts{'a'}) {
54 if ($opts{'c'} || $opts{'m'} || $opts{'t'});
56 } elsif ($opts{'c'}) {
58 if ($opts{'m'} || $opts{'t'});
60 } elsif ($opts{'
[all...]
/freebsd-current/lib/libcasper/
H A DMakefile.inc2 .include <src.opts.mk>
/freebsd-current/usr.sbin/lpr/
H A DMakefile.inc2 .include <src.opts.mk>
/freebsd-current/bin/
H A DMakefile.inc2 .include <src.opts.mk>
/freebsd-current/sbin/
H A DMakefile.inc2 .include <src.opts.mk>
/freebsd-current/crypto/openssh/regress/
H A Dknownhosts.sh6 opts="-F $OBJ/ssh_proxy"
9 ${SSH} $opts somehost true || fail "initial connection"
13 ${SSH} -ohashknownhosts=yes -o stricthostkeychecking=no $opts somehost true \
17 ${SSH} $opts somehost true || fail "reconnect with hashed known hosts"
21 ${SSH} $opts -ostricthostkeychecking=no somehost true \
23 ${SSH} $opts -ostricthostkeychecking=yes somehost true \
28 ${SSH} $opts -ostricthostkeychecking=no somehost true \
30 ${SSH} $opts -ostricthostkeychecking=yes somehost true \
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp93 namespace opts { namespace
171 } // namespace opts
211 opts::Addrsig = Args.hasArg(OPT_addrsig);
212 opts::All = Args.hasArg(OPT_all);
213 opts::ArchSpecificInfo = Args.hasArg(OPT_arch_specific);
214 opts::BBAddrMap = Args.hasArg(OPT_bb_addr_map);
215 opts::CGProfile = Args.hasArg(OPT_cg_profile);
216 opts::Decompress = Args.hasArg(OPT_decompress);
217 opts::Demangle = Args.hasFlag(OPT_demangle, OPT_no_demangle, false);
218 opts
[all...]
/freebsd-current/sys/contrib/rdma/krping/
H A Dgetopt.c18 * @opts: an array of &struct option entries controlling parser operations
26 * Returns opts->val if a matching entry in the 'opts' array is found,
30 const struct krping_option *opts, char **optopt,
47 for (; opts->name; opts++) {
48 if (!strcmp(opts->name, token)) {
50 if (opts->has_arg & OPT_NOPARAM) {
51 return opts->val;
57 if (opts
29 krping_getopt(const char *caller, char **options, const struct krping_option *opts, char **optopt, char **optarg, unsigned long *value) argument
[all...]
/freebsd-current/sbin/ipf/libipf/
H A Dprintpool_live.c13 printpool_live(ip_pool_t *pool, int fd, char *name, int opts, argument
25 printpooldata(pool, opts);
29 if (opts & OPT_SAVEOUT)
31 else if ((opts & OPT_DEBUG) == 0)
53 if (opts & OPT_SAVEOUT)
55 (void) printpoolnode(&entry, opts, fields);
56 if ((opts & OPT_DEBUG) == 0)
58 if (opts & OPT_SAVEOUT)
67 if (opts & OPT_SAVEOUT)
69 else if ((opts
[all...]
/freebsd-current/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c70 static void print_opts(raidz_test_opts_t *opts, boolean_t force) argument
73 switch (opts->rto_v) {
86 if (force || opts->rto_v >= D_INFO) {
96 opts->rto_ashift, /* -a */
97 ilog2(opts->rto_offset), /* -o */
98 opts->rto_expand ? "yes" : "no", /* -e */
99 (u_longlong_t)opts->rto_expand_offset, /* -r */
100 opts->rto_dcols, /* -d */
101 ilog2(opts->rto_dsize), /* -s */
102 opts
210 cmp_code(raidz_test_opts_t *opts, const raidz_map_t *rm, const int parity) argument
237 cmp_data(raidz_test_opts_t *opts, raidz_map_t *rm) argument
303 init_raidz_golden_map(raidz_test_opts_t *opts, const int parity) argument
363 init_raidz_map(raidz_test_opts_t *opts, zio_t **zio, const int parity) argument
397 run_gen_check(raidz_test_opts_t *opts) argument
456 run_rec_check_impl(raidz_test_opts_t *opts, raidz_map_t *rm, const int fn) argument
573 run_rec_check(raidz_test_opts_t *opts) argument
628 run_test(raidz_test_opts_t *opts) argument
660 raidz_test_opts_t *opts = (raidz_test_opts_t *)arg; local
703 raidz_test_opts_t *opts; local
[all...]

Completed in 156 milliseconds

1234567891011>>