/external/libcxx/test/std/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());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/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());
|
/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));
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/ |
copy.fail.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr(auto_ptr& a) throw(); 26 const std::auto_ptr<A> ap1(p); 27 std::auto_ptr<A> ap2(ap1);
|
copy.pass.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr(auto_ptr& a) throw(); 26 std::auto_ptr<A> ap1(p); 27 std::auto_ptr<A> ap2(ap1);
|
explicit.fail.cpp | 12 // template <class X> class auto_ptr; 14 // explicit auto_ptr(X* p =0) throw(); 26 std::auto_ptr<A> ap = p; 32 std::auto_ptr<A> ap;
|
pointer.pass.cpp | 12 // template <class X> class auto_ptr; 14 // explicit auto_ptr(X* p =0) throw(); 26 std::auto_ptr<A> ap(p); 32 std::auto_ptr<A> ap;
|
assignment.fail.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr& operator=(auto_ptr& a) throw(); 26 const std::auto_ptr<A> ap1(p1); 28 std::auto_ptr<A> ap2(p2); 32 std::auto_ptr<A>& apr = ap2 = ap1;
|
assignment.pass.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr& operator=(auto_ptr& a) throw(); 26 std::auto_ptr<A> ap1(p1); 28 std::auto_ptr<A> ap2(p2); 32 std::auto_ptr<A>& apr = ap2 = ap1;
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/ |
element_type.pass.cpp | 13 // class auto_ptr 27 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), ""); 28 std::auto_ptr<T> p;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/ |
copy.fail.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr(auto_ptr& a) throw(); 26 const std::auto_ptr<A> ap1(p); 27 std::auto_ptr<A> ap2(ap1);
|
copy.pass.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr(auto_ptr& a) throw(); 26 std::auto_ptr<A> ap1(p); 27 std::auto_ptr<A> ap2(ap1);
|
explicit.fail.cpp | 12 // template <class X> class auto_ptr; 14 // explicit auto_ptr(X* p =0) throw(); 26 std::auto_ptr<A> ap = p; 32 std::auto_ptr<A> ap;
|
pointer.pass.cpp | 12 // template <class X> class auto_ptr; 14 // explicit auto_ptr(X* p =0) throw(); 26 std::auto_ptr<A> ap(p); 32 std::auto_ptr<A> ap;
|
assignment.fail.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr& operator=(auto_ptr& a) throw(); 26 const std::auto_ptr<A> ap1(p1); 28 std::auto_ptr<A> ap2(p2); 32 std::auto_ptr<A>& apr = ap2 = ap1;
|
assignment.pass.cpp | 12 // template <class X> class auto_ptr; 14 // auto_ptr& operator=(auto_ptr& a) throw(); 26 std::auto_ptr<A> ap1(p1); 28 std::auto_ptr<A> ap2(p2); 32 std::auto_ptr<A>& apr = ap2 = ap1;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/depr/depr.auto.ptr/auto.ptr/ |
element_type.pass.cpp | 13 // class auto_ptr 27 static_assert((std::is_same<typename std::auto_ptr<T>::element_type, T>::value), ""); 35 std::auto_ptr<void> p;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/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.15-4.8/x86_64-linux/include/c++/4.8/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-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/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/current/sources/cxx-stl/gnu-libstdc++/4.9/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...] |
/external/clang/test/Analysis/diagnostics/Inputs/include/ |
report-issues-within-main-file.h | 2 class auto_ptr { class 6 auto_ptr(_Tp* __p = 0) throw() : _M_ptr(__p) { } function in class:auto_ptr 7 ~auto_ptr() { delete _M_ptr; }
|
/ndk/sources/cxx-stl/stlport/stlport/stl/ |
_auto_ptr.h | 48 class auto_ptr : public __ptr_base { class in inherits:__ptr_base 51 typedef auto_ptr<_Tp> _Self; 84 explicit auto_ptr(_Tp* __px = 0) _STLP_NOTHROW { this->__set(__px); } 88 template<class _Tp1> auto_ptr(auto_ptr<_Tp1>& __r) _STLP_NOTHROW { 93 template<class _Tp1> auto_ptr<_Tp>& operator=(auto_ptr<_Tp1>& __r) _STLP_NOTHROW { 100 auto_ptr(_Self& __r) _STLP_NOTHROW { this->__set(__r.release()); } 107 ~auto_ptr() _STLP_NOTHROW { /* boris : reset(0) might be better */ delete this->get(); } 109 auto_ptr(auto_ptr_ref<_Tp> __r) _STLP_NOTHRO [all...] |
/prebuilts/ndk/current/sources/cxx-stl/stlport/stlport/stl/ |
_auto_ptr.h | 48 class auto_ptr : public __ptr_base { class in inherits:__ptr_base 51 typedef auto_ptr<_Tp> _Self; 84 explicit auto_ptr(_Tp* __px = 0) _STLP_NOTHROW { this->__set(__px); } 88 template<class _Tp1> auto_ptr(auto_ptr<_Tp1>& __r) _STLP_NOTHROW { 93 template<class _Tp1> auto_ptr<_Tp>& operator=(auto_ptr<_Tp1>& __r) _STLP_NOTHROW { 100 auto_ptr(_Self& __r) _STLP_NOTHROW { this->__set(__r.release()); } 107 ~auto_ptr() _STLP_NOTHROW { /* boris : reset(0) might be better */ delete this->get(); } 109 auto_ptr(auto_ptr_ref<_Tp> __r) _STLP_NOTHRO [all...] |