Home
last modified time | relevance | path

Searched refs:scoped_ptr (Results 1 – 25 of 224) sorted by relevance

123456789

/external/ceres-solver/include/ceres/internal/
Dscoped_ptr.h46 template <class C> class scoped_ptr; variable
51 scoped_ptr<C> make_scoped_ptr(C *);
62 class scoped_ptr {
70 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } in ptr_()
74 ~scoped_ptr() { in ~scoped_ptr()
109 void swap(scoped_ptr& p2) { in swap()
131 friend scoped_ptr<C> make_scoped_ptr<C>(C *p);
136 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
137 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
140 scoped_ptr(const scoped_ptr&);
[all …]
/external/ceres-solver/internal/ceres/
Dnumeric_diff_cost_function_test.cc49 internal::scoped_ptr<CostFunction> cost_function; in TEST()
62 internal::scoped_ptr<CostFunction> cost_function; in TEST()
75 internal::scoped_ptr<CostFunction> cost_function; in TEST()
88 internal::scoped_ptr<CostFunction> cost_function; in TEST()
101 internal::scoped_ptr<CostFunction> cost_function; in TEST()
114 internal::scoped_ptr<CostFunction> cost_function; in TEST()
127 internal::scoped_ptr<CostFunction> cost_function; in TEST()
140 internal::scoped_ptr<CostFunction> cost_function; in TEST()
169 scoped_ptr<CostFunction> cost_function; in TEST()
188 internal::scoped_ptr<CostFunction> cost_function; in TEST()
Dnumeric_diff_functor_test.cc52 internal::scoped_ptr<CostFunction> cost_function; in TEST()
71 internal::scoped_ptr<CostFunction> cost_function; in TEST()
90 internal::scoped_ptr<CostFunction> cost_function; in TEST()
109 internal::scoped_ptr<CostFunction> cost_function; in TEST()
Ddogleg_strategy_test.cc47 scoped_ptr<DenseSparseMatrix> jacobian_;
129 scoped_ptr<LinearSolver> linear_solver( in TEST_F()
152 scoped_ptr<LinearSolver> linear_solver( in TEST_F()
172 scoped_ptr<LinearSolver> linear_solver( in TEST_F()
199 scoped_ptr<LinearSolver> linear_solver( in TEST_F()
234 scoped_ptr<LinearSolver> linear_solver( in TEST_F()
262 scoped_ptr<LinearSolver> linear_solver( in TEST_F()
Dimplicit_schur_complement.h148 scoped_ptr<PartitionedMatrixViewBase> A_;
152 scoped_ptr<BlockSparseMatrix> block_diagonal_EtE_inverse_;
153 scoped_ptr<BlockSparseMatrix> block_diagonal_FtF_inverse_;
Dprogram_test.cc94 scoped_ptr<Program> reduced_program( in TEST()
118 scoped_ptr<Program> reduced_program( in TEST()
145 scoped_ptr<Program> reduced_program( in TEST()
174 scoped_ptr<Program> reduced_program( in TEST()
201 scoped_ptr<Program> reduced_program( in TEST()
239 scoped_ptr<Program> reduced_program( in TEST()
317 scoped_ptr<TripletSparseMatrix> actual_block_sparse_jacobian( in TEST()
384 scoped_ptr<TripletSparseMatrix> actual_block_sparse_jacobian( in TEST()
Dpartitioned_matrix_view_test.cc53 scoped_ptr<LinearLeastSquaresProblem> problem( in SetUp()
71 scoped_ptr<SparseMatrix> A_;
72 scoped_ptr<PartitionedMatrixViewBase> pmv_;
146 scoped_ptr<BlockSparseMatrix> in TEST_F()
160 scoped_ptr<BlockSparseMatrix> in TEST_F()
Dsolver_impl.cc101 scoped_ptr<SparseMatrix> jacobian(evaluator->CreateJacobian()); in TrustRegionMinimize()
116 scoped_ptr<TrustRegionStrategy> strategy( in TrustRegionMinimize()
270 scoped_ptr<ProblemImpl> gradient_checking_problem_impl; in TrustRegionSolve()
304 scoped_ptr<Program> reduced_program(CreateReducedProgram(&options, in TrustRegionSolve()
342 scoped_ptr<LinearSolver> in TrustRegionSolve()
367 scoped_ptr<Evaluator> evaluator(CreateEvaluator(options, in TrustRegionSolve()
378 scoped_ptr<CoordinateDescentMinimizer> inner_iteration_minimizer; in TrustRegionSolve()
515 scoped_ptr<ProblemImpl> gradient_checking_problem_impl; in LineSearchSolve()
531 scoped_ptr<Program> reduced_program(CreateReducedProgram(&options, in LineSearchSolve()
564 scoped_ptr<Evaluator> evaluator(CreateEvaluator(options, in LineSearchSolve()
[all …]
Diterative_schur_complement_solver_test.cc62 scoped_ptr<LinearLeastSquaresProblem> problem( in SetUpProblem()
85 scoped_ptr<LinearSolver> qr(LinearSolver::Create(options)); in TestSolver()
114 scoped_ptr<BlockSparseMatrix> A_;
Dschur_complement_solver.h140 scoped_ptr<SchurEliminatorBase> eliminator_;
141 scoped_ptr<BlockRandomAccessMatrix> lhs_;
193 scoped_ptr<SimplicialLDLT> simplicial_ldlt_;
Dschur_complement_solver_test.cc50 scoped_ptr<LinearLeastSquaresProblem> problem( in SetUpFromProblemId()
69 scoped_ptr<LinearSolver> qr(LinearSolver::Create(options)); in SetUpFromProblemId()
105 scoped_ptr<LinearSolver> solver(LinearSolver::Create(options)); in ComputeAndCompareSolutions()
130 scoped_ptr<BlockSparseMatrix> A;
Dblock_sparse_matrix_test.cc48 scoped_ptr<LinearLeastSquaresProblem> problem( in SetUp()
62 scoped_ptr<BlockSparseMatrix> A_;
63 scoped_ptr<TripletSparseMatrix> B_;
Dcompressed_row_sparse_matrix_test.cc72 scoped_ptr<LinearLeastSquaresProblem> problem( in SetUp()
95 scoped_ptr<TripletSparseMatrix> tsm;
96 scoped_ptr<CompressedRowSparseMatrix> crsm;
183 scoped_ptr<CompressedRowSparseMatrix> appendage( in TEST_F()
248 scoped_ptr<CompressedRowSparseMatrix> matrix( in TEST()
312 scoped_ptr<CompressedRowSparseMatrix> matrix_;
389 scoped_ptr<CompressedRowSparseMatrix> transpose(matrix.Transpose()); in TEST()
528 scoped_ptr<CompressedRowSparseMatrix> matrix( in TEST()
537 scoped_ptr<CompressedRowSparseMatrix> outer_product( in TEST()
/external/google-breakpad/src/common/
Dscoped_ptr.h83 class scoped_ptr {
92 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } in ptr_()
96 ~scoped_ptr() { in ~scoped_ptr()
131 void swap(scoped_ptr& p2) { in swap()
154 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
155 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
158 scoped_ptr(const scoped_ptr&);
159 void operator=(const scoped_ptr&);
164 void swap(scoped_ptr<C>& p1, scoped_ptr<C>& p2) { in swap()
169 bool operator==(C* p1, const scoped_ptr<C>& p2) {
[all …]
/external/webrtc/src/system_wrappers/interface/
Dscoped_ptr.h40 class scoped_ptr {
45 scoped_ptr(scoped_ptr const &);
46 scoped_ptr & operator=(scoped_ptr const &);
52 explicit scoped_ptr(T* p = NULL): ptr(p) {} in ptr()
54 ~scoped_ptr() { in ~scoped_ptr()
84 void swap(scoped_ptr & b) { in swap()
110 void swap(scoped_ptr<T>& a, scoped_ptr<T>& b) { in swap()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_file.h82 scoped_array<scoped_ptr<MessageGenerator> > message_generators_;
83 scoped_array<scoped_ptr<EnumGenerator> > enum_generators_;
84 scoped_array<scoped_ptr<ServiceGenerator> > service_generators_;
85 scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_;
Dcpp_message.h162 scoped_array<scoped_ptr<MessageGenerator> > nested_generators_;
163 scoped_array<scoped_ptr<EnumGenerator> > enum_generators_;
164 scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_;
/external/webrtc/src/system_wrappers/source/
Dlist_unittest.cc18 using ::webrtc::scoped_ptr;
340 const scoped_ptr<ListWrapperSimple> descending_list( in TEST()
346 const scoped_ptr<ListWrapperSimple> ascending_list( in TEST()
352 scoped_ptr<ListWrapperSimple> list_to_reverse( in TEST()
363 scoped_ptr<ListWrapperSimple> list_to_un_reverse( in TEST()
375 scoped_ptr<ListWrapperSimple> ascending_list(CreateAscendingList(rand()%2)); in TEST()
389 scoped_ptr<ListWrapperSimple> interleave_list( in TEST()
394 scoped_ptr<ListWrapperSimple> descending_list( in TEST()
427 scoped_ptr<ListWrapperSimple> interleaved_list( in TEST()
436 scoped_ptr<ListWrapperSimple> interleave_list( in TEST()
[all …]
Dcpu_wrapper_unittest.cc23 using webrtc::scoped_ptr;
40 scoped_ptr<CpuWrapper> cpu(CpuWrapper::CreateCpu()); in TEST()
42 scoped_ptr<EventWrapper> sleep_event(EventWrapper::Create()); in TEST()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_file.h99 scoped_array<scoped_ptr<MessageGenerator> > message_generators_;
100 scoped_array<scoped_ptr<ExtensionGenerator> > extension_generators_;
101 scoped_ptr<GeneratorFactory> generator_factory_;
102 scoped_ptr<Context> context_;
Djava_file.cc121 scoped_ptr<Message> dynamic_file_proto( in CollectExtensions()
146 new scoped_ptr<MessageGenerator>[file->message_type_count()]), in FileGenerator()
148 new scoped_ptr<ExtensionGenerator>[file->extension_count()]), in FileGenerator()
263 scoped_ptr<ServiceGenerator> generator( in Generate()
362 scoped_ptr<ExtensionGenerator> generator( in GenerateDescriptorInitializationCodeForImmutable()
466 scoped_ptr<io::ZeroCopyOutputStream> output(context->Open(filename)); in GenerateSibling()
514 scoped_ptr<ServiceGenerator> generator( in GenerateSiblings()
/external/google-breakpad/src/google_breakpad/processor/
Dmicrodump.h117 scoped_ptr<MicrodumpContext> context_;
118 scoped_ptr<MicrodumpMemoryRegion> stack_region_;
119 scoped_ptr<MicrodumpModules> modules_;
120 scoped_ptr<SystemInfo> system_info_;
/external/google-breakpad/src/processor/
Dfast_source_line_resolver.cc73 scoped_ptr<Function> func(new Function); in LookupAddress()
75 scoped_ptr<PublicSymbol> public_symbol(new PublicSymbol); in LookupAddress()
88 scoped_ptr<Line> line(new Line); in LookupAddress()
191 scoped_ptr<WindowsFrameInfo> result(new WindowsFrameInfo()); in FindWindowsFrameInfo()
215 scoped_ptr<Function> function(new Function); in FindWindowsFrameInfo()
229 scoped_ptr<PublicSymbol> public_symbol(new PublicSymbol); in FindWindowsFrameInfo()
258 scoped_ptr<CFIFrameInfo> rules(new CFIFrameInfo()); in FindCFIFrameInfo()
/external/protobuf/src/google/protobuf/
Ddynamic_message_unittest.cc132 scoped_ptr<Message> message(prototype_->New()); in TEST_F()
141 scoped_ptr<Message> message(extensions_prototype_->New()); in TEST_F()
150 scoped_ptr<Message> message(packed_prototype_->New()); in TEST_F()
159 scoped_ptr<Message> message(oneof_prototype_->New()); in TEST_F()
220 scoped_ptr<Message> message(prototype_->New()); in TEST_F()
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h435 template <class C> class scoped_ptr; variable
446 class scoped_ptr {
455 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } in ptr_()
459 ~scoped_ptr() { in ~scoped_ptr()
494 void swap(scoped_ptr& p2) { in swap()
517 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
518 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
521 scoped_ptr(const scoped_ptr&);
522 void operator=(const scoped_ptr&);
616 using internal::scoped_ptr;

123456789