/freebsd-11-stable/contrib/groff/src/roff/grog/ |
H A D | grog.sh | 7 opts= 18 sp=; opts="$opts -C"; shift; break;; 26 opts="$opts $arg"; shift;; 107 if (opts != "") 108 printf "%s", opts 112 }' "opts=$opts" "files=$*" -
|
/freebsd-11-stable/contrib/ntp/sntp/tests/ |
H A D | sntptest.c | 4 #include "sntp-opts.h" 24 char* opts[ARGV_SIZE]; local 26 opts[0] = estrdup("sntpopts"); 27 opts[1] = estrdup(option); 28 opts[2] = estrdup(argument); 29 opts[3] = estrdup("127.0.0.1"); 31 optionProcess(&sntpOptions, ARGV_SIZE, opts);
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | init.c | 33 do_presets(tOptions * opts); 45 * @param[in,out] opts program options descriptor 50 validate_struct(tOptions * opts, char const * pname) argument 52 if (opts == NULL) { 56 print_exit = ((opts->fOptSet & OPTPROC_SHELL_OUTPUT) != 0); 62 if ( ((opts->fOptSet & OPTPROC_TRANSLATE) != 0) 63 && (opts->pTransProc != NULL) 70 if ((opts->fOptSet & OPTPROC_NO_XLAT_MASK) == OPTPROC_NXLAT_OPT) 71 opts->fOptSet |= OPTPROC_NXLAT_OPT_CFG; 72 opts 145 immediate_opts(tOptions * opts) argument 192 do_presets(tOptions * opts) argument 250 ao_initialize(tOptions * opts, int a_ct, char ** a_v) argument [all...] |
H A D | sort.c | 34 must_arg(tOptions * opts, char * arg_txt, tOptState * pOS, 38 maybe_arg(tOptions * opts, char * arg_txt, tOptState * pOS, 42 short_opt_ck(tOptions * opts, char * arg_txt, tOptState * pOS, 52 must_arg(tOptions * opts, char * arg_txt, tOptState * pOS, argument 82 if (opts->curOptIdx >= opts->origArgCt) 85 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ]; 90 maybe_arg(tOptions * opts, char * arg_txt, tOptState * pOS, argument 119 if (opts 133 short_opt_ck(tOptions * opts, char * arg_txt, tOptState * pOS, char ** opt_txt, uint32_t * opt_idx) argument 182 optionSort(tOptions * opts) argument [all...] |
H A D | time.c | 34 * 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 D | find.c | 39 opt_ambiguities(tOptions * opts, char const * name, int nm_len); 42 opt_match_ct(tOptions * opts, char const * name, int nm_len, 46 opt_set(tOptions * opts, char * arg, int idx, bool disable, tOptState * st); 49 opt_unknown(tOptions * opts, char const * name, char * arg, tOptState * st); 52 opt_ambiguous(tOptions * opts, char const * name, int match_ct); 55 get_opt_arg_must(tOptions * opts, tOptState * o_st); 100 opt_ambiguities(tOptions * opts, char const * name, int nm_len) argument 103 NAMED_OPTS(opts) ? "" : LONG_OPT_MARKER; 105 tOptDesc * pOD = opts->pOptDesc; 120 } while (pOD++, (++idx < opts 134 opt_match_ct(tOptions * opts, char const * name, int nm_len, int * ixp, bool * disable) argument 209 opt_set(tOptions * opts, char * arg, int idx, bool disable, tOptState * st) argument 252 opt_unknown(tOptions * opts, char const * name, char * arg, tOptState * st) argument 290 opt_ambiguous(tOptions * opts, char const * name, int match_ct) argument 371 opt_find_long(tOptions * opts, char const * opt_name, tOptState * state) argument 488 get_opt_arg_must(tOptions * opts, tOptState * o_st) argument 652 get_opt_arg(tOptions * opts, tOptState * o_st) argument 679 find_opt(tOptions * opts, tOptState * o_st) argument [all...] |
H A D | proto.h | 13 too_many_occurrences(tOptions * opts, tOptDesc * od); 28 handle_opt(tOptions * opts, tOptState * o_st); 31 next_opt(tOptions * opts, tOptState * o_st); 34 regular_opts(tOptions * opts); 46 intern_file_load(tOptions * opts); 49 parse_attrs(tOptions * opts, char const * txt, tOptionLoadMode * pMode, 65 opt_find_long(tOptions * opts, char const * opt_name, tOptState * state); 71 get_opt_arg(tOptions * opts, tOptState * o_st); 74 find_opt(tOptions * opts, tOptState * o_st); 80 validate_struct(tOptions * opts, cha [all...] |
H A D | alias.c | 35 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...] |
H A D | makeshell.c | 43 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od); 46 emit_usage(tOptions * opts); 49 emit_wrapup(tOptions * opts); 52 emit_setup(tOptions * opts); 55 emit_action(tOptions * opts, tOptDesc * od); 58 emit_inaction(tOptions * opts, tOptDesc * od); 61 emit_flag(tOptions * opts); 64 emit_match_expr(char const * name, tOptDesc * cod, tOptions * opts); 67 emit_long(tOptions * opts); 115 optionParseShell(tOptions * opts) argument 288 text_to_var(tOptions * opts, teTextTo which, tOptDesc * od) argument 359 emit_usage(tOptions * opts) argument 435 emit_wrapup(tOptions * opts) argument 469 emit_setup(tOptions * opts) argument 534 emit_action(tOptions * opts, tOptDesc * od) argument 584 emit_inaction(tOptions * opts, tOptDesc * od) argument 607 emit_flag(tOptions * opts) argument 634 emit_match_expr(char const * name, tOptDesc * cod, tOptions * opts) argument 713 emit_long(tOptions * opts) argument 864 genshelloptUsage(tOptions * opts, int exit_cd) argument [all...] |
H A D | version.c | 108 * @param[in] opts the option descriptor 112 emit_copy_note(tOptions * opts, FILE * fp) argument 114 if (opts->pzCopyright != NULL) 115 fputs(opts->pzCopyright, fp); 117 if (opts->pzCopyNotice != NULL) 118 fputs(opts->pzCopyNotice, fp); 123 if (HAS_pzPkgDataDir(opts) && (opts->pzPackager != NULL)) { 125 fputs(opts->pzPackager, fp); 127 } else if (opts 138 print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) argument 191 optionPrintVersion(tOptions * opts, tOptDesc * od) argument 209 optionPrintVersionAndReturn(tOptions * opts, tOptDesc * od) argument 225 optionVersionStderr(tOptions * opts, tOptDesc * od) argument [all...] |
/freebsd-11-stable/contrib/ncurses/menu/ |
H A D | m_item_opt.c | 44 | Function : int set_item_opts(ITEM *item, Item_Options opts) 54 set_item_opts(ITEM * item, Item_Options opts) argument 56 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)item, opts)); 58 opts &= ALL_ITEM_OPTS; 60 if (opts & ~ALL_ITEM_OPTS) 65 if (item->opt != opts) 69 item->opt = opts; 71 if ((!(opts & O_SELECTABLE)) && item->value) 82 _nc_Default_Item.opt = opts; 89 | Function : int item_opts_off(ITEM *item, Item_Options opts) 97 item_opts_off(ITEM * item, Item_Options opts) argument 125 item_opts_on(ITEM * item, Item_Options opts) argument [all...] |
H A D | m_opts.c | 44 | Function : int set_menu_opts(MENU *menu, Menu_Options opts) 56 set_menu_opts(MENU * menu, Menu_Options opts) argument 58 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)menu, opts)); 60 opts &= ALL_MENU_OPTS; 62 if (opts & ~ALL_MENU_OPTS) 70 if ((opts & O_ROWMAJOR) != (menu->opt & O_ROWMAJOR)) 82 menu->opt = opts; 84 if (opts & O_ONEVALUE) 93 if (opts & O_SHOWDESC) /* this also changes the geometry */ 97 _nc_Default_Menu.opt = opts; 116 menu_opts_off(MENU * menu, Menu_Options opts) argument 149 menu_opts_on(MENU * menu, Menu_Options opts) argument [all...] |
/freebsd-11-stable/contrib/ncurses/form/ |
H A D | frm_opts.c | 39 | Function : int set_form_opts(FORM *form, Form_Options opts) 48 set_form_opts(FORM *form, Form_Options opts) argument 50 T((T_CALLED("set_form_opts(%p,%d)"), (void *)form, opts)); 52 opts &= (Form_Options) ALL_FORM_OPTS; 53 if ((unsigned)opts & ~ALL_FORM_OPTS) 57 Normalize_Form(form)->opts = opts; 74 returnCode((Form_Options) ((unsigned)Normalize_Form(form)->opts & ALL_FORM_OPTS)); 79 | Function : int form_opts_on(FORM *form, Form_Options opts) 88 form_opts_on(FORM *form, Form_Options opts) argument 113 form_opts_off(FORM *form, Form_Options opts) argument [all...] |
H A D | fld_opts.c | 43 | Function : int set_field_opts(FIELD *field, Field_Options opts) 54 set_field_opts(FIELD *field, Field_Options opts) argument 58 T((T_CALLED("set_field_opts(%p,%d)"), (void *)field, opts)); 60 opts &= ALL_FIELD_OPTS; 61 if (!(opts & ~ALL_FIELD_OPTS)) 62 res = _nc_Synchronize_Options(Normalize_Field(field), opts); 79 returnCode(ALL_FIELD_OPTS & Normalize_Field(field)->opts); 84 | Function : int field_opts_on(FIELD *field, Field_Options opts) 95 field_opts_on(FIELD *field, Field_Options opts) argument 99 T((T_CALLED("field_opts_on(%p,%d)"), (void *)field, opts)); 123 field_opts_off(FIELD *field, Field_Options opts) argument [all...] |
/freebsd-11-stable/tools/tools/mtxstat/ |
H A D | mtxstat.pl | 42 my %opts; # Command-line options 51 getopts("acgl:mrt", \%opts) 53 if ($opts{'a'}) { 55 if ($opts{'c'} || $opts{'m'} || $opts{'t'}); 57 } elsif ($opts{'c'}) { 59 if ($opts{'m'} || $opts{'t'}); 61 } elsif ($opts{' [all...] |
/freebsd-11-stable/usr.sbin/lpr/ |
H A D | Makefile.inc | 3 .include <src.opts.mk>
|
/freebsd-11-stable/crypto/openssh/ |
H A D | auth-options.c | 99 char *opts = *optsp; local 102 if (allow_negate && strncasecmp(opts, "no-", 3) == 0) { 103 opts += 3; 106 if (strncasecmp(opts, opt, opt_len) == 0) { 107 *optsp = opts + opt_len; 122 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) argument 131 if (!opts) 134 while (*opts && *opts != ' ' && *opts ! [all...] |
/freebsd-11-stable/contrib/amd/scripts/ |
H A D | amd2sun.in | 31 ($defopts = $rest) =~ s/^.*[\s;]opts:=([^;\s]+)[;\s]*.*$/\1/; 35 $opts=$defopts; 37 if ($rest =~ /opts:=([^;\s]+)[;\s]/) { 38 $opts = $1; 41 $opts =~ s/,ping=[-\d]+//g; 50 print "$fs -$opts $rhost:$rfs\n";
|
/freebsd-11-stable/contrib/groff/src/roff/nroff/ |
H A D | nroff.sh | 44 opts= 52 opts="$opts -P-c" ;; 54 opts="$opts -P-h" ;; 62 opts="$opts $1" ;; 73 opts="$opts -P-c" ;; 104 PATH="$GROFF_RUNTIME$PATH" groff -mtty-char $T $opts [all...] |
/freebsd-11-stable/contrib/amd/amd/ |
H A D | amfs_toplvl.c | 86 set_auto_attrcache_timeout(char *preopts, char *opts, size_t l) argument 98 xstrlcat(opts, preopts, l); 110 xstrlcat(opts, preopts, l); 114 xstrlcat(opts, preopts, l); 118 xstrlcat(opts, preopts, l); 122 xstrlcat(opts, preopts, l); 126 xstrlcat(opts, preopts, l); 169 char opts[SIZEOF_OPTS], preopts[SIZEOF_OPTS], toplvl_opts[40]; local 194 autofs_get_opts(opts, sizeof(opts), m [all...] |
/freebsd-11-stable/sys/contrib/rdma/krping/ |
H A D | getopt.c | 18 * @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-11-stable/sys/contrib/rdma/krping_compat/ |
H A D | getopt.c | 18 * @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-11-stable/sbin/pfctl/ |
H A D | pfctl_altq.c | 259 struct node_queue_opt *opts) 278 errors += eval_queue_opts(pa, opts, pa->ifbandwidth); 303 check_commit_altq(int dev, int opts) argument 313 error = check_commit_cbq(dev, opts, altq); 316 error = check_commit_priq(dev, opts, altq); 319 error = check_commit_hfsc(dev, opts, altq); 322 error = check_commit_fairq(dev, opts, altq); 337 struct node_queue_opt *opts) 406 if (eval_queue_opts(pa, opts, parent == NULL? 0 : parent->bandwidth)) 437 struct cbq_opts *opts; local 258 eval_pfaltq(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw, struct node_queue_opt *opts) argument 336 eval_pfqueue(struct pfctl *pf, struct pf_altq *pa, struct node_queue_bw *bw, struct node_queue_opt *opts) argument 475 struct cbq_opts *opts; local 557 check_commit_cbq(int dev, int opts, struct pf_altq *pa) argument 592 const struct cbq_opts *opts; local 652 check_commit_priq(int dev, int opts, struct pf_altq *pa) argument 680 const struct priq_opts *opts; local 712 struct hfsc_opts *opts; local 853 struct fairq_opts *opts; local 926 check_commit_hfsc(int dev, int opts, struct pf_altq *pa) argument 1004 const struct hfsc_opts *opts; local 1052 const struct codel_opts *opts; local 1074 const struct fairq_opts *opts; local 1384 eval_queue_opts(struct pf_altq *pa, struct node_queue_opt *opts, u_int32_t ref_bw) argument [all...] |
/freebsd-11-stable/sbin/ifconfig/ |
H A D | ifgre.c | 54 uint32_t opts = 0; local 56 ifr.ifr_data = (caddr_t)&opts; 58 if (opts != 0) 59 printf("\tgrekey: 0x%x (%u)\n", opts, opts); 60 opts = 0; 61 if (ioctl(s, GREGOPTS, &ifr) != 0 || opts == 0) 63 printb("\toptions", opts, GREBITS); 82 uint32_t opts; local 84 ifr.ifr_data = (caddr_t)&opts; [all...] |
/freebsd-11-stable/contrib/ipfilter/lib/ |
H A D | printdstlistdata.c | 12 printdstlistdata(pool, opts) 14 int opts; 17 if ((opts & OPT_DEBUG) == 0) { 29 if ((opts & OPT_DEBUG) == 0) {
|