Home
last modified time | relevance | path

Searched refs:scoped_array (Results 1 – 25 of 63) sorted by relevance

123

/external/ceres-solver/include/ceres/internal/
Dscoped_ptr.h48 template <class C> class scoped_array; variable
194 class scoped_array {
202 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
206 ~scoped_array() { in ~scoped_array()
243 void swap(scoped_array& p2) { in swap()
264 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
265 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
268 scoped_array(const scoped_array&);
269 void operator=(const scoped_array&);
274 inline void swap(scoped_array<C>& p1, scoped_array<C>& p2) { in swap()
[all …]
/external/skia/src/images/
Dbmpdecoderhelper.h24 template <typename T> class scoped_array {
27 scoped_array(scoped_array const&);
28 scoped_array& operator=(const scoped_array&);
31 explicit scoped_array(T* p = 0) : ptr_(p) {} in ptr_()
32 ~scoped_array() { in ~scoped_array()
100 scoped_array<uint8> colTab_;
/external/google-breakpad/src/common/
Dscoped_ptr.h188 class scoped_array {
197 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
201 ~scoped_array() { in ~scoped_array()
238 void swap(scoped_array& p2) { in swap()
259 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
260 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
263 scoped_array(const scoped_array&);
264 void operator=(const scoped_array&);
269 void swap(scoped_array<C>& p1, scoped_array<C>& p2) { in swap()
274 bool operator==(C* p1, const scoped_array<C>& p2) {
[all …]
Dstring_conversion.cc123 scoped_array<uint16_t> source_buffer; in UTF16ToUTF8()
140 scoped_array<UTF8> target_buffer(new UTF8[target_capacity]); in UTF16ToUTF8()
/external/ceres-solver/internal/ceres/
Dlinear_least_squares_problems.h52 scoped_array<double> b;
53 scoped_array<double> D;
59 scoped_array<double> x;
61 scoped_array<double> x_D;
Dcost_function_to_functor_test.cc58 scoped_array<double> parameters(new double[num_parameters]); in ExpectCostFunctionsAreEqual()
63 scoped_array<double> residuals(new double[num_residuals]); in ExpectCostFunctionsAreEqual()
64 scoped_array<double> jacobians(new double[num_parameters * num_residuals]); in ExpectCostFunctionsAreEqual()
66 scoped_array<double> actual_residuals(new double[num_residuals]); in ExpectCostFunctionsAreEqual()
67 scoped_array<double> actual_jacobians in ExpectCostFunctionsAreEqual()
70 scoped_array<double*> parameter_blocks( in ExpectCostFunctionsAreEqual()
72 scoped_array<double*> jacobian_blocks( in ExpectCostFunctionsAreEqual()
74 scoped_array<double*> actual_jacobian_blocks( in ExpectCostFunctionsAreEqual()
Dprogram_evaluator.h326 scoped_array<double> residual_block_evaluate_scratch;
328 scoped_array<double> gradient;
330 scoped_array<double> residual_block_residuals;
331 scoped_array<double*> jacobian_block_ptrs;
370 scoped_array<EvaluatePreparer> evaluate_preparers_;
371 scoped_array<EvaluateScratch> evaluate_scratch_;
Dschur_complement_solver_test.cc131 scoped_array<double> b;
132 scoped_array<double> x;
133 scoped_array<double> D;
134 scoped_array<double> sol;
135 scoped_array<double> sol_d;
Dtriplet_sparse_matrix.h121 scoped_array<int> rows_;
122 scoped_array<int> cols_;
123 scoped_array<double> values_;
Dblock_random_access_dense_matrix.h89 scoped_array<double> values_;
90 scoped_array<CellInfo> cell_infos_;
Dunsymmetric_linear_solver_test.cc127 scoped_array<double> b_;
128 scoped_array<double> D_;
129 scoped_array<double> sol_unregularized_;
130 scoped_array<double> sol_regularized_;
Dschur_eliminator.h333 scoped_array<double> buffer_;
341 scoped_array<double> chunk_outer_product_buffer_;
Diterative_schur_complement_solver_test.cc115 scoped_array<double> b_;
116 scoped_array<double> D_;
Dparameter_block.h361 mutable scoped_array<double> local_parameterization_jacobian_;
387 scoped_array<double> upper_bounds_;
388 scoped_array<double> lower_bounds_;
Dimplicit_schur_complement_test.cc183 scoped_array<double> b_;
184 scoped_array<double> D_;
/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/clang/test/SemaCXX/
Dnew-delete.cpp471 template <class C> struct scoped_array { struct
472 scoped_array(C* p = __null);
475 Foo() : a_(new scoped_array<int>[5]) { } in Foo()
476 scoped_array< scoped_array<int> > a_;
/external/protobuf/src/google/protobuf/stubs/
Dcommon.h436 template <class C> class scoped_array; variable
533 class scoped_array {
542 explicit scoped_array(C* p = NULL) : array_(p) { } in array_()
546 ~scoped_array() { in ~scoped_array()
583 void swap(scoped_array& p2) { in swap()
604 template <class C2> bool operator==(scoped_array<C2> const& p2) const;
605 template <class C2> bool operator!=(scoped_array<C2> const& p2) const;
608 scoped_array(const scoped_array&);
609 void operator=(const scoped_array&);
617 using internal::scoped_array;
/external/google-breakpad/src/common/mac/
Dstring_utilities.cc35 using google_breakpad::scoped_array;
46 scoped_array<UInt8> buffer(new UInt8[maxUTF8Length + 1]); in ConvertToString()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_field.h85 scoped_array<scoped_ptr<FieldGenerator> > field_generators_;
86 scoped_array<scoped_ptr<FieldGenerator> > extension_generators_;
/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_;
/external/google-breakpad/src/processor/
Dstatic_contained_range_map_unittest.cc171 scoped_array<char> serialized_data_;
240 scoped_array<char> serialized_data; in TEST_F()
260 scoped_array<char> serialized_data; in TEST_F()
Dmodule_serializer.cc143 scoped_array<char> symbol_data(Serialize(*basic_module, &size)); in SerializeModuleAndLoadIntoFastResolver()
197 scoped_array<char> buffer(new char[symbol_data.size() + 1]); in SerializeSymbolFileData()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.h235 scoped_array<uint8> buffer_;
324 scoped_array<uint8> buffer_;

123