/external/ceres-solver/internal/ceres/ |
D | dogleg_strategy_test.cc | 50 TrustRegionStrategy::Options options_; member in ceres::internal::__anon8db2b6c80111::Fixture 87 options_.min_lm_diagonal = 1.0; in SetUp() 88 options_.max_lm_diagonal = 1.0; in SetUp() 115 options_.min_lm_diagonal = 1.0; in SetUp() 116 options_.max_lm_diagonal = 1.0; in SetUp() 131 options_.linear_solver = linear_solver.get(); in TEST_F() 135 options_.dogleg_type = TRADITIONAL_DOGLEG; in TEST_F() 136 options_.initial_radius = 2.0; in TEST_F() 137 options_.max_radius = 2.0; in TEST_F() 139 DoglegStrategy strategy(options_); in TEST_F() [all …]
|
D | canonical_views_clustering_test.cc | 72 ComputeCanonicalViewsClustering(graph_, options_, ¢ers_, &membership_); in ComputeClustering() 77 CanonicalViewsClusteringOptions options_; member in ceres::internal::CanonicalViewsTest 83 options_.min_views = 0; in TEST_F() 84 options_.size_penalty_weight = 0.5; in TEST_F() 85 options_.similarity_penalty_weight = 0.0; in TEST_F() 86 options_.view_score_weight = 0.0; in TEST_F() 104 options_.min_views = 0; in TEST_F() 105 options_.size_penalty_weight = 2.0; in TEST_F() 106 options_.similarity_penalty_weight = 0.0; in TEST_F() 107 options_.view_score_weight = 0.0; in TEST_F() [all …]
|
D | trust_region_minimizer.cc | 73 options_ = options; in Init() 74 sort(options_.trust_region_minimizer_iterations_to_dump.begin(), in Init() 75 options_.trust_region_minimizer_iterations_to_dump.end()); in Init() 89 Evaluator* evaluator = CHECK_NOTNULL(options_.evaluator); in Minimize() 90 SparseMatrix* jacobian = CHECK_NOTNULL(options_.jacobian); in Minimize() 91 TrustRegionStrategy* strategy = CHECK_NOTNULL(options_.trust_region_strategy); in Minimize() 120 iteration_summary.eta = options_.eta; in Minimize() 152 options_.gradient_tolerance * initial_gradient_max_norm; in Minimize() 159 << " <= " << options_.gradient_tolerance; in Minimize() 170 if (options_.jacobi_scaling) { in Minimize() [all …]
|
D | iterative_schur_complement_solver.cc | 58 : options_(options) { in IterativeSchurComplementSolver() 76 new ImplicitSchurComplement(options_.elimination_groups[0], in SolveImpl() 77 options_.preconditioner_type == JACOBI)); in SolveImpl() 82 A->block_structure()->cols.size() - options_.elimination_groups[0]; in SolveImpl() 102 cg_options.max_num_iterations = options_.max_num_iterations; in SolveImpl() 110 preconditioner_options.type = options_.preconditioner_type; in SolveImpl() 112 options_.sparse_linear_algebra_library_type; in SolveImpl() 113 preconditioner_options.num_threads = options_.num_threads; in SolveImpl() 114 preconditioner_options.row_block_size = options_.row_block_size; in SolveImpl() 115 preconditioner_options.e_block_size = options_.e_block_size; in SolveImpl() [all …]
|
D | schur_jacobi_preconditioner.cc | 51 : options_(options) { in SchurJacobiPreconditioner() 52 CHECK_GT(options_.elimination_groups.size(), 1); in SchurJacobiPreconditioner() 53 CHECK_GT(options_.elimination_groups[0], 0); in SchurJacobiPreconditioner() 54 const int num_blocks = bs.cols.size() - options_.elimination_groups[0]; in SchurJacobiPreconditioner() 64 block_size_[i] = bs.cols[i + options_.elimination_groups[0]].size; in SchurJacobiPreconditioner() 81 eliminator_options.elimination_groups = options_.elimination_groups; in InitEliminator() 82 eliminator_options.num_threads = options_.num_threads; in InitEliminator() 84 DetectStructure(bs, options_.elimination_groups[0], in InitEliminator() 90 eliminator_->Init(options_.elimination_groups[0], &bs); in InitEliminator()
|
D | visibility_based_preconditioner.cc | 70 : options_(options), in VisibilityBasedPreconditioner() 74 CHECK_GT(options_.elimination_groups.size(), 1); in VisibilityBasedPreconditioner() 75 CHECK_GT(options_.elimination_groups[0], 0); in VisibilityBasedPreconditioner() 76 CHECK(options_.type == CLUSTER_JACOBI || in VisibilityBasedPreconditioner() 77 options_.type == CLUSTER_TRIDIAGONAL) in VisibilityBasedPreconditioner() 78 << "Unknown preconditioner type: " << options_.type; in VisibilityBasedPreconditioner() 79 num_blocks_ = bs.cols.size() - options_.elimination_groups[0]; in VisibilityBasedPreconditioner() 87 block_size_[i] = bs.cols[i + options_.elimination_groups[0]].size; in VisibilityBasedPreconditioner() 91 switch (options_.type) { in VisibilityBasedPreconditioner() 138 ComputeVisibility(bs, options_.elimination_groups[0], &visibility); in ComputeClusterJacobiSparsity() [all …]
|
D | system_test.cc | 224 options_.max_num_iterations = 10; in PowellsFunction() 228 Solver::Options* mutable_solver_options() { return &options_; } in mutable_solver_options() 279 Solver::Options options_; member in ceres::internal::PowellsFunction 330 Solver::Options* mutable_solver_options() { return &options_; } in mutable_solver_options() 398 options_.linear_solver_ordering = new ParameterBlockOrdering; in BuildProblem() 402 options_.linear_solver_ordering->AddElementToGroup(points + 3 * i, 0); in BuildProblem() 406 options_.linear_solver_ordering->AddElementToGroup(cameras + 9 * i, 1); in BuildProblem() 409 options_.max_num_iterations = 25; in BuildProblem() 410 options_.function_tolerance = 1e-10; in BuildProblem() 411 options_.gradient_tolerance = 1e-10; in BuildProblem() [all …]
|
D | cgnr_solver.cc | 44 : options_(options), in CgnrSolver() 62 if (options_.preconditioner_type == JACOBI) { in SolveImpl() 68 } else if (options_.preconditioner_type != IDENTITY) { in SolveImpl() 77 ConjugateGradientsSolver conjugate_gradient_solver(options_); in SolveImpl()
|
D | canonical_views_clustering.cc | 73 CanonicalViewsClusteringOptions options_; member in ceres::internal::CanonicalViewsClustering 101 options_ = options; in ComputeClustering() 130 (centers->size() >= options_.min_views)) { in ComputeClustering() 163 options_.view_score_weight * graph_->VertexWeight(candidate); in ComputeClusteringQualityDifference() 181 difference -= options_.size_penalty_weight; in ComputeClusteringQualityDifference() 185 difference -= options_.similarity_penalty_weight * in ComputeClusteringQualityDifference()
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
D | scroll.js | 53 if (this.options_.direction_ == 'down') { 64 } else if (this.options_.direction_ == 'up') { 66 } else if (this.options_.direction_ == 'right') { 75 } else if (this.options_.direction_ == 'left') { 81 this.options_ = new ScrollGestureOptions(opt_options); 84 this.element_ = this.options_.element_; 94 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_); 96 rect.left + rect.width * this.options_.left_start_percentage_; 98 rect.top + rect.height * this.options_.top_start_percentage_; 101 this.options_.gesture_source_type, this.options_.direction_);
|
D | swipe.js | 41 this.options_ = new SwipeGestureOptions(opt_options); 44 this.element_ = this.options_.element_; 51 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_); 53 rect.left + rect.width * this.options_.left_start_percentage_; 55 rect.top + rect.height * this.options_.top_start_percentage_; 56 chrome.gpuBenchmarking.swipe(this.options_.direction_, 57 this.options_.distance_,
|
D | tap.js | 39 this.options_ = new TapGestureOptions(opt_options); 42 this.element_ = this.options_.element_; 50 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_); 52 rect.left + rect.width * this.options_.left_position_percentage_; 54 rect.top + rect.height * this.options_.top_position_percentage_; 57 this.options_.duration_ms_);
|
/external/chromium_org/tools/gn/ |
D | path_output.cc | 22 options_.mode = escaping; in PathOutput() 23 options_.convert_slashes = convert_slashes; in PathOutput() 24 options_.inhibit_quoting = false; in PathOutput() 82 EscapeStringToStream(out, file.value(), options_); in WriteFile() 88 EscapeStringToStream(out, FilePathToUTF8(file), options_); in WriteFile() 94 if (options_.mode == ESCAPE_SHELL) { in WriteSourceRelativeString() 108 options_); in WriteSourceRelativeString() 113 EscapeStringToStream(out, str, options_); in WriteSourceRelativeString() 126 options_); in WritePathStr() 135 EscapeStringToStream(out, str.substr(1), options_); in WritePathStr() [all …]
|
D | path_output.h | 42 EscapingMode escaping_mode() const { return options_.mode; } in escaping_mode() 50 bool convert_slashes_to_system() const { return options_.convert_slashes; } in convert_slashes_to_system() 57 bool inhibit_quoting() const { return options_.inhibit_quoting; } in inhibit_quoting() 58 void set_inhibit_quoting(bool iq) { options_.inhibit_quoting = iq; } in set_inhibit_quoting() 84 EscapeOptions options_; variable
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | optionsfile.cc | 42 options_.clear(); in Load() 69 options_[key] = value; in Load() 91 for (OptionsMap::const_iterator i = options_.begin(); i != options_.end(); in Save() 149 OptionsMap::const_iterator i = options_.find(option); in GetStringValue() 150 if (i == options_.end()) { in GetStringValue() 164 OptionsMap::const_iterator i = options_.find(option); in GetIntValue() 165 if (i == options_.end()) { in GetIntValue() 178 options_[option] = value; in SetStringValue() 189 return ToString(value, &options_[option]); in SetIntValue() 197 options_.erase(option); in RemoveValue()
|
/external/chromium_org/net/quic/ |
D | quic_packet_creator.cc | 68 sequence_number_length_(options_.send_sequence_number_length), in QuicPacketCreator() 87 fec_group_->NumReceivedPackets() >= options_.max_packets_per_fec_group); in ShouldSendFec() 91 if (options_.max_packets_per_fec_group > 0 && fec_group_.get() == NULL) { in MaybeStartFEC() 118 options_.max_packets_per_fec_group + sequence_number_ + 1 in UpdateSequenceNumberLength() 121 bytes_per_second / options_.max_packet_length; in UpdateSequenceNumberLength() 124 options_.send_sequence_number_length = in UpdateSequenceNumberLength() 152 DCHECK_GT(options_.max_packet_length, in CreateStreamFrame() 229 options_.send_sequence_number_length; in ReserializeAllFrames() 232 options_.max_packets_per_fec_group; in ReserializeAllFrames() 236 options_.send_sequence_number_length = original_length; in ReserializeAllFrames() [all …]
|
/external/chromium_org/third_party/leveldatabase/src/db/ |
D | repair.cc | 52 options_(SanitizeOptions(dbname, &icmp_, &ipolicy_, options)), in Repairer() 53 owns_info_log_(options_.info_log != options.info_log), in Repairer() 54 owns_cache_(options_.block_cache != options.block_cache), in Repairer() 57 table_cache_ = new TableCache(dbname_, &options_, 10); in Repairer() 63 delete options_.info_log; in ~Repairer() 66 delete options_.block_cache; in ~Repairer() 82 Log(options_.info_log, in Run() 104 Options const options_; member in leveldb::__anone847904d0111::Repairer 154 Log(options_.info_log, "Log #%llu: ignoring conversion error: %s", in ConvertLogFilesToTables() 187 reporter.info_log = options_.info_log; in ConvertLogToTable() [all …]
|
D | autocompact_test.cc | 17 Options options_; member in leveldb::AutoCompactTest 23 options_.block_cache = tiny_cache_; in AutoCompactTest() 24 DestroyDB(dbname_, options_); in AutoCompactTest() 25 options_.create_if_missing = true; in AutoCompactTest() 26 options_.compression = kNoCompression; in AutoCompactTest() 27 ASSERT_OK(DB::Open(options_, dbname_, &db_)); in AutoCompactTest()
|
D | corruption_test.cc | 32 Options options_; member in leveldb::CorruptionTest 37 options_.env = &env_; in CorruptionTest() 38 options_.block_cache = tiny_cache_; in CorruptionTest() 40 DestroyDB(dbname_, options_); in CorruptionTest() 43 options_.create_if_missing = true; in CorruptionTest() 45 options_.create_if_missing = false; in CorruptionTest() 57 return DB::Open(options_, dbname_, &db_); in TryReopen() 67 ASSERT_OK(::leveldb::RepairDB(dbname_, options_)); in RepairDB() 248 options_.block_size = 2 * kValueSize; // Limit scope of corruption in TEST() 249 options_.paranoid_checks = true; in TEST() [all …]
|
/external/chromium_org/chrome/installer/util/ |
D | product.cc | 57 operations_->ReadOptions(prefs, &options_); in InitializeFromPreferences() 62 operations_->ReadOptions(uninstall_command, &options_); in InitializeFromUninstallCommand() 136 return operations_->ShouldCreateUninstallEntry(options_); in ShouldCreateUninstallEntry() 140 operations_->AddKeyFiles(options_, key_files); in AddKeyFiles() 144 operations_->AddComDllList(options_, com_dll_list); in AddComDllList() 148 operations_->AppendProductFlags(options_, command_line); in AppendProductFlags() 152 operations_->AppendRenameFlags(options_, command_line); in AppendRenameFlags() 156 return operations_->SetChannelFlags(options_, set, channel_info); in SetChannelFlags() 174 setup_path, options_, status, system_level); in LaunchUserExperiment()
|
D | product.h | 70 return options_.find(option) != options_.end(); in HasOption() 76 return options_.insert(option).second; in SetOption() 78 return options_.erase(option) != 0; in SetOption() 144 std::set<std::wstring> options_; variable
|
/external/chromium_org/third_party/re2/re2/ |
D | set.cc | 16 options_.Copy(options); in Set() 35 options_.ParseFlags()); in Add() 42 if (options_.log_errors()) in Add() 77 options_.ParseFlags()); in Compile() 85 if (options_.log_errors()) in Compile() 90 prog_ = Prog::CompileSet(options_, anchor_, re); in Compile()
|
/external/regex-re2/re2/ |
D | set.cc | 16 options_.Copy(options); in Set() 35 options_.ParseFlags()); in Add() 42 if (options_.log_errors()) in Add() 77 options_.ParseFlags()); in Compile() 85 if (options_.log_errors()) in Compile() 90 prog_ = Prog::CompileSet(options_, anchor_, re); in Compile()
|
/external/chromium/base/ |
D | string_tokenizer.h | 115 void set_options(int options) { options_ = options; } in set_options() 128 if (quotes_.empty() && options_ == 0) in GetNext() 163 options_ = 0; in Init() 197 if (options_ & RETURN_DELIMS) { in FullGetNext() 247 int options_; variable
|
/external/chromium_org/base/strings/ |
D | string_tokenizer.h | 116 void set_options(int options) { options_ = options; } in set_options() 129 if (quotes_.empty() && options_ == 0) in GetNext() 164 options_ = 0; in Init() 198 if (options_ & RETURN_DELIMS) { in FullGetNext() 248 int options_; variable
|