| /freebsd-11-stable/contrib/ntp/sntp/libopts/ |
| HD | init.c | 33 do_presets(tOptions * opts); 50 validate_struct(tOptions * opts, char const * pname) in validate_struct() argument 52 if (opts == NULL) { in validate_struct() 56 print_exit = ((opts->fOptSet & OPTPROC_SHELL_OUTPUT) != 0); in validate_struct() 62 if ( ((opts->fOptSet & OPTPROC_TRANSLATE) != 0) in validate_struct() 63 && (opts->pTransProc != NULL) in validate_struct() 70 if ((opts->fOptSet & OPTPROC_NO_XLAT_MASK) == OPTPROC_NXLAT_OPT) in validate_struct() 71 opts->fOptSet |= OPTPROC_NXLAT_OPT_CFG; in validate_struct() 72 opts->pTransProc(); in validate_struct() 80 if ( ( opts->structVersion != OPTIONS_STRUCT_VERSION ) in validate_struct() [all …]
|
| HD | 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, in must_arg() argument 82 if (opts->curOptIdx >= opts->origArgCt) in must_arg() 85 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ]; in must_arg() 90 maybe_arg(tOptions * opts, char * arg_txt, tOptState * pOS, in maybe_arg() argument 119 if (opts->curOptIdx >= opts->origArgCt) in maybe_arg() 122 arg_txt = opts->origArgVect[ opts->curOptIdx ]; in maybe_arg() 124 opt_txt[ (*opt_idx)++ ] = opts->origArgVect[ (opts->curOptIdx)++ ]; in maybe_arg() [all …]
|
| HD | 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) in opt_ambiguities() argument 103 NAMED_OPTS(opts) ? "" : LONG_OPT_MARKER; in opt_ambiguities() 105 tOptDesc * pOD = opts->pOptDesc; in opt_ambiguities() 120 } while (pOD++, (++idx < opts->optCt)); in opt_ambiguities() [all …]
|
| HD | 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) in optionParseShell() argument [all …]
|
| HD | usage.c | 51 print_offer_usage(tOptions * opts); 54 print_usage_details(tOptions * opts, int exit_code); 60 prt_conflicts(tOptions * opts, tOptDesc * od); 63 prt_one_vendor(tOptions * opts, tOptDesc * od, 67 prt_vendor_opts(tOptions * opts, char const * title); 70 prt_extd_usage(tOptions * opts, tOptDesc * od, char const * title); 77 prt_preamble(tOptions * opts, tOptDesc * od, arg_types_t * at); 80 prt_one_usage(tOptions * opts, tOptDesc * od, arg_types_t * at); 83 prt_opt_usage(tOptions * opts, int ex_code, char const * title); 86 prt_prog_detail(tOptions * opts); [all …]
|
| HD | autoopts.c | 108 handle_opt(tOptions * opts, tOptState * o_st) in handle_opt() argument 125 if ( ((opts->fOptSet & OPTPROC_PRESETTING) != 0) in handle_opt() 139 tOptDesc * eqv_od = opts->pOptDesc + od->optEquivIndex; in handle_opt() 157 (opts->pOptDesc + eqv_od->optActualIndex)->pz_Name); in handle_opt() 201 return too_many_occurrences(opts, od); in handle_opt() 206 (*opt_proc)(opts, od); in handle_opt() 221 next_opt(tOptions * opts, tOptState * o_st) in next_opt() argument 224 tSuccess res = find_opt(opts, o_st); in next_opt() 235 return get_opt_arg(opts, o_st); in next_opt() 248 regular_opts(tOptions * opts) in regular_opts() argument [all …]
|
| HD | version.c | 112 emit_copy_note(tOptions * opts, FILE * fp) in emit_copy_note() argument 114 if (opts->pzCopyright != NULL) in emit_copy_note() 115 fputs(opts->pzCopyright, fp); in emit_copy_note() 117 if (opts->pzCopyNotice != NULL) in emit_copy_note() 118 fputs(opts->pzCopyNotice, fp); in emit_copy_note() 123 if (HAS_pzPkgDataDir(opts) && (opts->pzPackager != NULL)) { in emit_copy_note() 125 fputs(opts->pzPackager, fp); in emit_copy_note() 127 } else if (opts->pzBugAddr != NULL) { in emit_copy_note() 129 fprintf(fp, zPlsSendBugs, opts->pzBugAddr); in emit_copy_note() 138 print_ver(tOptions * opts, tOptDesc * od, FILE * fp, bool call_exit) in print_ver() argument [all …]
|
| HD | configfile.c | 33 file_preset(tOptions * opts, char const * fname, int dir); 39 handle_cfg(tOptions * opts, tOptState * ost, char * txt, int dir); 42 handle_directive(tOptions * opts, char * txt); 45 aoflags_directive(tOptions * opts, char * txt); 48 program_directive(tOptions * opts, char * txt); 51 handle_section(tOptions * opts, char * txt); 63 handle_struct(tOptions * opts, tOptState * ost, char * txt, int dir); 66 parse_keyword(tOptions * opts, char const * txt, tOptionValue * typ); 69 parse_set_mem(tOptions * opts, char const * txt, tOptionValue * typ); 413 file_preset(tOptions * opts, char const * fname, int dir) in file_preset() argument [all …]
|
| HD | time.c | 41 optionTimeVal(tOptions * opts, tOptDesc * od) in optionTimeVal() argument 45 if (INQUERY_CALL(opts, od)) in optionTimeVal() 50 fprintf(stderr, zNotDuration, opts->pzProgName, od->optArg.argString); in optionTimeVal() 51 if ((opts->fOptSet & OPTPROC_ERRSTOP) != 0) in optionTimeVal() 52 (*(opts->pUsageProc))(opts, EXIT_FAILURE); in optionTimeVal() 74 optionTimeDate(tOptions * opts, tOptDesc * od) in optionTimeDate() argument 77 if (INQUERY_CALL(opts, od)) in optionTimeDate() 80 if ((! HAS_pzPkgDataDir(opts)) || (opts->pzPkgDataDir == NULL)) in optionTimeDate() 93 envptr = AGALOC(sizeof(fmt) + strlen(opts->pzPkgDataDir), fmt); in optionTimeDate() 94 sprintf(envptr, fmt, opts->pzPkgDataDir); in optionTimeDate() [all …]
|
| /freebsd-11-stable/crypto/openssh/ |
| HD | auth-options.c | 99 char *opts = *optsp; in match_flag() local 102 if (allow_negate && strncasecmp(opts, "no-", 3) == 0) { in match_flag() 103 opts += 3; in match_flag() 106 if (strncasecmp(opts, opt, opt_len) == 0) { in match_flag() 107 *optsp = opts + opt_len; in match_flag() 122 auth_parse_options(struct passwd *pw, char *opts, char *file, u_long linenum) in auth_parse_options() argument 131 if (!opts) in auth_parse_options() 134 while (*opts && *opts != ' ' && *opts != '\t') { in auth_parse_options() 135 if ((r = match_flag("cert-authority", 0, &opts, NULL)) != -1) { in auth_parse_options() 139 if ((r = match_flag("restrict", 0, &opts, NULL)) != -1) { in auth_parse_options() [all …]
|
| /freebsd-11-stable/sbin/pfctl/ |
| HD | pfctl_altq.c | 259 struct node_queue_opt *opts) argument 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) argument 406 if (eval_queue_opts(pa, opts, parent == NULL? 0 : parent->bandwidth)) 437 struct cbq_opts *opts; local [all …]
|
| HD | pfctl_table.c | 82 if ((!(opts & PF_OPT_NOACTION) || \ 83 (opts & PF_OPT_DUMMYACTION)) && \ 92 if ((!(opts & PF_OPT_NOACTION) || \ 93 (opts & PF_OPT_DUMMYACTION)) && \ 101 xprintf(opts, "%d table created", nadd); \ 102 if (opts & PF_OPT_NOACTION) \ 109 pfctl_clear_tables(const char *anchor, int opts) in pfctl_clear_tables() argument 111 return pfctl_table(0, NULL, NULL, "-F", NULL, anchor, opts); in pfctl_clear_tables() 115 pfctl_show_tables(const char *anchor, int opts) in pfctl_show_tables() argument 117 return pfctl_table(0, NULL, NULL, "-s", NULL, anchor, opts); in pfctl_show_tables() [all …]
|
| HD | pfctl.c | 253 pfctl_enable(int dev, int opts) in pfctl_enable() argument 263 if ((opts & PF_OPT_QUIET) == 0) in pfctl_enable() 274 pfctl_disable(int dev, int opts) in pfctl_disable() argument 282 if ((opts & PF_OPT_QUIET) == 0) in pfctl_disable() 293 pfctl_clear_stats(int dev, int opts) in pfctl_clear_stats() argument 297 if ((opts & PF_OPT_QUIET) == 0) in pfctl_clear_stats() 386 pfctl_clear_interface_flags(int dev, int opts) in pfctl_clear_interface_flags() argument 390 if ((opts & PF_OPT_NOACTION) == 0) { in pfctl_clear_interface_flags() 396 if ((opts & PF_OPT_QUIET) == 0) in pfctl_clear_interface_flags() 403 pfctl_clear_rules(int dev, int opts, char *anchorname) in pfctl_clear_rules() argument [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| HD | llvm-readobj.cpp | 47 namespace opts { namespace 451 if (opts::Output == opts::LLVM || opts::InputFilenames.size() > 1 || A) { in dumpObject() 455 if (opts::Output == opts::LLVM) { in dumpObject() 464 if (opts::FileHeaders) in dumpObject() 466 if (opts::SectionHeaders) in dumpObject() 468 if (opts::Relocations) in dumpObject() 470 if (opts::DynRelocs) in dumpObject() 472 if (opts::Symbols || opts::DynamicSymbols) in dumpObject() 473 Dumper->printSymbols(opts::Symbols, opts::DynamicSymbols); in dumpObject() 474 if (opts::HashSymbols) in dumpObject() [all …]
|
| /freebsd-11-stable/contrib/xz/src/liblzma/lzma/ |
| HD | lzma_encoder_optimum_normal.c | 229 uint32_t pos_mem = coder->opts[cur].pos_prev; in backward() 230 uint32_t back_mem = coder->opts[cur].back_prev; in backward() 233 if (coder->opts[cur].prev_1_is_literal) { in backward() 234 make_literal(&coder->opts[pos_mem]); in backward() 235 coder->opts[pos_mem].pos_prev = pos_mem - 1; in backward() 237 if (coder->opts[cur].prev_2) { in backward() 238 coder->opts[pos_mem - 1].prev_1_is_literal in backward() 240 coder->opts[pos_mem - 1].pos_prev in backward() 241 = coder->opts[cur].pos_prev_2; in backward() 242 coder->opts[pos_mem - 1].back_prev in backward() [all …]
|
| /freebsd-11-stable/contrib/ncurses/menu/ |
| HD | m_opts.c | 56 set_menu_opts(MENU * menu, Menu_Options opts) in NCURSES_EXPORT() 58 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)menu, opts)); in NCURSES_EXPORT() 60 opts &= ALL_MENU_OPTS; in NCURSES_EXPORT() 62 if (opts & ~ALL_MENU_OPTS) in NCURSES_EXPORT() 70 if ((opts & O_ROWMAJOR) != (menu->opt & O_ROWMAJOR)) in NCURSES_EXPORT() 82 menu->opt = opts; in NCURSES_EXPORT() 84 if (opts & O_ONEVALUE) in NCURSES_EXPORT() 93 if (opts & O_SHOWDESC) /* this also changes the geometry */ in NCURSES_EXPORT() 97 _nc_Default_Menu.opt = opts; in NCURSES_EXPORT() 116 menu_opts_off(MENU * menu, Menu_Options opts) in menu_opts_off() argument [all …]
|
| HD | m_item_opt.c | 54 set_item_opts(ITEM * item, Item_Options opts) in NCURSES_EXPORT() 56 T((T_CALLED("set_menu_opts(%p,%d)"), (void *)item, opts)); in NCURSES_EXPORT() 58 opts &= ALL_ITEM_OPTS; in NCURSES_EXPORT() 60 if (opts & ~ALL_ITEM_OPTS) in NCURSES_EXPORT() 65 if (item->opt != opts) in NCURSES_EXPORT() 69 item->opt = opts; in NCURSES_EXPORT() 71 if ((!(opts & O_SELECTABLE)) && item->value) in NCURSES_EXPORT() 82 _nc_Default_Item.opt = opts; in NCURSES_EXPORT() 97 item_opts_off(ITEM * item, Item_Options opts) in item_opts_off() argument 103 T((T_CALLED("item_opts_off(%p,%d)"), (void *)item, opts)); in item_opts_off() [all …]
|
| /freebsd-11-stable/contrib/ncurses/form/ |
| HD | frm_opts.c | 48 set_form_opts(FORM *form, Form_Options opts) in NCURSES_EXPORT() 50 T((T_CALLED("set_form_opts(%p,%d)"), (void *)form, opts)); in NCURSES_EXPORT() 52 opts &= (Form_Options) ALL_FORM_OPTS; in NCURSES_EXPORT() 53 if ((unsigned)opts & ~ALL_FORM_OPTS) in NCURSES_EXPORT() 57 Normalize_Form(form)->opts = opts; in NCURSES_EXPORT() 74 returnCode((Form_Options) ((unsigned)Normalize_Form(form)->opts & ALL_FORM_OPTS)); in form_opts() 88 form_opts_on(FORM *form, Form_Options opts) in form_opts_on() argument 90 T((T_CALLED("form_opts_on(%p,%d)"), (void *)form, opts)); in form_opts_on() 92 opts &= (Form_Options) ALL_FORM_OPTS; in form_opts_on() 93 if ((unsigned)opts & ~ALL_FORM_OPTS) in form_opts_on() [all …]
|
| HD | fld_opts.c | 54 set_field_opts(FIELD *field, Field_Options opts) in NCURSES_EXPORT() 58 T((T_CALLED("set_field_opts(%p,%d)"), (void *)field, opts)); in NCURSES_EXPORT() 60 opts &= ALL_FIELD_OPTS; in NCURSES_EXPORT() 61 if (!(opts & ~ALL_FIELD_OPTS)) in NCURSES_EXPORT() 62 res = _nc_Synchronize_Options(Normalize_Field(field), opts); in NCURSES_EXPORT() 79 returnCode(ALL_FIELD_OPTS & Normalize_Field(field)->opts); in field_opts() 95 field_opts_on(FIELD *field, Field_Options opts) in field_opts_on() argument 99 T((T_CALLED("field_opts_on(%p,%d)"), (void *)field, opts)); in field_opts_on() 101 opts &= ALL_FIELD_OPTS; in field_opts_on() 102 if (!(opts & ~ALL_FIELD_OPTS)) in field_opts_on() [all …]
|
| /freebsd-11-stable/sys/sys/ |
| HD | mutex.h | 91 int opts); 94 int _mtx_trylock_flags_int(struct mtx *m, int opts LOCK_FILE_LINE_ARG_DEF); 95 int _mtx_trylock_flags_(volatile uintptr_t *c, int opts, const char *file, 99 void __mtx_lock_sleep(volatile uintptr_t *c, uintptr_t v, int opts, 101 void __mtx_unlock_sleep(volatile uintptr_t *c, uintptr_t v, int opts, 110 void _mtx_lock_spin_cookie(volatile uintptr_t *c, uintptr_t v, int opts, 116 void __mtx_lock_flags(volatile uintptr_t *c, int opts, const char *file, 118 void __mtx_unlock_flags(volatile uintptr_t *c, int opts, const char *file, 120 void __mtx_lock_spin_flags(volatile uintptr_t *c, int opts, const char *file, 122 int __mtx_trylock_spin_flags(volatile uintptr_t *c, int opts, [all …]
|
| /freebsd-11-stable/contrib/amd/amd/ |
| HD | amfs_toplvl.c | 86 set_auto_attrcache_timeout(char *preopts, char *opts, size_t l) in set_auto_attrcache_timeout() argument 98 xstrlcat(opts, preopts, l); in set_auto_attrcache_timeout() 110 xstrlcat(opts, preopts, l); in set_auto_attrcache_timeout() 114 xstrlcat(opts, preopts, l); in set_auto_attrcache_timeout() 118 xstrlcat(opts, preopts, l); in set_auto_attrcache_timeout() 122 xstrlcat(opts, preopts, l); in set_auto_attrcache_timeout() 126 xstrlcat(opts, preopts, l); in set_auto_attrcache_timeout() 169 char opts[SIZEOF_OPTS], preopts[SIZEOF_OPTS], toplvl_opts[40]; in amfs_toplvl_mount() local 194 autofs_get_opts(opts, sizeof(opts), mp->am_autofs_fh); in amfs_toplvl_mount() 208 xsnprintf(opts, sizeof(opts), "%s%s,%s=%d,%s,map=%s", in amfs_toplvl_mount() [all …]
|
| /freebsd-11-stable/usr.sbin/efibootmgr/ |
| HD | efibootmgr.c | 120 static bmgr_opts_t opts; variable 198 opts.set_inactive = true; in parse_args() 199 opts.bootnum = strtoul(optarg, NULL, 16); in parse_args() 202 opts.set_active = true; in parse_args() 203 opts.bootnum = strtoul(optarg, NULL, 16); in parse_args() 206 opts.delete = true; in parse_args() 207 opts.bootnum = strtoul(optarg, NULL, 16); in parse_args() 210 opts.copy = true; in parse_args() 211 opts.cp_src = strtoul(optarg, NULL, 16); in parse_args() 213 opts.create = true; in parse_args() [all …]
|
| /freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/ |
| HD | llvm-pdbutil.cpp | 99 namespace opts { namespace 852 ExitOnErr(Builder.commit(opts::yaml2pdb::YamlPdbOutputFile, &IgnoredOutGuid)); in yamlToPdb() 888 bool opts::pretty::shouldDumpSymLevel(SymLevel Search) { in shouldDumpSymLevel() 905 bool opts::pretty::compareFunctionSymbols( in compareFunctionSymbols() 908 assert(opts::pretty::SymbolOrder != opts::pretty::SymbolSortMode::None); in compareFunctionSymbols() 910 if (opts::pretty::SymbolOrder == opts::pretty::SymbolSortMode::Name) in compareFunctionSymbols() 918 bool opts::pretty::compareDataSymbols( in compareDataSymbols() 921 assert(opts::pretty::SymbolOrder != opts::pretty::SymbolSortMode::None); in compareDataSymbols() 923 if (opts::pretty::SymbolOrder == opts::pretty::SymbolSortMode::Name) in compareDataSymbols() 972 if (!opts::pretty::ShowInjectedSourceContent) in dumpInjectedSources() [all …]
|
| /freebsd-11-stable/tools/tools/mtxstat/ |
| HD | 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{'m'}) { 63 if ($opts{'t'}); 65 } elsif ($opts{'t'}) { 68 if ($opts{'l'}) { [all …]
|
| /freebsd-11-stable/contrib/gcc/ |
| HD | optc-gen.awk | 47 opts[n_opts] = $1 93 print "/* Set by -" opts[i] "." 106 name = static_var(opts[i], flags[i]); 128 indices[opts[i]] = j; 132 while( i + 1 != n_opts && opts[i] == opts[i + 1] ) { 136 indices[opts[i]] = j; 145 while( i + 1 != n_opts && opts[i] == opts[i + 1] ) { 150 len = length (opts[i]); 151 enum = "OPT_" opts[i] 152 if (opts[i] == "finline-limit=") [all …]
|