Searched defs:scoped_array (Results 1 - 5 of 5) sorted by relevance

/external/ceres-solver/include/ceres/internal/
H A Dscoped_ptr.h33 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
48 template <class C> class scoped_array;
184 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
187 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
188 // or is NULL. A scoped_array<C> owns the object that it points to.
189 // scoped_array<T> is thread-compatible, and once you index into it,
192 // Size: sizeof(scoped_array<C>) == sizeof(C*)
194 class scoped_array { class in namespace:ceres::internal
200 // There is no way to create an uninitialized scoped_array.
202 explicit scoped_array( function in class:ceres::internal::scoped_array
[all...]
/external/google-breakpad/src/common/
H A Dscoped_ptr.h53 // Example usage (scoped_array):
55 // scoped_array<Foo> foo(new Foo[100]);
65 // scoped_array, scoped_ptr_malloc.
178 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
181 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
182 // or is NULL. A scoped_array<C> owns the object that it points to.
183 // scoped_array<T> is thread-compatible, and once you index into it,
186 // Size: sizeof(scoped_array<C>) == sizeof(C*)
188 class scoped_array { class in namespace:google_breakpad
195 // There is no way to create an uninitialized scoped_array
197 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:google_breakpad::scoped_array
[all...]
/external/skia/src/images/
H A Dbmpdecoderhelper.h24 template <typename T> class scoped_array { class
27 scoped_array(scoped_array const&);
28 scoped_array& operator=(const scoped_array&);
31 explicit scoped_array(T* p = 0) : ptr_(p) {} function in class:scoped_array
32 ~scoped_array() {
100 scoped_array<uint8> colTab_;
/external/protobuf/src/google/protobuf/stubs/
H A Dcommon.h433 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
436 template <class C> class scoped_array;
525 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
528 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
529 // or is NULL. A scoped_array<C> owns the object that it points to.
531 // Size: sizeof(scoped_array<C>) == sizeof(C*)
533 class scoped_array { class in namespace:google::protobuf::internal
540 // There is no way to create an uninitialized scoped_array.
542 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:google::protobuf::internal::scoped_array
546 ~scoped_array() {
[all...]
/external/clang/test/SemaCXX/
H A Dnew-delete.cpp471 template <class C> struct scoped_array { struct in namespace:PR12061
472 scoped_array(C* p = __null);
475 Foo() : a_(new scoped_array<int>[5]) { }
476 scoped_array< scoped_array<int> > a_;

Completed in 473 milliseconds