Home
last modified time | relevance | path

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

12345678910>>...58

/third_party/libabigail/tools/
Dabidiff.cc298 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
307 if (opts.file1.empty()) in parse_command_line()
308 opts.file1 = argv[i]; in parse_command_line()
309 else if (opts.file2.empty()) in parse_command_line()
310 opts.file2 = argv[i]; in parse_command_line()
317 opts.display_version = true; in parse_command_line()
326 opts.missing_operand = true; in parse_command_line()
327 opts.wrong_option = argv[i]; in parse_command_line()
332 opts.di_root_paths1.push_back in parse_command_line()
342 opts.missing_operand = true; in parse_command_line()
[all …]
Dabidw.cc244 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
253 if (opts.in_file_path.empty()) in parse_command_line()
254 opts.in_file_path = argv[i]; in parse_command_line()
260 opts.display_version = true; in parse_command_line()
263 opts.display_abixml_version = true; in parse_command_line()
272 opts.di_root_paths.push_back in parse_command_line()
282 opts.headers_dirs.push_back(argv[j]); in parse_command_line()
291 opts.header_files.push_back(argv[j]); in parse_command_line()
298 || !opts.out_file_path.empty()) in parse_command_line()
301 opts.out_file_path = argv[i + 1]; in parse_command_line()
[all …]
Dkmidiff.cc145 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
154 if (opts.kernel_dist_root1.empty()) in parse_command_line()
155 opts.kernel_dist_root1 = argv[i]; in parse_command_line()
156 else if (opts.kernel_dist_root2.empty()) in parse_command_line()
157 opts.kernel_dist_root2 = argv[i]; in parse_command_line()
162 opts.verbose = true; in parse_command_line()
166 opts.display_version = true; in parse_command_line()
172 opts.display_usage = true; in parse_command_line()
181 opts.missing_operand = true; in parse_command_line()
182 opts.wrong_option = argv[i]; in parse_command_line()
[all …]
Dabipkgdiff.cc271 options& opts,
655 load_elf_file_paths(options& opts) in load_elf_file_paths() argument
664 opts, elf_file_paths()); in load_elf_file_paths()
701 erase_extraction_directory(const options &opts) const in erase_extraction_directory()
709 if (opts.verbose) in erase_extraction_directory()
718 if (opts.verbose) in erase_extraction_directory()
723 if (opts.verbose) in erase_extraction_directory()
732 erase_extraction_directories(const options &opts) const in erase_extraction_directories()
734 erase_extraction_directory(opts); in erase_extraction_directories()
736 debug_info_packages().front()->erase_extraction_directory(opts); in erase_extraction_directories()
[all …]
Dabicompat.cc144 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
153 if (opts.app_path.empty()) in parse_command_line()
154 opts.app_path = argv[i]; in parse_command_line()
155 else if (opts.lib1_path.empty()) in parse_command_line()
156 opts.lib1_path = argv[i]; in parse_command_line()
157 else if (opts.lib2_path.empty()) in parse_command_line()
158 opts.lib2_path = argv[i]; in parse_command_line()
165 opts.display_version = true; in parse_command_line()
170 opts.list_undefined_symbols_only = true; in parse_command_line()
173 opts.show_base_names = true; in parse_command_line()
[all …]
/third_party/node/deps/npm/node_modules/npm-registry-fetch/lib/
Dindex.js27 const opts = {
35 let registry = opts.registry || defaultOpts.registry
37 registry = opts.registry = (
38 (opts.spec && pickRegistry(opts.spec, opts)) ||
39 opts.registry ||
51 const method = opts.method || 'GET'
55 const auth = getAuth(uri, opts)
56 const headers = getHeaders(uri, auth, opts)
57 let body = opts.body
72 if (opts.gzip) {
[all …]
/third_party/node/deps/undici/src/lib/
Dproxy-agent.js22 function buildProxyOptions (opts) { argument
23 if (typeof opts === 'string') {
24 opts = { uri: opts } variable
27 if (!opts || !opts.uri) {
32 uri: opts.uri,
33 protocol: opts.protocol || 'https'
37 function defaultFactory (origin, opts) { argument
38 return new Pool(origin, opts)
42 constructor (opts) { argument
43 super(opts)
[all …]
/third_party/openssl/util/perl/OpenSSL/
DParseC.pm86 my %opts;
88 %opts = %{$_[$#_]};
92 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\…
93 if $opts{debug};
99 my %opts;
101 %opts = %{$_[$#_]};
105 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\…
106 if $opts{debug};
112 my %opts;
114 %opts = %{$_[$#_]};
[all …]
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
DParseC.pm86 my %opts;
88 %opts = %{$_[$#_]};
92 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\…
93 if $opts{debug};
99 my %opts;
101 %opts = %{$_[$#_]};
105 …print STDERR "DEBUG[",$opts{debug_type},"]: preprocessor level: ", scalar(@preprocessor_conds), "\…
106 if $opts{debug};
112 my %opts;
114 %opts = %{$_[$#_]};
[all …]
/third_party/rust/crates/clap/clap_complete/tests/snapshots/
Dquoting.bash2 local i cur prev opts cmd
7 opts=""
64opts="-h -V --single-quotes --double-quotes --backticks --backslash --brackets --expansions --help…
66 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
74 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
78 opts="-h --help"
80 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
88 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
92 opts="-h --help"
94 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[all …]
Dsub_subcommands.bash2 local i cur prev opts cmd
7 opts=""
58opts="-C -c -h -V --conf --config --help --version [file] first second test some_cmd help"
60 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
68 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
72 opts="test some_cmd help"
74 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
82 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
86 opts=""
88 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[all …]
Dspecial_commands.bash2 local i cur prev opts cmd
7 opts=""
52opts="-C -c -h -V --conf --config --help --version [file] first second test some_cmd some-cmd-with…
54 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
62 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
66 opts="test some_cmd some-cmd-with-hyphens some-hidden-cmd help"
68 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
76 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
80 opts=""
82 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
[all …]
/third_party/mesa3d/src/imagination/rogue/tools/
Doffline_compiler.c101 static bool parse_cmdline(int argc, char *argv[], struct compiler_opts *opts) in parse_cmdline() argument
112 opts->dump_c_array = true; in parse_cmdline()
116 if (opts->entry) in parse_cmdline()
119 opts->entry = optarg; in parse_cmdline()
123 if (opts->file) in parse_cmdline()
126 opts->file = optarg; in parse_cmdline()
130 opts->dump_nir = true; in parse_cmdline()
134 if (opts->out_file) in parse_cmdline()
137 opts->out_file = optarg; in parse_cmdline()
141 opts->dump_rogue = true; in parse_cmdline()
[all …]
/third_party/gn/src/gn/
Descape_unittest.cc10 EscapeOptions opts; in TEST() local
11 opts.mode = ESCAPE_NINJA; in TEST()
12 std::string result = EscapeString("asdf: \"$\\bar", opts, nullptr); in TEST()
17 EscapeOptions opts; in TEST() local
18 opts.mode = ESCAPE_DEPFILE; in TEST()
19 std::string result = EscapeString("asdf:$ \\#*[|]bar", opts, nullptr); in TEST()
24 EscapeOptions opts; in TEST() local
25 opts.mode = ESCAPE_NINJA_COMMAND; in TEST()
26 opts.platform = ESCAPE_PLATFORM_WIN; in TEST()
29 EXPECT_EQ("foo\\bar", EscapeString("foo\\bar", opts, nullptr)); in TEST()
[all …]
/third_party/libfuse/lib/
Dhelper.c149 struct fuse_cmdline_opts *opts = data; in fuse_helper_opt_proc() local
153 if (!opts->mountpoint) { in fuse_helper_opt_proc()
155 return fuse_opt_add_opt(&opts->mountpoint, arg); in fuse_helper_opt_proc()
165 return fuse_opt_add_opt(&opts->mountpoint, mountpoint); in fuse_helper_opt_proc()
206 struct fuse_cmdline_opts *opts);
209 struct fuse_cmdline_opts *opts) in fuse_parse_cmdline_312() argument
211 memset(opts, 0, sizeof(struct fuse_cmdline_opts)); in fuse_parse_cmdline_312()
213 opts->max_idle_threads = UINT_MAX; /* new default in fuse version 3.12 */ in fuse_parse_cmdline_312()
214 opts->max_threads = 10; in fuse_parse_cmdline_312()
216 if (fuse_opt_parse(args, opts, fuse_helper_opts, in fuse_parse_cmdline_312()
[all …]
/third_party/node/deps/npm/node_modules/mkdirp/lib/
Dopts-arg.js3 const optsArg = opts => { argument
4 if (!opts)
5 opts = { mode: 0o777, fs }
6 else if (typeof opts === 'object')
7 opts = { mode: 0o777, fs, ...opts }
8 else if (typeof opts === 'number')
9 opts = { mode: opts, fs }
10 else if (typeof opts === 'string')
11 opts = { mode: parseInt(opts, 8), fs }
15 opts.mkdir = opts.mkdir || opts.fs.mkdir || fs.mkdir
[all …]
/third_party/node/deps/npm/node_modules/ssri/lib/
Dindex.js23 constructor (opts) { argument
26 this.opts = opts
32 if (opts?.algorithms) {
33 this.algorithms = [...opts.algorithms]
46 this.sri = this.opts?.integrity ? parse(this.opts?.integrity, this.opts) : null
47 this.expectedSize = this.opts?.size
56 this.algorithm = this.sri.pickAlgorithm(this.opts)
60 this.optString = getOptString(this.opts?.options)
98 }).join(' '), this.opts)
100 const match = this.goodSri && newSri.match(this.sri, this.opts)
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dntfscluster.c56 static struct options opts; variable
138 opts.action = act_none; in parse_options()
139 opts.range_begin = -1; in parse_options()
140 opts.range_end = -1; in parse_options()
145 if (!opts.device) { in parse_options()
146 opts.device = argv[optind-1]; in parse_options()
148 opts.device = NULL; in parse_options()
154 if ((opts.action == act_none) && in parse_options()
155 (utils_parse_range(optarg, &opts.range_begin, &opts.range_end, FALSE))) in parse_options()
156 opts.action = act_cluster; in parse_options()
[all …]
/third_party/node/deps/npm/node_modules/libnpmsearch/lib/
Dindex.js6 function search (query, opts) { argument
7 return search.stream(query, opts).collect()
10 function searchStream (query, opts = {}) { argument
11 opts = { variable
18 ...opts.opts, // this is to support the cli's --searchopts parameter
19 ...opts,
22 switch (opts.sortBy) {
24 opts.quality = 0.65
25 opts.popularity = 0.98
26 opts.maintenance = 0.5
[all …]
/third_party/libabigail/tests/
Dtest-diff2.cc70 parse_command_line(int argc, char* argv[], options &opts) in parse_command_line() argument
74 opts.show_help = true; in parse_command_line()
82 if (!opts.str1) in parse_command_line()
83 opts.str1 = argv[i]; in parse_command_line()
84 else if (!opts.str2) in parse_command_line()
85 opts.str2 = argv[i]; in parse_command_line()
88 opts.show_help = true; in parse_command_line()
93 opts.ses_len = true; in parse_command_line()
95 opts.reverse = true; in parse_command_line()
97 opts.middle_snake = true; in parse_command_line()
[all …]
/third_party/node/deps/npm/node_modules/minizlib/
Dindex.js48 constructor (opts, mode) { argument
49 if (!opts || typeof opts !== 'object')
52 super(opts)
55 this[_opts] = opts
57 this[_flushFlag] = opts.flush
58 this[_finishFlushFlag] = opts.finishFlush
61 this[_handle] = new realZlib[mode](opts)
198 constructor (opts, mode) { argument
199 opts = opts || {}
201 opts.flush = opts.flush || constants.Z_NO_FLUSH
[all …]
/third_party/node/deps/undici/src/lib/handler/
DRedirectHandler.js27 constructor (dispatch, maxRedirections, opts, handler) { argument
32 util.validateHandler(handler, opts.method, opts.upgrade)
37 this.opts = { ...opts, maxRedirections: 0 } // opts must be a copy property
42 if (util.isStream(this.opts.body)) {
46 if (util.bodyLength(this.opts.body) === 0) {
47 this.opts.body
53 if (typeof this.opts.body.readableDidRead !== 'boolean') {
54 this.opts.body[kBodyUsed] = false
55 EE.prototype.on.call(this.opts.body, 'data', function () {
59 } else if (this.opts.body && typeof this.opts.body.pipeTo === 'function') {
[all …]
/third_party/libbpf/src/
Dbpf.c170 const struct bpf_map_create_opts *opts) in bpf_map_create() argument
180 if (!OPTS_VALID(opts, bpf_map_create_opts)) in bpf_map_create()
190 attr.btf_fd = OPTS_GET(opts, btf_fd, 0); in bpf_map_create()
191 attr.btf_key_type_id = OPTS_GET(opts, btf_key_type_id, 0); in bpf_map_create()
192 attr.btf_value_type_id = OPTS_GET(opts, btf_value_type_id, 0); in bpf_map_create()
193 attr.btf_vmlinux_value_type_id = OPTS_GET(opts, btf_vmlinux_value_type_id, 0); in bpf_map_create()
195 attr.inner_map_fd = OPTS_GET(opts, inner_map_fd, 0); in bpf_map_create()
196 attr.map_flags = OPTS_GET(opts, map_flags, 0); in bpf_map_create()
197 attr.map_extra = OPTS_GET(opts, map_extra, 0); in bpf_map_create()
198 attr.numa_node = OPTS_GET(opts, numa_node, 0); in bpf_map_create()
[all …]
/third_party/node/lib/internal/crypto/
Dwebidl.js50 function makeException(message, opts = kEmptyObject) { argument
51 const prefix = opts.prefix ? opts.prefix + ': ' : '';
52 const context = opts.context?.length === 0 ?
53 '' : (opts.context ?? 'Value') + ' ';
56 { code: opts.code || 'ERR_INVALID_ARG_TYPE' },
61 function toNumber(value, opts = kEmptyObject) { argument
68 opts);
72 opts);
115 return (V, opts = kEmptyObject) => {
116 let x = toNumber(V, opts);
[all …]
/third_party/node/deps/npm/node_modules/glob/dist/esm/
Dglob.js44 opts; field in Glob
61 constructor(pattern, opts) { argument
63 if (!opts)
66 this.withFileTypes = !!opts.withFileTypes;
67 this.signal = opts.signal;
68 this.follow = !!opts.follow;
69 this.dot = !!opts.dot;
70 this.dotRelative = !!opts.dotRelative;
71 this.nodir = !!opts.nodir;
72 this.mark = !!opts.mark;
[all …]

12345678910>>...58