/ndk/sources/cxx-stl/llvm-libc++/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/ |
convert_to_auto_ptr.pass.cpp | 12 // template <class X> class auto_ptr; 14 // template<class Y> operator auto_ptr<Y>() throw(); 21 std::auto_ptr<B> 24 return std::auto_ptr<B>(new B(1)); 30 std::auto_ptr<A> ap2(source());
|
/external/stlport/test/unit/ |
memory_test.cpp | 28 auto_ptr<int> CreateAutoPtr(int val) 29 { return auto_ptr<int>(new int(val)); } 31 bool CheckEquality(auto_ptr<int> pint, int val) 42 auto_ptr<int> pint(new int(1)); 49 auto_ptr<int> pint(CreateAutoPtr(3)); 55 auto_ptr<const int> pint(new int(2)); 59 auto_ptr<volatile int> pint(new int(2)); 63 auto_ptr<const volatile int> pint(new int(2));
|
/ndk/tests/device/test-gnustl-full/unit/ |
memory_test.cpp | 28 auto_ptr<int> CreateAutoPtr(int val) 29 { return auto_ptr<int>(new int(val)); } 31 bool CheckEquality(auto_ptr<int> pint, int val) 42 auto_ptr<int> pint(new int(1)); 49 auto_ptr<int> pint(CreateAutoPtr(3)); 55 auto_ptr<const int> pint(new int(2)); 59 auto_ptr<volatile int> pint(new int(2)); 63 auto_ptr<const volatile int> pint(new int(2));
|
/ndk/tests/device/test-stlport/unit/ |
memory_test.cpp | 28 auto_ptr<int> CreateAutoPtr(int val) 29 { return auto_ptr<int>(new int(val)); } 31 bool CheckEquality(auto_ptr<int> pint, int val) 42 auto_ptr<int> pint(new int(1)); 49 auto_ptr<int> pint(CreateAutoPtr(3)); 55 auto_ptr<const int> pint(new int(2)); 59 auto_ptr<volatile int> pint(new int(2)); 63 auto_ptr<const volatile int> pint(new int(2));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 39 * A wrapper class to provide auto_ptr with reference semantics. 40 * For example, an auto_ptr can be assigned (or constructed from) 41 * the result of a function which returns an auto_ptr by value. 60 * An @c auto_ptr owns the object it holds a pointer to. Copying 61 * an @c auto_ptr copies the pointer and transfers ownership to the 62 * destination. If more than one @c auto_ptr owns the same object 65 * The uses of @c auto_ptr include providing temporary 69 * auto_ptr does not meet the CopyConstructible and Assignabl 85 class auto_ptr class 101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 284 class auto_ptr<void> class [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 41 * A wrapper class to provide auto_ptr with reference semantics. 42 * For example, an auto_ptr can be assigned (or constructed from) 43 * the result of a function which returns an auto_ptr by value. 62 * An @c auto_ptr owns the object it holds a pointer to. Copying 63 * an @c auto_ptr copies the pointer and transfers ownership to the 64 * destination. If more than one @c auto_ptr owns the same object 67 * The uses of @c auto_ptr include providing temporary 71 * auto_ptr does not meet the CopyConstructible and Assignabl 87 class auto_ptr class 103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 286 class auto_ptr<void> class [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 41 * A wrapper class to provide auto_ptr with reference semantics. 42 * For example, an auto_ptr can be assigned (or constructed from) 43 * the result of a function which returns an auto_ptr by value. 62 * An @c auto_ptr owns the object it holds a pointer to. Copying 63 * an @c auto_ptr copies the pointer and transfers ownership to the 64 * destination. If more than one @c auto_ptr owns the same object 67 * The uses of @c auto_ptr include providing temporary 71 * auto_ptr does not meet the CopyConstructible and Assignabl 87 class auto_ptr class 103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 286 class auto_ptr<void> class [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 39 * A wrapper class to provide auto_ptr with reference semantics. 40 * For example, an auto_ptr can be assigned (or constructed from) 41 * the result of a function which returns an auto_ptr by value. 60 * An @c auto_ptr owns the object it holds a pointer to. Copying 61 * an @c auto_ptr copies the pointer and transfers ownership to the 62 * destination. If more than one @c auto_ptr owns the same object 65 * The uses of @c auto_ptr include providing temporary 69 * auto_ptr does not meet the CopyConstructible and Assignabl 85 class auto_ptr class 101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 284 class auto_ptr<void> class [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 39 * A wrapper class to provide auto_ptr with reference semantics. 40 * For example, an auto_ptr can be assigned (or constructed from) 41 * the result of a function which returns an auto_ptr by value. 60 * An @c auto_ptr owns the object it holds a pointer to. Copying 61 * an @c auto_ptr copies the pointer and transfers ownership to the 62 * destination. If more than one @c auto_ptr owns the same object 65 * The uses of @c auto_ptr include providing temporary 69 * auto_ptr does not meet the CopyConstructible and Assignabl 85 class auto_ptr class 101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 284 class auto_ptr<void> class [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 39 * A wrapper class to provide auto_ptr with reference semantics. 40 * For example, an auto_ptr can be assigned (or constructed from) 41 * the result of a function which returns an auto_ptr by value. 60 * An @c auto_ptr owns the object it holds a pointer to. Copying 61 * an @c auto_ptr copies the pointer and transfers ownership to the 62 * destination. If more than one @c auto_ptr owns the same object 65 * The uses of @c auto_ptr include providing temporary 69 * auto_ptr does not meet the CopyConstructible and Assignabl 85 class auto_ptr class 101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 284 class auto_ptr<void> class [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 39 * A wrapper class to provide auto_ptr with reference semantics. 40 * For example, an auto_ptr can be assigned (or constructed from) 41 * the result of a function which returns an auto_ptr by value. 60 * An @c auto_ptr owns the object it holds a pointer to. Copying 61 * an @c auto_ptr copies the pointer and transfers ownership to the 62 * destination. If more than one @c auto_ptr owns the same object 65 * The uses of @c auto_ptr include providing temporary 69 * auto_ptr does not meet the CopyConstructible and Assignabl 85 class auto_ptr class 101 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 110 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 123 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 258 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 284 class auto_ptr<void> class [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/backward/ |
auto_ptr.h | 0 // auto_ptr implementation -*- C++ -*- 25 /** @file backward/auto_ptr.h 41 * A wrapper class to provide auto_ptr with reference semantics. 42 * For example, an auto_ptr can be assigned (or constructed from) 43 * the result of a function which returns an auto_ptr by value. 62 * An @c auto_ptr owns the object it holds a pointer to. Copying 63 * an @c auto_ptr copies the pointer and transfers ownership to the 64 * destination. If more than one @c auto_ptr owns the same object 67 * The uses of @c auto_ptr include providing temporary 71 * auto_ptr does not meet the CopyConstructible and Assignabl 87 class auto_ptr class 103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } function in class:auto_ptr 260 auto_ptr(auto_ptr_ref<element_type> __ref) throw() function in class:auto_ptr 286 class auto_ptr<void> class [all...] |