HomeSort by relevance Sort by last modified time
    Searched defs:scoped_array (Results 1 - 14 of 14) sorted by null

  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/
scoped_array.hpp 11 // http://www.boost.org/libs/smart_ptr/scoped_array.htm
34 // scoped_array extends scoped_ptr to arrays. Deletion of the array pointed to
35 // is guaranteed, either on destruction of the scoped_array or via an explicit
38 template<class T> class scoped_array // noncopyable class in namespace:boost
44 scoped_array(scoped_array const &);
45 scoped_array & operator=(scoped_array const &);
47 typedef scoped_array<T> this_type;
49 void operator==( scoped_array const& ) const
56 explicit scoped_array( T * p = 0 ) : px( p ) \/\/ never throws function in class:boost::scoped_array
    [all...]
  /external/oprofile/libutil++/
utility.h 57 template<typename T> class scoped_array { class
59 explicit scoped_array(T * p = 0) : p_(p) {} function in class:scoped_array
60 ~scoped_array() { delete [] p_; }
72 void swap(scoped_array & sp) {
79 scoped_array & operator=(scoped_array const &);
80 scoped_array(scoped_array const &);
  /external/ceres-solver/include/ceres/internal/
scoped_ptr.h 33 // 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(C* p = NULL) : array_(p) { function in class:ceres::internal::scoped_array
    [all...]
  /external/webrtc/src/system_wrappers/interface/
scoped_ptr.h 117 // scoped_array extends scoped_ptr to arrays. Deletion of the array pointed to
118 // is guaranteed, either on destruction of the scoped_array or via an explicit
122 class scoped_array { class in namespace:webrtc
127 scoped_array(scoped_array const &);
128 scoped_array & operator=(scoped_array const &);
134 explicit scoped_array(T* p = NULL) : ptr(p) {} function in class:webrtc::scoped_array
136 ~scoped_array() {
147 // Delete last, in case arr destructor indirectly results in ~scoped_array
    [all...]
  /external/chromium_org/third_party/cld/base/
scoped_ptr.h 10 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
30 template <class C> class scoped_array;
168 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
171 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
172 // or is NULL. A scoped_array<C> owns the object that it points to.
173 // scoped_array<T> is thread-compatible, and once you index into it,
176 // Size: sizeof(scoped_array<C>) == sizeof(C*)
178 class scoped_array { class
185 // There is no way to create an uninitialized scoped_array.
187 explicit scoped_array(C* p = NULL) : array_(p) { function in class:scoped_array
    [all...]
  /external/chromium_org/third_party/skia/src/images/
bmpdecoderhelper.h 24 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/skia/src/images/
bmpdecoderhelper.h 24 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/chromium_org/third_party/tcmalloc/chromium/src/tests/
profiledata_unittest.cc 58 template<typename T> class scoped_array { class in namespace:__anon20192
60 scoped_array(T* data) : data_(data) { } function in class:__anon20192::scoped_array
61 ~scoped_array() { delete[] data_; }
169 scoped_array<ProfileDataSlot> filedata(new ProfileDataSlot[num_slots]);
199 scoped_array<char> filedata(new char[filesize]);
sampler_test.cc 96 template<typename T> class scoped_array { class in namespace:__anon20193
98 scoped_array(T* p) : p_(p) { } function in class:__anon20193::scoped_array
99 ~scoped_array() { delete[] p_; }
198 scoped_array<double> random_sample(new double[n]);
233 scoped_array<uint64_t> int_random_sample(new uint64_t[n]);
241 scoped_array<double> random_sample(new double[n]);
269 scoped_array<uint64_t> int_random_sample(new uint64_t[n]);
282 scoped_array<double> random_sample(new double[n]);
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
profiledata_unittest.cc 58 template<typename T> class scoped_array { class in namespace:__anon20235
60 scoped_array(T* data) : data_(data) { } function in class:__anon20235::scoped_array
61 ~scoped_array() { delete[] data_; }
169 scoped_array<ProfileDataSlot> filedata(new ProfileDataSlot[num_slots]);
199 scoped_array<char> filedata(new char[filesize]);
sampler_test.cc 96 template<typename T> class scoped_array { class in namespace:__anon20236
98 scoped_array(T* p) : p_(p) { } function in class:__anon20236::scoped_array
99 ~scoped_array() { delete[] p_; }
198 scoped_array<double> random_sample(new double[n]);
233 scoped_array<uint64_t> int_random_sample(new uint64_t[n]);
241 scoped_array<double> random_sample(new double[n]);
269 scoped_array<uint64_t> int_random_sample(new uint64_t[n]);
282 scoped_array<double> random_sample(new double[n]);
  /external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
common.h 448 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
451 template <class C> class scoped_array;
540 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
543 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
544 // or is NULL. A scoped_array<C> owns the object that it points to.
546 // Size: sizeof(scoped_array<C>) == sizeof(C*)
548 class scoped_array { class in namespace:google::protobuf::internal
555 // There is no way to create an uninitialized scoped_array.
557 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:google::protobuf::internal::scoped_array
561 ~scoped_array() {
    [all...]
  /external/protobuf/src/google/protobuf/stubs/
common.h 402 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
405 template <class C> class scoped_array;
494 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
497 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
498 // or is NULL. A scoped_array<C> owns the object that it points to.
500 // Size: sizeof(scoped_array<C>) == sizeof(C*)
502 class scoped_array { class in namespace:google::protobuf::internal
509 // There is no way to create an uninitialized scoped_array.
511 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:google::protobuf::internal::scoped_array
515 ~scoped_array() {
    [all...]
  /external/clang/test/SemaCXX/
new-delete.cpp 471 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 1454 milliseconds