Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 3770) sorted by relevance

12345678910>>...151

/external/ceres-solver/internal/ceres/
Dschur_eliminator.cc51 SchurEliminatorBase::Create(const LinearSolver::Options& options) { in Create() argument
53 if ((options.row_block_size == 2) && in Create()
54 (options.e_block_size == 2) && in Create()
55 (options.f_block_size == 2)) { in Create()
56 return new SchurEliminator<2, 2, 2>(options); in Create()
58 if ((options.row_block_size == 2) && in Create()
59 (options.e_block_size == 2) && in Create()
60 (options.f_block_size == 3)) { in Create()
61 return new SchurEliminator<2, 2, 3>(options); in Create()
63 if ((options.row_block_size == 2) && in Create()
[all …]
Dpartitioned_matrix_view.cc51 PartitionedMatrixViewBase::Create(const LinearSolver::Options& options, in Create() argument
54 if ((options.row_block_size == 2) && in Create()
55 (options.e_block_size == 2) && in Create()
56 (options.f_block_size == 2)) { in Create()
58 matrix, options.elimination_groups[0]); in Create()
60 if ((options.row_block_size == 2) && in Create()
61 (options.e_block_size == 2) && in Create()
62 (options.f_block_size == 3)) { in Create()
64 matrix, options.elimination_groups[0]); in Create()
66 if ((options.row_block_size == 2) && in Create()
[all …]
Dunsymmetric_linear_solver_test.cc59 void TestSolver(const LinearSolver::Options& options) { in TestSolver() argument
70 if (options.type == DENSE_QR || in TestSolver()
71 options.type == DENSE_NORMAL_CHOLESKY) { in TestSolver()
73 } else if (options.type == SPARSE_NORMAL_CHOLESKY) { in TestSolver()
85 LOG(FATAL) << "Unknown linear solver : " << options.type; in TestSolver()
89 scoped_ptr<LinearSolver> solver(LinearSolver::Create(options)); in TestSolver()
97 solver.reset(LinearSolver::Create(options)); in TestSolver()
134 LinearSolver::Options options; in TEST_F() local
135 options.type = DENSE_QR; in TEST_F()
136 options.dense_linear_algebra_library_type = EIGEN; in TEST_F()
[all …]
Dsolver_impl.cc68 const Solver::Options& options, in TrustRegionMinimize() argument
74 Minimizer::Options minimizer_options(options); in TrustRegionMinimize()
86 options.minimizer_progress_to_stdout); in TrustRegionMinimize()
87 if (options.logging_type != SILENT) { in TrustRegionMinimize()
93 if (options.update_state_every_iteration) { in TrustRegionMinimize()
109 options.initial_trust_region_radius; in TrustRegionMinimize()
110 trust_region_strategy_options.max_radius = options.max_trust_region_radius; in TrustRegionMinimize()
111 trust_region_strategy_options.min_lm_diagonal = options.min_lm_diagonal; in TrustRegionMinimize()
112 trust_region_strategy_options.max_lm_diagonal = options.max_lm_diagonal; in TrustRegionMinimize()
114 options.trust_region_strategy_type; in TrustRegionMinimize()
[all …]
Dminimizer.h59 explicit Options(const Solver::Options& options) { in Options()
60 Init(options); in Options()
63 void Init(const Solver::Options& options) { in Init()
64 num_threads = options.num_threads; in Init()
65 max_num_iterations = options.max_num_iterations; in Init()
66 max_solver_time_in_seconds = options.max_solver_time_in_seconds; in Init()
68 gradient_tolerance = options.gradient_tolerance; in Init()
69 parameter_tolerance = options.parameter_tolerance; in Init()
70 function_tolerance = options.function_tolerance; in Init()
71 min_relative_decrease = options.min_relative_decrease; in Init()
[all …]
Dsolver_test.cc47 Solver::Options options; in TEST() local
48 options.minimizer_type = TRUST_REGION; in TEST()
50 EXPECT_TRUE(options.IsValid(&error)) << error; in TEST()
54 Solver::Options options; in TEST() local
55 options.minimizer_type = LINE_SEARCH; in TEST()
57 EXPECT_TRUE(options.IsValid(&error)) << error; in TEST()
95 Solver::Options options; in TEST() local
96 options.linear_solver_type = DENSE_QR; in TEST()
99 options.callbacks.push_back(&callback); in TEST()
106 Solve(options, &problem, &summary); in TEST()
[all …]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DAgentOptionsTest.java39 AgentOptions options = new AgentOptions(); in testDefaults() local
40 assertEquals(AgentOptions.DEFAULT_DESTFILE, options.getDestfile()); in testDefaults()
41 assertTrue(options.getAppend()); in testDefaults()
42 assertEquals("*", options.getIncludes()); in testDefaults()
43 assertEquals("", options.getExcludes()); in testDefaults()
45 options.getExclClassloader()); in testDefaults()
46 assertFalse(options.getInclBootstrapClasses()); in testDefaults()
47 assertNull(options.getSessionId()); in testDefaults()
48 assertTrue(options.getDumpOnExit()); in testDefaults()
49 assertEquals(AgentOptions.OutputMode.file, options.getOutput()); in testDefaults()
[all …]
/external/v8/tools/
Drun-tests.py370 def SetupEnvironment(options): argument
379 if options.asan:
382 if options.cfi_vptr:
390 if options.msan:
393 if options.tsan:
405 def ProcessOptions(options): argument
411 if options.arch_and_mode:
412 options.arch_and_mode = [arch_and_mode.split(".")
413 for arch_and_mode in options.arch_and_mode.split(",")]
414 options.arch = ",".join([tokens[0] for tokens in options.arch_and_mode])
[all …]
Drun-deopt-fuzzer.py142 def Distribution(options): argument
143 if options.distribution_mode == "random":
144 return RandomDistribution(options.seed)
145 if options.distribution_mode == "smooth":
146 return SmoothDistribution(options.distribution_factor1,
147 options.distribution_factor2)
226 def ProcessOptions(options): argument
230 if options.arch_and_mode:
231 tokens = options.arch_and_mode.split(".")
232 options.arch = tokens[0]
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/
DDumperOptionsTest.java33 DumperOptions options = new DumperOptions(); in testDefaultStyle() local
34 Yaml yaml = new Yaml(options); in testDefaultStyle()
39 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.DOUBLE_QUOTED); in testDefaultStyle()
40 yaml = new Yaml(options); in testDefaultStyle()
43 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.SINGLE_QUOTED); in testDefaultStyle()
44 yaml = new Yaml(options); in testDefaultStyle()
47 options.setDefaultScalarStyle(DumperOptions.ScalarStyle.PLAIN); in testDefaultStyle()
48 yaml = new Yaml(options); in testDefaultStyle()
53 options.setDefaultScalarStyle(null); in testDefaultStyle()
68 DumperOptions options = new DumperOptions(); in testDefaultFlowStyle() local
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/
Dbrowser_options_unittest.py13 options = browser_options.BrowserFinderOptions()
14 parser = options.CreateParser()
17 self.assertEquals(options.x, 3) # pylint: disable=no-member
20 options = browser_options.BrowserFinderOptions()
21 parser = options.CreateParser()
24 self.assertEquals(options.x, 10) # pylint: disable=no-member
27 options = browser_options.BrowserFinderOptions()
28 setattr(options, 'x', 7)
29 parser = options.CreateParser()
32 self.assertEquals(options.x, 7) # pylint: disable=no-member
[all …]
/external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
Dreplay_test.py36 options, args = parser.parse_args([])
37 options = replay.OptionsWrapper(options, parser)
38 self.assertEqual({}, options.shaping_dns)
39 self.assertEqual({}, options.shaping_http)
40 self.assertEqual({}, options.shaping_dummynet)
44 options, args = parser.parse_args(['--shaping=proxy'])
45 options = replay.OptionsWrapper(options, parser)
46 self.assertEqual({}, options.shaping_dns)
47 self.assertEqual({}, options.shaping_http)
48 self.assertEqual({}, options.shaping_dummynet)
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DCommandLine.java33 static Hashtable options = new Hashtable(); static { field in CommandLine
34 options.put("--nocdata", Boolean.FALSE); // CDATA elements are normal
35 options.put("--files", Boolean.FALSE); // process arguments as separate files
36 options.put("--reuse", Boolean.FALSE); // reuse a single Parser
37 options.put("--nons", Boolean.FALSE); // no namespaces
38 options.put("--nobogons", Boolean.FALSE); // suppress unknown elements
39 options.put("--any", Boolean.FALSE); // unknowns have ANY content model
40 options.put("--emptybogons", Boolean.FALSE); // unknowns have EMPTY content model
41 options.put("--norootbogons", Boolean.FALSE); // unknowns can't be the root
42 options.put("--pyxin", Boolean.FALSE); // input is PYX
[all …]
/external/jdiff/src/jdiff/
DOptions.java136 public static boolean validOptions(String[][] options, in validOptions() argument
154 for (int i = 0; i < options.length; i++) { in validOptions()
155 for (int j = 0; j < options[i].length; j++) { in validOptions()
156 Options.cmdOptions += " " + options[i][j]; in validOptions()
158 System.out.print(" " + options[i][j]); in validOptions()
164 for (int i = 0; i < options.length; i++) { in validOptions()
165 if (options[i][0].toLowerCase().equals("-apiname")) { in validOptions()
166 if (options[i].length < 2) { in validOptions()
171 String filename = options[i][1]; in validOptions()
180 if (options[i][0].toLowerCase().equals("-apidir")) { in validOptions()
[all …]
/external/autotest/cli/
Dquery_keyvals17 options, args = parser.parse_args()
18 options.show_test_keyvals = options.type in ("all", "test")
19 options.show_attr_keyvals = options.type in ("all", "iteration", "attr")
20 options.show_perf_keyvals = options.type in ("all", "iteration", "perf")
21 options.show_iter_keyvals = (
22 options.show_perf_keyvals or options.show_attr_keyvals)
23 return parser, options, args
26 def print_keyvals(keyval, format_string, options): argument
28 if not options.key or key == options.key:
32 def print_views(test_views, options): argument
[all …]
/external/clang/lib/Driver/
DTools.cpp88 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) { in CheckPreprocessingOptions()
89 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) && in CheckPreprocessingOptions()
90 !Args.hasArg(options::OPT__SLASH_EP) && !D.CCCIsCPP()) { in CheckPreprocessingOptions()
102 if (Args.hasArg(options::OPT_static)) in CheckCodeGenerationOptions()
104 Args.getLastArg(options::OPT_dynamic, options::OPT_mdynamic_no_pic)) in CheckCodeGenerationOptions()
215 Args.AddAllArgValues(CmdArgs, options::OPT_Zlinker_input); in AddLinkerInputs()
232 if (A.getOption().matches(options::OPT_Z_reserved_lib_stdcxx)) in AddLinkerInputs()
234 else if (A.getOption().matches(options::OPT_Z_reserved_lib_cckext)) in AddLinkerInputs()
236 else if (A.getOption().matches(options::OPT_z)) { in AddLinkerInputs()
254 return Args.hasFlag(options::OPT_fobjc_arc, options::OPT_fno_objc_arc, false); in isObjCAutoRefCount()
[all …]
/external/libxml2/os400/libxmlrpg/
Dxmlwriter.rpgle33 d uri * value options(*string) const char *
72 d version * value options(*string) const char *
73 d encoding * value options(*string) const char *
74 d standalone * value options(*string) const char *
94 d format * value options(*string: *nopass) const char *
95 d #vararg1 * value options(*string: *nopass) void *
96 d #vararg2 * value options(*string: *nopass) void *
97 d #vararg3 * value options(*string: *nopass) void *
98 d #vararg4 * value options(*string: *nopass) void *
99 d #vararg5 * value options(*string: *nopass) void *
[all …]
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson_info.cc47 bool ParseOptions(int argc, char* argv[], Options* options) { in ParseOptions() argument
51 options->instance = true; in ParseOptions()
53 options->device_index = 0; in ParseOptions()
62 int result = sscanf(arg2.c_str(), "%u", &options->device_index); in ParseOptions()
64 options->device_index = -1; in ParseOptions()
69 options->device_name = arg2; in ParseOptions()
71 options->output_file = arg2; in ParseOptions()
78 if (options->instance && (options->device_index != unsignedNegOne || in ParseOptions()
79 !options->device_name.empty())) { in ParseOptions()
84 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { in ParseOptions()
[all …]
/external/icu/icu4c/source/tools/gencmn/
Dgencmn.c34 static UOption options[]={ variable
56 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); in main()
67 if(argc<0 || options[0].doesOccur || options[1].doesOccur) { in main()
76 if (options[0].doesOccur || options[1].doesOccur) { in main()
100 sourceTOC=options[8].doesOccur; in main()
102 verbose = options[2].doesOccur; in main()
106 createCommonDataFile(options[4].doesOccur ? options[4].value : NULL, in main()
107 options[6].doesOccur ? options[6].value : NULL, in main()
108options[9].doesOccur ? options[9].value : options[6].doesOccur ? options[6].value : NULL, in main()
109 options[7].doesOccur ? options[7].value : NULL, in main()
[all …]
/external/icu/icu4c/source/tools/genccode/
Dgenccode.c74 static UOption options[]={ variable
98 options[kOptDestDir].value = "."; in main()
101 argc=u_parseArgs(argc, argv, sizeof(options)/sizeof(options[0]), options); in main()
109 if(argc<0 || options[kOptHelpH].doesOccur || options[kOptHelpQuestionMark].doesOccur) { in main()
136 if(options[kOptAssembly].doesOccur) { in main()
141 if (!checkAssemblyHeaderName(options[kOptAssembly].value)) { in main()
143 "Assembly type \"%s\" is unknown.\n", options[kOptAssembly].value); in main()
148 else if(options[kOptObject].doesOccur) { in main()
168 writeCCode(filename, options[kOptDestDir].value, in main()
169 options[kOptName].doesOccur ? options[kOptName].value : NULL, in main()
[all …]
/external/webrtc/webrtc/tools/
Dcompare_videos.py58 options, _ = parser.parse_args()
60 if not options.ref_video:
62 if not os.path.exists(options.ref_video):
63 parser.error('Cannot find the reference video at %s' % options.ref_video)
65 if not options.test_video:
67 if not os.path.exists(options.test_video):
68 parser.error('Cannot find the test video at %s' % options.test_video)
70 if not options.frame_analyzer:
72 if not os.path.exists(options.frame_analyzer):
74 options.frame_analyzer)
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/page/
Dpage_run_end_to_end_unittest.py49 def SetUpStoryRunnerArguments(options): argument
50 parser = options.CreateParser()
52 options.MergeDefaultValues(parser.get_default_values())
53 story_runner.ProcessCommandLineArgs(parser, options)
170 options = options_for_unittests.GetCopy()
171 options.output_formats = ['none']
172 options.suppress_gtest_report = True
174 SetUpStoryRunnerArguments(options)
175 results = results_options.CreateResults(EmptyMetadataForTest(), options)
176 story_runner.Run(test, story_set, options, results)
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/
DEmitterTest.java41 DumperOptions options = new DumperOptions(); in testWriteFolded() local
42 options.setDefaultScalarStyle(ScalarStyle.FOLDED); in testWriteFolded()
47 Yaml yaml = new Yaml(options); in testWriteFolded()
54 DumperOptions options = new DumperOptions(); in testWriteLiteral() local
55 options.setDefaultScalarStyle(ScalarStyle.LITERAL); in testWriteLiteral()
60 Yaml yaml = new Yaml(options); in testWriteLiteral()
67 DumperOptions options = new DumperOptions(); in testWritePlain() local
68 options.setDefaultScalarStyle(ScalarStyle.PLAIN); in testWritePlain()
73 Yaml yaml = new Yaml(options); in testWritePlain()
80 DumperOptions options = new DumperOptions(); in testWritePlainPretty() local
[all …]
/external/opencv3/modules/ts/misc/
Dsummary.py49 (options, args) = parser.parse_args()
51 options.generateHtml = detectHtmlOutputType(options.format)
52 if options.metric not in metrix_table:
53 options.metric = "gmean"
54 if options.metric.endswith("%") or options.metric.endswith("$"):
55 options.calc_relatives = False
56 options.calc_cr = False
57 if options.columns:
58 options.columns = [s.strip().replace("\\n", "\n") for s in options.columns.split(",")]
60 if options.regressions:
[all …]
/external/autotest/site_utils/
Des_reindex.py46 options = parser.parse_args()
51 result = autotest_es.execute_query(index=options.old, host=options.host,
52 port=options.port, query)
53 print 'Total number of records in index %s: %d' % (options.old,
57 (options.old, options.new, options.host, options.port))
59 client = Elasticsearch(hosts=[{'host': options.host, 'port': options.port}])
60 helpers.reindex(client, options.old, options.new)
64 result = es.execute_query(index=options.new, host=options.host,
65 port=options.port, query)
66 print 'Total number of records in index %s: %d' % (options.new,
[all …]

12345678910>>...151