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

  /external/chromium_org/tools/clang/rewrite_scoped_array/tests/
test-expected.cc 5 template <class T> class scoped_array { class
16 scoped_ptr<scoped_array<int>(scoped_array<int> test, scoped_array<int>)[]> y;
test-original.cc 5 template <class T> class scoped_array { class
12 scoped_array<int> test_field_;
15 scoped_array<int> TestFunction(scoped_array<int> x, scoped_array<int>) {
16 scoped_array<scoped_array<int>(scoped_array<int> test, scoped_array<int>)> y;
17 scoped_array<int>(*function_pointer)(scoped_array<int> test
    [all...]
  /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/chromium/base/memory/
scoped_ptr.h 29 // Example usage (scoped_array):
31 // scoped_array<Foo> foo(new Foo[100]);
42 // scoped_array, scoped_ptr_malloc.
155 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
158 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
159 // or is NULL. A scoped_array<C> owns the object that it points to.
160 // scoped_array<T> is thread-compatible, and once you index into it,
163 // Size: sizeof(scoped_array<C>) == sizeof(C*)
165 class scoped_array { class
172 // There is no way to create an uninitialized scoped_array
174 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:scoped_array
    [all...]
  /external/chromium/googleurl/base/
scoped_ptr.h 132 // scoped_array extends scoped_ptr to arrays. Deletion of the array pointed to
133 // is guaranteed, either on destruction of the scoped_array or via an explicit
137 class scoped_array { class
142 scoped_array(scoped_array const &);
143 scoped_array & operator=(scoped_array const &);
149 explicit scoped_array(T* p = 0) : ptr(p) {} function in class:scoped_array
151 ~scoped_array() {
183 void swap(scoped_array & b)
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
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:talk_base
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:talk_base::scoped_array
136 ~scoped_array() {
147 // Delete last, in case arr destructor indirectly results in ~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/libjingle/source/talk/base/
scoped_ptr.h 124 // scoped_array extends scoped_ptr to arrays. Deletion of the array pointed to
125 // is guaranteed, either on destruction of the scoped_array or via an explicit
129 class scoped_array { class in namespace:talk_base
134 scoped_array(scoped_array const &);
135 scoped_array & operator=(scoped_array const &);
141 explicit scoped_array(T* p = NULL) : ptr(p) {} function in class:talk_base::scoped_array
143 ~scoped_array() {
154 // Delete last, in case arr destructor indirectly results in ~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:__anon16270
60 scoped_array(T* data) : data_(data) { } function in class:__anon16270::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:__anon16271
98 scoped_array(T* p) : p_(p) { } function in class:__anon16271::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:__anon16313
60 scoped_array(T* data) : data_(data) { } function in class:__anon16313::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:__anon16314
98 scoped_array(T* p) : p_(p) { } function in class:__anon16314::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 449 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr.
452 template <class C> class scoped_array;
541 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate
544 // As with scoped_ptr<C>, a scoped_array<C> either points to an object
545 // or is NULL. A scoped_array<C> owns the object that it points to.
547 // Size: sizeof(scoped_array<C>) == sizeof(C*)
549 class scoped_array { class in namespace:google::protobuf::internal
556 // There is no way to create an uninitialized scoped_array.
558 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:google::protobuf::internal::scoped_array
562 ~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 464 template <class C> struct scoped_array { struct in namespace:PR12061
465 scoped_array(C* p = __null);
468 Foo() : a_(new scoped_array<int>[5]) { }
469 scoped_array< scoped_array<int> > a_;

Completed in 726 milliseconds