/external/ceres-solver/internal/ceres/ |
D | schur_eliminator.cc | 51 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 …]
|
D | partitioned_matrix_view.cc | 51 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 …]
|
D | unsymmetric_linear_solver_test.cc | 59 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 …]
|
D | minimizer.h | 59 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 …]
|
D | solver_impl.cc | 68 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 …]
|
D | solver_test.cc | 47 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/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/translate/ |
D | TranslateOptionsTest.java | 23 TranslateOptions options = new TranslateOptions(0, 1, LANGUAGES, ALWAYS_TRANSLATE, false); in testNoChanges() local 24 assertEquals("English", options.sourceLanguage()); in testNoChanges() 25 assertEquals("Spanish", options.targetLanguage()); in testNoChanges() 26 assertEquals(0, options.sourceLanguageIndex()); in testNoChanges() 27 assertEquals(1, options.targetLanguageIndex()); in testNoChanges() 28 assertFalse(options.neverTranslateLanguageState()); in testNoChanges() 29 assertTrue(options.alwaysTranslateLanguageState()); in testNoChanges() 30 assertFalse(options.neverTranslateDomainState()); in testNoChanges() 31 assertFalse(options.optionsChanged()); in testNoChanges() 37 TranslateOptions options = new TranslateOptions(0, 1, LANGUAGES, !ALWAYS_TRANSLATE, true); in testBasicLanguageChanges() local [all …]
|
/external/chromium_org/build/android/ |
D | test_runner.py | 92 def ProcessCommonOptions(options): argument 94 run_tests_helper.SetLogLevel(options.verbose_count) 95 constants.SetBuildType(options.build_type) 143 def ProcessGTestOptions(options): argument 149 if options.suite_name == 'help': 158 if options.suite_name: 159 options.suite_name = [options.suite_name] 161 options.suite_name = [s for s in gtest_config.STABLE_TEST_SUITES] 197 def ProcessJavaTestOptions(options): argument 200 if options.annotation_str: [all …]
|
/external/chromium_org/v8/tools/ |
D | run-tests.py | 263 def ProcessOptions(options): argument 268 if options.arch_and_mode: 269 options.arch_and_mode = [arch_and_mode.split(".") 270 for arch_and_mode in options.arch_and_mode.split(",")] 271 options.arch = ",".join([tokens[0] for tokens in options.arch_and_mode]) 272 options.mode = ",".join([tokens[1] for tokens in options.arch_and_mode]) 273 options.mode = options.mode.split(",") 274 for mode in options.mode: 278 if options.arch in ["auto", "native"]: 279 options.arch = ARCH_GUESS [all …]
|
/external/chromium_org/tools/telemetry/telemetry/core/ |
D | browser_options_unittest.py | 13 options = browser_options.BrowserFinderOptions() 14 parser = options.CreateParser() 17 self.assertEquals(options.x, 3) # pylint: disable=E1101 20 options = browser_options.BrowserFinderOptions() 21 parser = options.CreateParser() 24 self.assertEquals(options.x, 10) # pylint: disable=E1101 27 options = browser_options.BrowserFinderOptions() 28 setattr(options, 'x', 7) 29 parser = options.CreateParser() 32 self.assertEquals(options.x, 7) # pylint: disable=E1101 [all …]
|
/external/chromium_org/build/android/buildbot/ |
D | bb_device_steps.py | 85 def _GetRevision(options): argument 94 revision = options.build_properties.get('got_revision') 96 revision = options.build_properties.get('revision', 'testing') 100 def _RunTest(options, cmd, suite): argument 108 property_args = bb_utils.EncodeProperties(options) 111 if options.factory_properties.get('generate_gtest_json'): 115 '--build-number', str(options.build_properties.get('buildnumber', 117 '--builder-name', options.build_properties.get('buildername', '')] 118 if options.target == 'Release': 126 def RunTestSuites(options, suites, suites_options=None): argument [all …]
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
D | CommandLine.java | 33 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/ |
D | Options.java | 136 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/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/style/ |
D | optparser_unittest.py | 51 options = self._create_options('vs7', 5, ['+foo', '-bar'], 'git') 54 self._printer.to_flag_string(options)) 58 options = self._create_options() 60 self._printer.to_flag_string(options)) 143 (files, options) = parse([]) 147 self.assertEqual(options.filter_rules, []) 148 self.assertIsNone(options.git_commit) 149 self.assertFalse(options.diff_files) 150 self.assertFalse(options.is_verbose) 151 self.assertEqual(options.min_confidence, 3) [all …]
|
/external/chromium_org/third_party/openmax_dl/dl/sp/src/test/ |
D | test_util.c | 62 void SetDefaultOptions(struct Options* options, int real_only, in SetDefaultOptions() argument 64 options->real_only_ = real_only; in SetDefaultOptions() 66 options->verbose_ = 1; in SetDefaultOptions() 71 options->test_mode_ = 1; in SetDefaultOptions() 72 options->do_forward_tests_ = 1; in SetDefaultOptions() 73 options->do_inverse_tests_ = 1; in SetDefaultOptions() 74 options->min_fft_order_ = 1; in SetDefaultOptions() 75 options->max_fft_order_ = max_fft_order; in SetDefaultOptions() 80 options->fft_log_size_ = 4; in SetDefaultOptions() 81 options->scale_factor_ = 0; in SetDefaultOptions() [all …]
|
/external/chromium_org/tools/coverity/ |
D | coverity.py | 105 def run_coverity(options, args): argument 109 lock_filename = os.path.join(options.source_dir, LOCK_FILE) 120 options.target = options.target.title() 124 print 'Change directory to ' + options.source_dir 125 os.chdir(options.source_dir) 130 coverity_password = _ReadPassword(options.coverity_password_file) 133 gclient_exit = _RunCommand(cmd, options.dry_run, shell=True) 143 rm_path = os.path.join(options.source_dir,'src','out',options.target) 145 rm_path = os.path.join(options.source_dir,options.solution_dir, 146 options.target) [all …]
|
/external/clang/lib/Driver/ |
D | Tools.cpp | 48 Arg *LastPICArg = Args.getLastArg(options::OPT_fPIC, options::OPT_fno_PIC, in addAssemblerKPIC() 49 options::OPT_fpic, options::OPT_fno_pic, in addAssemblerKPIC() 50 options::OPT_fPIE, options::OPT_fno_PIE, in addAssemblerKPIC() 51 options::OPT_fpie, options::OPT_fno_pie); in addAssemblerKPIC() 54 if (LastPICArg->getOption().matches(options::OPT_fPIC) || in addAssemblerKPIC() 55 LastPICArg->getOption().matches(options::OPT_fpic) || in addAssemblerKPIC() 56 LastPICArg->getOption().matches(options::OPT_fPIE) || in addAssemblerKPIC() 57 LastPICArg->getOption().matches(options::OPT_fpie)) { in addAssemblerKPIC() 65 if (Arg *A = Args.getLastArg(options::OPT_C, options::OPT_CC)) { in CheckPreprocessingOptions() 66 if (!Args.hasArg(options::OPT_E) && !Args.hasArg(options::OPT__SLASH_P) && in CheckPreprocessingOptions() [all …]
|
/external/chromium_org/build/android/gyp/ |
D | apk_obfuscate.py | 52 (options, args) = parser.parse_args(argv) 68 if options.testapp: 73 build_utils.CheckOptions(options, parser, required=required_options) 75 return options, args 79 options, _ = ParseArgs(argv) 81 library_classpath = [options.android_sdk_jar] 82 input_jars = build_utils.ParseGypList(options.input_jars_paths) 87 if options.testapp: 89 options.test_jar_path, input_jars, dependency_class_filters) 91 if options.configuration_name == 'Release' and options.proguard_enabled: [all …]
|
D | emma_instr.py | 66 def _RunCopyCommand(_command, options, _, option_parser): argument 81 if not (options.input_path and options.output_path and 82 options.coverage_file and options.sources_file): 85 coverage_file = os.path.join(os.path.dirname(options.output_path), 86 options.coverage_file) 87 sources_file = os.path.join(os.path.dirname(options.output_path), 88 options.sources_file) 94 if os.path.isdir(options.input_path): 95 shutil.rmtree(options.output_path, ignore_errors=True) 96 shutil.copytree(options.input_path, options.output_path) [all …]
|
/external/chromium_org/tools/telemetry/telemetry/page/ |
D | page_runner_unittest.py | 37 def SetUpPageRunnerArguments(options): argument 38 parser = options.CreateParser() 40 options.MergeDefaultValues(parser.get_default_values()) 41 page_runner.ProcessCommandLineArgs(parser, options) 83 options = options_for_unittests.GetCopy() 84 options.output_formats = ['none'] 85 options.suppress_gtest_report = True 86 SetUpPageRunnerArguments(options) 87 results = results_options.CreateResults(EmptyMetadataForTest(), options) 88 page_runner.Run(Test(), ps, expectations, options, results) [all …]
|
/external/chromium_org/chrome/browser/extensions/api/easy_unlock_private/ |
D | easy_unlock_private_crypto_delegate_chromeos.cc | 67 chromeos::EasyUnlockClient::CreateSecureMessageOptions options; in CreateSecureMessage() local 68 options.key = params.key; in CreateSecureMessage() 69 if (params.options.associated_data) in CreateSecureMessage() 70 options.associated_data = *params.options.associated_data; in CreateSecureMessage() 71 if (params.options.public_metadata) in CreateSecureMessage() 72 options.public_metadata = *params.options.public_metadata; in CreateSecureMessage() 73 if (params.options.verification_key_id) in CreateSecureMessage() 74 options.verification_key_id = *params.options.verification_key_id; in CreateSecureMessage() 75 if (params.options.decryption_key_id) in CreateSecureMessage() 76 options.decryption_key_id = *params.options.decryption_key_id; in CreateSecureMessage() [all …]
|
/external/chromium_org/third_party/icu/source/tools/gencmn/ |
D | gencmn.c | 34 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() 108 … options[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/gencmn/ |
D | gencmn.c | 34 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() 108 … options[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/chromium_org/mojo/system/ |
D | data_pipe_unittest.cc | 71 MojoCreateDataPipeOptions options = { in TEST() local 76 DataPipe::ValidateCreateOptions(MakeUserPointer(&options), in TEST() 91 MojoCreateDataPipeOptions options = { in TEST() local 98 DataPipe::ValidateCreateOptions(MakeUserPointer(&options), in TEST() 101 EXPECT_EQ(options.flags, validated_options.flags); in TEST() 107 MojoCreateDataPipeOptions options = { in TEST() local 115 DataPipe::ValidateCreateOptions(MakeUserPointer(&options), in TEST() 119 EXPECT_EQ(options.flags, validated_options.flags); in TEST() 120 EXPECT_EQ(options.element_num_bytes, validated_options.element_num_bytes); in TEST() 121 EXPECT_EQ(options.capacity_num_bytes, in TEST() [all …]
|
/external/chromium_org/chrome/browser/history/ |
D | history_querying_unittest.cc | 81 const QueryOptions& options, in QueryHistory() argument 84 options, in QueryHistory() 101 QueryOptions options; in TestPaging() local 104 options.max_count = 1; in TestPaging() 107 QueryHistory(query_text, options, &results); in TestPaging() 110 options.end_time = results.back().visit_time(); in TestPaging() 112 QueryHistory(query_text, options, &results); in TestPaging() 116 options.max_count = 2; in TestPaging() 117 options.end_time = base::Time(); in TestPaging() 120 QueryHistory(query_text, options, &results); in TestPaging() [all …]
|