Home
last modified time | relevance | path

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

12345678910>>...72

/external/libabigail/tools/
Dabidiff.cc271 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
280 if (opts.file1.empty()) in parse_command_line()
281 opts.file1 = argv[i]; in parse_command_line()
282 else if (opts.file2.empty()) in parse_command_line()
283 opts.file2 = argv[i]; in parse_command_line()
290 opts.display_version = true; in parse_command_line()
299 opts.missing_operand = true; in parse_command_line()
300 opts.wrong_option = argv[i]; in parse_command_line()
305 opts.di_root_paths1.push_back in parse_command_line()
315 opts.missing_operand = true; in parse_command_line()
[all …]
Dabidw.cc226 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
235 if (opts.in_file_path.empty()) in parse_command_line()
236 opts.in_file_path = argv[i]; in parse_command_line()
242 opts.display_version = true; in parse_command_line()
245 opts.display_abixml_version = true; in parse_command_line()
254 opts.di_root_paths.push_back in parse_command_line()
264 opts.headers_dirs.push_back(argv[j]); in parse_command_line()
273 opts.header_files.push_back(argv[j]); in parse_command_line()
280 || !opts.out_file_path.empty()) in parse_command_line()
283 opts.out_file_path = argv[i + 1]; in parse_command_line()
[all …]
Dkmidiff.cc130 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
139 if (opts.kernel_dist_root1.empty()) in parse_command_line()
140 opts.kernel_dist_root1 = argv[i]; in parse_command_line()
141 else if (opts.kernel_dist_root2.empty()) in parse_command_line()
142 opts.kernel_dist_root2 = argv[i]; in parse_command_line()
147 opts.verbose = true; in parse_command_line()
151 opts.display_version = true; in parse_command_line()
157 opts.display_usage = true; in parse_command_line()
166 opts.missing_operand = true; in parse_command_line()
167 opts.wrong_option = argv[i]; in parse_command_line()
[all …]
Dabipkgdiff.cc265 options& opts,
649 load_elf_file_paths(options& opts) in load_elf_file_paths() argument
658 opts, elf_file_paths()); in load_elf_file_paths()
695 erase_extraction_directory(const options &opts) const in erase_extraction_directory()
703 if (opts.verbose) in erase_extraction_directory()
712 if (opts.verbose) in erase_extraction_directory()
717 if (opts.verbose) in erase_extraction_directory()
726 erase_extraction_directories(const options &opts) const in erase_extraction_directories()
728 erase_extraction_directory(opts); in erase_extraction_directories()
730 debug_info_packages().front()->erase_extraction_directory(opts); in erase_extraction_directories()
[all …]
Dabicompat.cc142 parse_command_line(int argc, char* argv[], options& opts) in parse_command_line() argument
151 if (opts.app_path.empty()) in parse_command_line()
152 opts.app_path = argv[i]; in parse_command_line()
153 else if (opts.lib1_path.empty()) in parse_command_line()
154 opts.lib1_path = argv[i]; in parse_command_line()
155 else if (opts.lib2_path.empty()) in parse_command_line()
156 opts.lib2_path = argv[i]; in parse_command_line()
163 opts.display_version = true; in parse_command_line()
168 opts.list_undefined_symbols_only = true; in parse_command_line()
171 opts.show_base_names = true; in parse_command_line()
[all …]
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_show.cc29 const GraphNodeProto& TFShow::Show(const string& prefix, const Options& opts) { in Show() argument
30 if (opts.output_type == kOutput[0]) { in Show()
31 Timeline timeline(opts.step, opts.output_options.at(kTimelineOpts[0])); in Show()
32 return ShowInternal(opts, &timeline)->proto(); in Show()
34 const ShowNode* ret = ShowInternal(opts, nullptr); in Show()
35 if (opts.output_type == kOutput[1]) { in Show()
38 } else if (opts.output_type == kOutput[2]) { in Show()
40 opts.output_options.at(kFileOpts[0]), in Show()
45 } else if (opts.output_type == kOutput[3] || in Show()
46 opts.output_type == kOutput[4]) { in Show()
[all …]
Dtfprof_show_multi.cc31 const Options& opts) { in Show() argument
32 if (opts.output_type == kOutput[0]) { in Show()
33 Timeline timeline(opts.step, opts.output_options.at(kTimelineOpts[0])); in Show()
34 return ShowInternal(opts, &timeline)->proto(); in Show()
36 const ShowMultiNode* ret = ShowInternal(opts, nullptr); in Show()
37 if (opts.output_type == kOutput[1]) { in Show()
40 } else if (opts.output_type == kOutput[2]) { in Show()
42 opts.output_options.at(kFileOpts[0]), in Show()
47 } else if (opts.output_type == kOutput[3] || in Show()
48 opts.output_type == kOutput[4]) { in Show()
[all …]
/external/clang/tools/scan-build-py/libscanbuild/
Drunner.py77 def run(opts): argument
91 command = opts.pop('command')
94 opts.update(classify_parameters(command))
96 return arch_check(opts)
104 def report_failure(opts): argument
111 def extension(opts): argument
115 return mapping.get(opts['language'], '.i')
117 def destination(opts): argument
120 name = os.path.join(opts['output_dir'], 'failures')
125 error = opts['error_type']
[all …]
/external/tensorflow/tensorflow/core/util/
Dequal_graph_def_test.cc35 Node* Input(const GraphDefBuilder::Options& opts) { in Input() argument
36 return ops::SourceOp("Input", opts); in Input()
39 Node* Alternate(const GraphDefBuilder::Options& opts) { in Alternate() argument
40 return ops::SourceOp("Alternate", opts); in Alternate()
44 const GraphDefBuilder::Options& opts) { in Combine() argument
45 return ops::BinaryOp("Combine", std::move(a), std::move(b), opts); in Combine()
79 Input(e_.opts().WithName("A")); in TEST_F()
80 Input(a_.opts().WithName("A")); in TEST_F()
85 Input(e_.opts().WithName("A")); in TEST_F()
86 Input(a_.opts().WithName("B")); in TEST_F()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test-init.cc56 struct ares_options opts = {0}; in TEST_F() local
58 opts.flags = ARES_FLAG_USEVC | ARES_FLAG_PRIMARY; in TEST_F()
60 opts.timeout = 2000; in TEST_F()
62 opts.tries = 2; in TEST_F()
64 opts.ndots = 4; in TEST_F()
66 opts.udp_port = 54; in TEST_F()
68 opts.tcp_port = 54; in TEST_F()
70 opts.socket_send_buffer_size = 514; in TEST_F()
72 opts.socket_receive_buffer_size = 514; in TEST_F()
74 opts.ednspsz = 1280; in TEST_F()
[all …]
/external/strace/tests-m32/
Dgroup_req.c85 } opts[] = { in main() local
112 for (i = 0; i < ARRAY_SIZE(opts); ++i) { in main()
114 set_opt(0, opts[i].level, opts[i].name, opts[i].val, -1U); in main()
116 opts[i].str_level, opts[i].str_name, in main()
117 opts[i].val, errstr); in main()
120 set_opt(0, opts[i].level, opts[i].name, opts[i].val, in main()
121 sizeof(*opts[i].val) - 1); in main()
123 opts[i].str_level, opts[i].str_name, in main()
124 opts[i].val, (unsigned int) sizeof(*opts[i].val) - 1, in main()
128 set_opt(0, opts[i].level, opts[i].name, in main()
[all …]
Dip_mreq.c74 } opts[] = { in main() local
117 for (i = 0; i < ARRAY_SIZE(opts); ++i) { in main()
119 rc = setsockopt(0, opts[i].level, opts[i].name, in main()
120 opts[i].val, -1); in main()
122 opts[i].str_level, opts[i].str_name, in main()
123 opts[i].val, sprintrc(rc)); in main()
126 rc = setsockopt(0, opts[i].level, opts[i].name, in main()
127 opts[i].val, opts[i].size - 1); in main()
129 opts[i].str_level, opts[i].str_name, in main()
130 opts[i].val, opts[i].size - 1, sprintrc(rc)); in main()
[all …]
/external/strace/tests/
Dgroup_req.c85 } opts[] = { in main() local
112 for (i = 0; i < ARRAY_SIZE(opts); ++i) { in main()
114 set_opt(0, opts[i].level, opts[i].name, opts[i].val, -1U); in main()
116 opts[i].str_level, opts[i].str_name, in main()
117 opts[i].val, errstr); in main()
120 set_opt(0, opts[i].level, opts[i].name, opts[i].val, in main()
121 sizeof(*opts[i].val) - 1); in main()
123 opts[i].str_level, opts[i].str_name, in main()
124 opts[i].val, (unsigned int) sizeof(*opts[i].val) - 1, in main()
128 set_opt(0, opts[i].level, opts[i].name, in main()
[all …]
Dip_mreq.c74 } opts[] = { in main() local
117 for (i = 0; i < ARRAY_SIZE(opts); ++i) { in main()
119 rc = setsockopt(0, opts[i].level, opts[i].name, in main()
120 opts[i].val, -1); in main()
122 opts[i].str_level, opts[i].str_name, in main()
123 opts[i].val, sprintrc(rc)); in main()
126 rc = setsockopt(0, opts[i].level, opts[i].name, in main()
127 opts[i].val, opts[i].size - 1); in main()
129 opts[i].str_level, opts[i].str_name, in main()
130 opts[i].val, opts[i].size - 1, sprintrc(rc)); in main()
[all …]
/external/strace/tests-mx32/
Dgroup_req.c85 } opts[] = { in main() local
112 for (i = 0; i < ARRAY_SIZE(opts); ++i) { in main()
114 set_opt(0, opts[i].level, opts[i].name, opts[i].val, -1U); in main()
116 opts[i].str_level, opts[i].str_name, in main()
117 opts[i].val, errstr); in main()
120 set_opt(0, opts[i].level, opts[i].name, opts[i].val, in main()
121 sizeof(*opts[i].val) - 1); in main()
123 opts[i].str_level, opts[i].str_name, in main()
124 opts[i].val, (unsigned int) sizeof(*opts[i].val) - 1, in main()
128 set_opt(0, opts[i].level, opts[i].name, in main()
[all …]
Dip_mreq.c74 } opts[] = { in main() local
117 for (i = 0; i < ARRAY_SIZE(opts); ++i) { in main()
119 rc = setsockopt(0, opts[i].level, opts[i].name, in main()
120 opts[i].val, -1); in main()
122 opts[i].str_level, opts[i].str_name, in main()
123 opts[i].val, sprintrc(rc)); in main()
126 rc = setsockopt(0, opts[i].level, opts[i].name, in main()
127 opts[i].val, opts[i].size - 1); in main()
129 opts[i].str_level, opts[i].str_name, in main()
130 opts[i].val, opts[i].size - 1, sprintrc(rc)); in main()
[all …]
/external/selinux/policycoreutils/secon/
Dsecon.c72 } opts[1] = { { variable
132 num += opts->disp_user; in disp_num()
133 num += opts->disp_role; in disp_num()
134 num += opts->disp_type; in disp_num()
135 num += opts->disp_sen; in disp_num()
136 num += opts->disp_clr; in disp_num()
137 num += opts->disp_mlsr; in disp_num()
215 opts->disp_user = !opts->disp_user; in cmd_line()
219 opts->disp_role = !opts->disp_role; in cmd_line()
223 opts->disp_type = !opts->disp_type; in cmd_line()
[all …]
/external/libfuse/lib/
Dhelper.c146 struct fuse_cmdline_opts *opts = data; in fuse_helper_opt_proc() local
150 if (!opts->mountpoint) { in fuse_helper_opt_proc()
152 return fuse_opt_add_opt(&opts->mountpoint, arg); in fuse_helper_opt_proc()
162 return fuse_opt_add_opt(&opts->mountpoint, mountpoint); in fuse_helper_opt_proc()
203 struct fuse_cmdline_opts *opts) in fuse_parse_cmdline() argument
205 memset(opts, 0, sizeof(struct fuse_cmdline_opts)); in fuse_parse_cmdline()
207 opts->max_idle_threads = 10; in fuse_parse_cmdline()
209 if (fuse_opt_parse(args, opts, fuse_helper_opts, in fuse_parse_cmdline()
217 if (!opts->nodefault_subtype) in fuse_parse_cmdline()
284 struct fuse_cmdline_opts opts; in fuse_main_real() local
[all …]
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoderNormal.java24 private final Optimum[] opts = new Optimum[OPTS]; field in LZMAEncoderNormal
55 opts[i] = new Optimum(); in LZMAEncoderNormal()
72 int optPrev = opts[optCur].optPrev; in convertOpts()
75 Optimum opt = opts[optCur]; in convertOpts()
78 opts[optPrev].optPrev = optCur; in convertOpts()
79 opts[optPrev].backPrev = -1; in convertOpts()
83 opts[optPrev].optPrev = optPrev + 1; in convertOpts()
84 opts[optPrev].backPrev = opt.backPrev2; in convertOpts()
90 int temp = opts[optPrev].optPrev; in convertOpts()
91 opts[optPrev].optPrev = optCur; in convertOpts()
[all …]
/external/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 …]
/external/selinux/policycoreutils/setfiles/
Drestore.c20 void restore_init(struct restore_opts *opts) in restore_init() argument
25 { SELABEL_OPT_VALIDATE, opts->selabel_opt_validate }, in restore_init()
26 { SELABEL_OPT_PATH, opts->selabel_opt_path }, in restore_init()
27 { SELABEL_OPT_DIGEST, opts->selabel_opt_digest } in restore_init()
30 opts->hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 3); in restore_init()
31 if (!opts->hnd) { in restore_init()
32 perror(opts->selabel_opt_path ? opts->selabel_opt_path : selinux_file_context_path()); in restore_init()
36 opts->restorecon_flags = 0; in restore_init()
37 opts->restorecon_flags = opts->nochange | opts->verbose | in restore_init()
38 opts->progress | opts->set_specctx | in restore_init()
[all …]
/external/rappor/bin/
Ddecode_assoc.R88 opts <- parse_args(parser) functionVar
90 if (opts$metric_name == "") {
93 if (opts$reports== "") {
96 if (opts$schema == "") {
99 if (opts$params_dir == "") {
102 if (opts$var1 == "") {
105 if (opts$var2 == "") {
109 return(opts)
113 opts <- ParseOptions() globalVar
205 main <- function(opts) { argument
[all …]
/external/selinux/restorecond/
Drestore.c15 void restore_init(struct restore_opts *opts) in restore_init() argument
20 { SELABEL_OPT_VALIDATE, opts->selabel_opt_validate }, in restore_init()
21 { SELABEL_OPT_PATH, opts->selabel_opt_path }, in restore_init()
22 { SELABEL_OPT_DIGEST, opts->selabel_opt_digest } in restore_init()
25 opts->hnd = selabel_open(SELABEL_CTX_FILE, selinux_opts, 3); in restore_init()
26 if (!opts->hnd) { in restore_init()
27 perror(opts->selabel_opt_path); in restore_init()
31 opts->restorecon_flags = 0; in restore_init()
32 opts->restorecon_flags = opts->nochange | opts->verbose | in restore_init()
33 opts->progress | opts->set_specctx | in restore_init()
[all …]
/external/go-cmp/cmp/
Dreport_compare.go56 func (opts formatOptions) WithDiffMode(d diffMode) formatOptions {
57 opts.DiffMode = d
58 return opts
60 func (opts formatOptions) WithTypeMode(t typeMode) formatOptions {
61 opts.TypeMode = t
62 return opts
64 func (opts formatOptions) WithVerbosity(level int) formatOptions {
65 opts.VerbosityLevel = level
66 opts.LimitVerbosity = true
67 return opts
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Ddump.cc50 explicit CanonicalDebugOptions(const DebugOptions& opts) in CanonicalDebugOptions()
51 : dump_to(opts.xla_dump_to()), in CanonicalDebugOptions()
52 dump_as_text(opts.xla_dump_hlo_as_text()), in CanonicalDebugOptions()
53 dump_as_proto(opts.xla_dump_hlo_as_proto()), in CanonicalDebugOptions()
54 dump_as_dot(opts.xla_dump_hlo_as_dot()), in CanonicalDebugOptions()
55 dump_as_html(opts.xla_dump_hlo_as_html()), in CanonicalDebugOptions()
56 dump_as_url(opts.xla_dump_hlo_as_url()), in CanonicalDebugOptions()
57 dump_fusion_visualization(opts.xla_dump_fusion_visualization()), in CanonicalDebugOptions()
58 dump_snapshots(opts.xla_dump_hlo_snapshots()), in CanonicalDebugOptions()
59 dump_include_timestamp(opts.xla_dump_include_timestamp()), in CanonicalDebugOptions()
[all …]

12345678910>>...72