/external/protobuf/src/google/protobuf/stubs/ |
scoped_ptr.h | 46 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr. 49 template <class C> class scoped_array; 138 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate 141 // As with scoped_ptr<C>, a scoped_array<C> either points to an object 142 // or is NULL. A scoped_array<C> owns the object that it points to. 144 // Size: sizeof(scoped_array<C>) == sizeof(C*) 146 class scoped_array { class in namespace:google::protobuf::internal 153 // There is no way to create an uninitialized scoped_array. 155 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:google::protobuf::internal::scoped_array 159 ~scoped_array() { [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
scoped_ptr.h | 46 // scoped_array, scoped_ptr_malloc, and make_scoped_ptr. 49 template <class C> class scoped_array; 138 // scoped_array<C> is like scoped_ptr<C>, except that the caller must allocate 141 // As with scoped_ptr<C>, a scoped_array<C> either points to an object 142 // or is NULL. A scoped_array<C> owns the object that it points to. 144 // Size: sizeof(scoped_array<C>) == sizeof(C*) 146 class scoped_array { class in namespace:google::protobuf::internal 153 // There is no way to create an uninitialized scoped_array. 155 explicit scoped_array(C* p = NULL) : array_(p) { } function in class:google::protobuf::internal::scoped_array 159 ~scoped_array() { [all...] |
/external/google-breakpad/src/common/ |
scoped_ptr.h | 53 // 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/eigen/Eigen/src/Core/util/ |
Memory.h | 583 template<typename T> class scoped_array : noncopyable class in namespace:Eigen::internal 587 explicit scoped_array(std::ptrdiff_t size) function in class:Eigen::internal::scoped_array 591 ~scoped_array() 602 template<typename T> void swap(scoped_array<T> &a,scoped_array<T> &b) [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/stubs/ |
common.h | 433 // 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...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/stubs/ |
common.h | 433 // 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...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/stubs/ |
common.h | 433 // 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...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/stubs/ |
common.h | 433 // 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/ |
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_;
|