Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 479) sorted by relevance

12345678910>>...20

/openbsd/gnu/llvm/llvm/tools/llvm-readobj/
H A Dllvm-readobj.cpp101 namespace opts { namespace
253 opts::Output = StringSwitch<opts::OutputStyleTy>(OutputStyleChoice) in parseOptions()
258 if (opts::Output == opts::OutputStyleTy::UNKNOWN) { in parseOptions()
421 if (opts::SectionDetails || opts::SectionHeaders) { in dumpObject()
422 if (opts::Output == opts::GNU && opts::SectionDetails) in dumpObject()
430 if (opts::ProgramHeaders || opts::SectionMapping == cl::BOU_TRUE) in dumpObject()
442 if (opts::Symbols || opts::DynamicSymbols) in dumpObject()
629 if (opts::Output == opts::JSON) in createWriter()
661 opts::Output = opts::GNU; in llvm_readobj_main()
669 if (opts::All) { in llvm_readobj_main()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Pod-Usage/lib/Pod/
H A DUsage.pm42 my %opts;
69 %opts = map {
75 } (keys %opts);
83 $opts{'-exitval'} = ($opts{'-verbose'} > 0) ? 1 : 2;
86 $opts{'-verbose'} = (lc($opts{'-exitval'}) eq 'noexit' ||
91 $opts{'-output'} = (lc($opts{'-exitval'}) eq 'noexit' ||
95 $opts{'-input'} = $0 unless (defined $opts{'-input'});
98 unless ((ref $opts{'-input'}) || (-e $opts{'-input'})) {
122 elsif ($opts{'-verbose'} >= 2 && $opts{'-verbose'} != 99) {
132 my $progpath = $opts{'-perldoc'} ? $opts{'-perldoc'} :
[all …]
/openbsd/usr.bin/rsync/
H A Dmain.c79 fargs_parse(size_t argc, char *argv[], struct opts *opts) in fargs_parse() argument
142 opts->port = cp; in fargs_parse()
278 static struct opts opts; variable
370 opts.max_size = opts.min_size = -1; in main()
376 opts.devices = 1; in main()
377 opts.specials = 1; in main()
386 opts.devices = 1; in main()
387 opts.specials = 1; in main()
405 opts.dry_run = 1; in main()
553 if (opts.server) in main()
[all …]
H A Dfargs.c67 if (sess->opts->ssh_prog) { in fargs_cmdline()
97 if (sess->opts->del) in fargs_cmdline()
99 if (sess->opts->numeric_ids) in fargs_cmdline()
101 if (sess->opts->preserve_gids) in fargs_cmdline()
105 if (sess->opts->dry_run) in fargs_cmdline()
111 if (sess->opts->devices) in fargs_cmdline()
113 if (sess->opts->recursive) in fargs_cmdline()
117 if (sess->opts->ignore_times) in fargs_cmdline()
131 if (sess->opts->specials && !sess->opts->devices) in fargs_cmdline()
133 if (!sess->opts->specials && sess->opts->devices) in fargs_cmdline()
[all …]
/openbsd/gnu/usr.bin/perl/
H A Dinstallman44 GetOptions( \%opts,
55 $opts{verbose} ||= $opts{notify};
58 if ($opts{man1dir} eq '' && $opts{man3dir} eq '') {
76 pod2man(\%man1, $opts{man1dir}, $opts{man1ext}, 'pod');
81 pod2man($found->{$_}, $opts{man3dir}, $opts{man3ext}, 'lib')
95 pod2man({$leaf, $path}, $opts{man1dir}, $opts{man1ext});
98 my $old = "$opts{man1dir}/$leaf.$opts{man1ext}";
99 my $new = "$opts{man1dir}/$link.$opts{man1ext}";
102 $old =~ s/^\Q$opts{destdir}\E// if $opts{destdir};
103 $new =~ s/^\Q$opts{destdir}\E// if $opts{destdir};
[all …]
H A Dinstall_lib.pl8 %opts $packlist);
74 $xfrom =~ s/^\Q$opts{destdir}\E// if $opts{destdir};
76 $xto =~ s/^\Q$opts{destdir}\E// if $opts{destdir};
78 unless $opts{silent};
92 unless $opts{silent};
101 if (defined($opts{uid}) || defined($opts{gid})) {
102 chown($opts{uid}, $opts{gid}, $to) if $success;
115 unless $opts{notify};
125 unless $opts{notify};
159 File::Path::make_path(shift, {owner=>$opts{uid}, group=>$opts{gid},
[all …]
H A Dinstallperl15 %opts, $packlist);
87 $opts{verbose} ||= $opts{notify};
517 if (defined($opts{uid}) || defined($opts{gid})) {
518 chown($opts{uid}, $opts{gid}, $packlist->packlist_file());
572 if (defined($opts{uid}) || defined($opts{gid})) {
573 chown($opts{uid}, $opts{gid}, $to) if $success;
585 $cmd .= " -o $opts{uid}" if defined($opts{uid});
586 $cmd .= " -g $opts{gid}" if defined($opts{gid});
588 $xto =~ s/^\Q$opts{destdir}\E// if $opts{destdir};
767 my @opts;
[all …]
/openbsd/gnu/usr.bin/perl/cpan/ExtUtils-PL2Bat/lib/ExtUtils/
H A DPL2Bat.pm24 my %opts = @_;
27 $opts{ntargs} = '-x -S %0 %*' unless exists $opts{ntargs};
30 $opts{stripsuffix} = qr/\.plx?/ unless exists $opts{stripsuffix};
33 $opts{out} = $opts{in};
34 $opts{out} =~ s/$opts{stripsuffix}$//i;
35 $opts{out} .= '.bat' unless $opts{in} =~ /\.bat$/i or $opts{in} eq '-';
42 \@perl $opts{otherargs}
46 \@perl $opts{ntargs}
71 open my $in, '<', $opts{in} or croak "Can't open $opts{in}: $!";
98 open my $out, '>', $opts{out} or croak "Can't open $opts{out}: $!";
[all …]
/openbsd/regress/lib/libfuse/
H A Dfuse-opt-match.c26 static const struct fuse_opt opts[] = { variable
51 assert(fuse_opt_match(opts, NULL) == 0); in main()
52 assert(fuse_opt_match(opts, "-p ") == 1); in main()
53 assert(fuse_opt_match(opts, "-C") == 1); in main()
54 assert(fuse_opt_match(opts, "-c") == 0); in main()
55 assert(fuse_opt_match(opts, "-V") == 1); in main()
57 assert(fuse_opt_match(opts, "-h") == 1); in main()
62 assert(fuse_opt_match(opts, "debug") == 1); in main()
63 assert(fuse_opt_match(opts, "ro") == 1); in main()
70 assert(fuse_opt_match(opts, "-xbar") == 1); in main()
[all …]
/openbsd/usr.bin/ssh/
H A Dauth-options.c205 if (opts == NULL) in sshauthopt_free()
215 free(opts->env); in sshauthopt_free()
225 freezero(opts, sizeof(*opts)); in sshauthopt_free()
336 while (*opts && *opts != ' ' && *opts != '\t') { in sshauthopt_parse()
469 if (*opts == '\0' || *opts == ' ' || *opts == '\t') in sshauthopt_parse()
476 opts++; in sshauthopt_parse()
852 if ((opts = calloc(1, sizeof(*opts))) == NULL) in sshauthopt_deserialise()
895 &opts->permitopen, &opts->npermitopen)) != 0 || in sshauthopt_deserialise()
897 &opts->permitlisten, &opts->npermitlisten)) != 0) in sshauthopt_deserialise()
902 *optsp = opts; in sshauthopt_deserialise()
[all …]
/openbsd/lib/libmenu/
H A Dm_opts.c63 opts &= ALL_MENU_OPTS; in MENU_EXPORT()
65 if (opts & ~ALL_MENU_OPTS) in MENU_EXPORT()
85 menu->opt = opts; in MENU_EXPORT()
87 if (opts & O_ONEVALUE) in MENU_EXPORT()
100 _nc_Default_Menu.opt = opts; in MENU_EXPORT()
127 opts &= ALL_MENU_OPTS; in menu_opts_off()
128 if (opts & ~ALL_MENU_OPTS) in menu_opts_off()
133 opts = cmenu->opt & ~opts; in menu_opts_off()
160 opts &= ALL_MENU_OPTS; in menu_opts_on()
161 if (opts & ~ALL_MENU_OPTS) in menu_opts_on()
[all …]
H A Dm_item_opt.c61 opts &= ALL_ITEM_OPTS; in MENU_EXPORT()
63 if (opts & ~ALL_ITEM_OPTS) in MENU_EXPORT()
68 if (item->opt != opts) in MENU_EXPORT()
72 item->opt = opts; in MENU_EXPORT()
85 _nc_Default_Item.opt = opts; in MENU_EXPORT()
108 if (opts & ~ALL_ITEM_OPTS) in item_opts_off()
113 opts = citem->opt & ~(opts & ALL_ITEM_OPTS); in item_opts_off()
128 item_opts_on(ITEM *item, Item_Options opts) in item_opts_on() argument
136 opts &= ALL_ITEM_OPTS; in item_opts_on()
137 if (opts & ~ALL_ITEM_OPTS) in item_opts_on()
[all …]
/openbsd/lib/libform/
H A Dfrm_opts.c50 set_form_opts(FORM *form, Form_Options opts) in FORM_EXPORT()
54 opts &= (Form_Options)ALL_FORM_OPTS; in FORM_EXPORT()
55 if ((unsigned)opts & ~ALL_FORM_OPTS) in FORM_EXPORT()
59 Normalize_Form(form)->opts = opts; in FORM_EXPORT()
90 form_opts_on(FORM *form, Form_Options opts) in form_opts_on() argument
94 opts &= (Form_Options)ALL_FORM_OPTS; in form_opts_on()
95 if ((unsigned)opts & ~ALL_FORM_OPTS) in form_opts_on()
99 Normalize_Form(form)->opts |= opts; in form_opts_on()
119 opts &= (Form_Options)ALL_FORM_OPTS; in form_opts_off()
120 if ((unsigned)opts & ~ALL_FORM_OPTS) in form_opts_off()
[all …]
H A Dfld_opts.c56 set_field_opts(FIELD *field, Field_Options opts) in FORM_EXPORT()
62 opts &= ALL_FIELD_OPTS; in FORM_EXPORT()
63 if (!(opts & ~ALL_FIELD_OPTS)) in FORM_EXPORT()
97 field_opts_on(FIELD *field, Field_Options opts) in field_opts_on() argument
103 opts &= ALL_FIELD_OPTS; in field_opts_on()
104 if (!(opts & ~ALL_FIELD_OPTS)) in field_opts_on()
107 res = _nc_Synchronize_Options(field, field->opts | opts); in field_opts_on()
125 field_opts_off(FIELD *field, Field_Options opts) in field_opts_off() argument
131 opts &= ALL_FIELD_OPTS; in field_opts_off()
132 if (!(opts & ~ALL_FIELD_OPTS)) in field_opts_off()
[all …]
/openbsd/gnu/llvm/clang/tools/scan-build-py/lib/libscanbuild/
H A Danalyze.py449 def run(opts): argument
509 cmd = [opts['clang'], '-fsyntax-only', '-E'] + opts['flags'] + \
563 opts['direct_args'] + opts['flags'] +
605 args = opts['direct_args'] + opts['flags']
629 args = opts['direct_args'] + opts['flags']
653 cmd = [opts['clang'], '--analyze'] + opts['direct_args'] + opts['flags'] \
654 + [opts['file']]
672 cmd = [opts['clang'], '--analyze'] + opts['direct_args'] \
673 + opts['flags'] + [opts['file']]
690 opts.update({'flags': opts['flags'] + ['-UNDEBUG']})
[all …]
/openbsd/sbin/pfctl/
H A Dpfctl_table.c137 if (opts & PF_OPT_NOACTION) in pfctl_table()
201 if (opts & PF_OPT_VERBOSE) in pfctl_table()
206 if (opts & PF_OPT_VERBOSE) in pfctl_table()
216 if (opts & PF_OPT_VERBOSE) in pfctl_table()
221 if (opts & PF_OPT_VERBOSE) in pfctl_table()
232 if (opts & PF_OPT_VERBOSE) in pfctl_table()
253 if (opts & PF_OPT_VERBOSE) in pfctl_table()
287 if (opts & PF_OPT_VERBOSE) in pfctl_table()
335 if ((opts & PF_OPT_VERBOSE) && !(opts & PF_OPT_VERBOSE2)) in pfctl_table()
573 if (opts & PF_OPT_QUIET) in xprintf()
[all …]
H A Dpfctl.c1088 print_state(p, opts); in pfctl_show_states()
1570 pf.opts = opts; in pfctl_rules()
2288 opts |= PF_OPT_QUIET; in pfctl_call_cleartables()
2300 opts |= PF_OPT_QUIET; in pfctl_call_clearrules()
2335 opts |= PF_OPT_IGNFAIL; in pfctl_recurse()
2484 int opts = 0; in main() local
2514 opts |= PF_OPT_ENABLE; in main()
2518 opts |= PF_OPT_QUIET; in main()
2550 opts |= PF_OPT_NODNS; in main()
2570 opts |= PF_OPT_DEBUG; in main()
[all …]
/openbsd/games/hack/
H A Dhack.options.c75 char *opts; in initoptions() local
86 parseoptions(opts,TRUE); in initoptions()
105 if (!*opts) in parseoptions()
108 while((*opts == '!') || !strncmp(opts, "no", 2)) { in parseoptions()
109 if(*opts == '!') opts++; else opts += 2; in parseoptions()
118 if(!strncmp(opts,"null",3)) { in parseoptions()
128 if(!strncmp(opts,"news",4)) { in parseoptions()
133 if(!strncmp(opts,"time",4)) { in parseoptions()
152 if(!strncmp(opts,"male",4)) { in parseoptions()
168 op = strchr(opts,':'); in parseoptions()
[all …]
/openbsd/gnu/usr.bin/perl/cpan/Archive-Tar/bin/
H A Dptar16 my $opts = {};
20 die usage() if $opts->{h};
33 my $compress = $opts->{z} ? 1 : 0;
34 my $verbose = $opts->{v} ? 1 : 0;
35 my $file = $opts->{f} ? $opts->{f} : 'default.tar';
38 if( $opts->{c} ) {
41 if( $opts->{T} ) {
42 if( $opts->{T} eq "-" ) {
47 die "$0: $opts->{T}: $!\n";
62 if( $opts->{C} ) {
[all …]
/openbsd/gnu/llvm/llvm/utils/lit/lit/
H A Dmain.py32 path=opts.path,
33 quiet=opts.quiet,
38 debug=opts.debug,
40 order=opts.order,
51 if opts.show_suites or opts.show_tests:
52 print_discovered(discovered_tests, opts.show_suites, opts.show_tests)
91 if opts.shard:
114 if opts.time_tests:
205 if test_file in opts.xfail or test_full_name in opts.xfail:
207 if test_file in opts.xfail_not or test_full_name in opts.xfail_not:
[all …]
/openbsd/gnu/llvm/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp101 namespace opts { namespace
1228 if (opts::pretty::Classes || opts::pretty::Enums || opts::pretty::Typedefs || in dumpPretty()
1229 opts::pretty::Funcsigs || opts::pretty::Pointers || in dumpPretty()
1230 opts::pretty::Arrays || opts::pretty::VTShapes) { in dumpPretty()
1460 {&opts::TypeCategory, &opts::FilterCategory, &opts::OtherOptions}); in main()
1541 propagate(opts::Filters.ExcludeTypes, opts::pretty::ExcludeTypes); in main()
1548 opts::Filters.PaddingThreshold = opts::pretty::PaddingThreshold; in main()
1549 opts::Filters.SizeThreshold = opts::pretty::SizeThreshold; in main()
1550 opts::Filters.JustMyCode = opts::dump::JustMyCode; in main()
1557 opts::Filters.DumpModi = opts::dump::DumpModi; in main()
[all …]
/openbsd/usr.bin/rdist/
H A Dclient.c176 if (IS_ON(opts, DO_VERIFY)) in runspecial()
255 if (IS_ON(opts, DO_VERIFY)) in runcmdspecial()
489 rmchk(opt_t opts) in rmchk() argument
608 if (IS_ON(opts, DO_REMOVE)) in senddir()
609 if (rmchk(opts) > 0) in senddir()
800 if (IS_ON(opts, DO_NOEXEC)) in update()
873 if (IS_ON(opts, DO_COMPARE)) in update()
1025 if (IS_ON(opts, DO_FOLLOW)) in dostat()
1084 if (!IS_ON(opts, DO_QUIET)) in fullupdate()
1164 rname, opts, target, u); in sendit()
[all …]
/openbsd/gnu/llvm/llvm/utils/
H A Dllvm-mca-compare.py95 def verify_program_inputs(opts): argument
96 if opts.plot_path[0] != "-" and not opts.plot and not opts.plot_resource_pressure:
117 if opts.args[0] != "-":
124 if opts.v:
145 if opts.v:
386 if opts.plot_path[0] == "-":
508 if opts.plot_path[0] == "-":
558 matrix_of_code_regions[i] = run_llvm_mca_tool(opts, opts.file_names[i])
559 if not opts.plot and not opts.plot_resource_pressure:
562 if opts.plot:
[all …]
/openbsd/sbin/ipsecctl/
H A Dipsecctl.c111 ipsec.opts = opts; in ipsecctl_rules()
196 if ((ipsec->opts & IPSECCTL_OPT_VERBOSE) && !(ipsec->opts & in ipsecctl_add_rule()
576 ipsecctl_print_sa(r, opts); in ipsecctl_print_rule()
578 ike_print_config(r, opts); in ipsecctl_print_rule()
584 ipsecctl_flush(int opts) in ipsecctl_flush() argument
673 ipsecctl_show(int opts) in ipsecctl_show() argument
685 ipsec.opts = opts; in ipsecctl_show()
790 ipsecctl_monitor(int opts) in ipsecctl_monitor() argument
820 int opts = 0; in main() local
894 if (ipsecctl_flush(opts)) in main()
[all …]
/openbsd/gnu/usr.bin/perl/ext/Pod-Html/lib/Pod/
H A DHtml.pm331 $self->{Css} = $opts->{css} if defined $opts->{css};
332 $self->{Header} = $opts->{header} if defined $opts->{header};
333 $self->{Htmldir} = unixify($opts->{htmldir}) if defined $opts->{htmldir};
335 $self->{Doindex} = $opts->{index} if defined $opts->{index};
336 $self->{Podfile} = unixify($opts->{infile}) if defined $opts->{infile};
337 $self->{Htmlfile} = unixify($opts->{outfile}) if defined $opts->{outfile};
339 $self->{Podroot} = unixify($opts->{podroot}) if defined $opts->{podroot};
340 $self->{Quiet} = $opts->{quiet} if defined $opts->{quiet};
341 $self->{Recurse} = $opts->{recurse} if defined $opts->{recurse};
342 $self->{Title} = $opts->{title} if defined $opts->{title};
[all …]

12345678910>>...20