HomeSort by relevance Sort by last modified time
    Searched refs:auto_ptr (Results 1 - 25 of 70) sorted by null

1 2 3

  /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/android-ndk-r5/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/android-ndk-r6/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/android-ndk-r7/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...]
  /external/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...]
  /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/android-ndk-r5/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/android-ndk-r6/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/android-ndk-r7/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...]
  /external/clang/test/SemaCXX/
conversion-function.cpp 220 // auto_ptr-like template. In particular, we can't create multiple
222 struct auto_ptr { struct in namespace:PR7055
225 auto_ptr(auto_ptr&);
226 auto_ptr(auto_ptr_ref);
227 explicit auto_ptr(int *);
233 X(auto_ptr);
237 X x(auto_ptr(new int));
238 return X(auto_ptr(new int));
241 auto_ptr foo()
    [all...]
  /external/llvm/tools/llvm-link/
llvm-link.cpp 55 static inline std::auto_ptr<Module> LoadFile(const char *argv0,
61 return std::auto_ptr<Module>();
70 if (Result) return std::auto_ptr<Module>(Result); // Load successful!
73 return std::auto_ptr<Module>();
88 std::auto_ptr<Module> Composite(LoadFile(argv[0],
97 std::auto_ptr<Module> M(LoadFile(argv[0],
  /external/stlport/src/
iostream.cpp 169 auto_ptr<filebuf> result(new basic_filebuf<char, char_traits<char> >());
181 auto_ptr<wfilebuf> result(new basic_filebuf<wchar_t, char_traits<wchar_t> >());
197 auto_ptr<streambuf> cin_buf;
198 auto_ptr<streambuf> cout_buf;
199 auto_ptr<streambuf> cerr_buf;
200 auto_ptr<streambuf> clog_buf;
232 auto_ptr<wfilebuf> win(_Stl_create_wfilebuf(stdin, ios_base::in));
233 auto_ptr<wfilebuf> wout(_Stl_create_wfilebuf(stdout, ios_base::out));
234 auto_ptr<wfilebuf> werr(_Stl_create_wfilebuf(stderr, ios_base::out));
235 auto_ptr<wfilebuf> wlog(_Stl_create_wfilebuf(stderr, ios_base::out))
    [all...]
  /ndk/sources/cxx-stl/stlport/src/
iostream.cpp 169 auto_ptr<filebuf> result(new basic_filebuf<char, char_traits<char> >());
181 auto_ptr<wfilebuf> result(new basic_filebuf<wchar_t, char_traits<wchar_t> >());
197 auto_ptr<streambuf> cin_buf;
198 auto_ptr<streambuf> cout_buf;
199 auto_ptr<streambuf> cerr_buf;
200 auto_ptr<streambuf> clog_buf;
232 auto_ptr<wfilebuf> win(_Stl_create_wfilebuf(stdin, ios_base::in));
233 auto_ptr<wfilebuf> wout(_Stl_create_wfilebuf(stdout, ios_base::out));
234 auto_ptr<wfilebuf> werr(_Stl_create_wfilebuf(stderr, ios_base::out));
235 auto_ptr<wfilebuf> wlog(_Stl_create_wfilebuf(stderr, ios_base::out))
    [all...]
  /external/clang/test/CodeGenCXX/
2010-07-23-DeclLoc.cpp 13 template<typename _Tp> class auto_ptr { class in namespace:std
17 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } function in class:std::auto_ptr
77 std::auto_ptr< TRawSymbolOwnerData<SIZE> > data(new TRawSymbolOwnerData<SIZE>());
78 std::auto_ptr< TExtendedMachOHeader<SIZE_AND_ENDIANNESS> > header;
  /external/llvm/include/llvm/CodeGen/
RegAllocPBQP.h 126 virtual std::auto_ptr<PBQPRAProblem> build(
147 virtual std::auto_ptr<PBQPRAProblem> build(
164 FunctionPass* createPBQPRegisterAllocator(std::auto_ptr<PBQPBuilder> builder,
  /external/webkit/Source/WebKit/mac/Plugins/Hosted/
ProxyInstance.h 87 std::auto_ptr<T> waitForReply(uint32_t requestID) const {
88 std::auto_ptr<T> reply = m_instanceProxy->waitForReply<T>(requestID);
92 return std::auto_ptr<T>();
ProxyInstance.mm 166 auto_ptr<NetscapePluginInstanceProxy::BooleanAndDataReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanAndDataReply>(requestID);
232 auto_ptr<NetscapePluginInstanceProxy::BooleanReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanReply>(requestID);
256 auto_ptr<NetscapePluginInstanceProxy::BooleanReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanReply>(requestID);
310 auto_ptr<NetscapePluginInstanceProxy::BooleanAndDataReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanAndDataReply>(requestID);
355 auto_ptr<NetscapePluginInstanceProxy::BooleanReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanReply>(requestID);
391 auto_ptr<NetscapePluginInstanceProxy::BooleanReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanReply>(requestID);
418 auto_ptr<NetscapePluginInstanceProxy::BooleanAndDataReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanAndDataReply>(requestID);
448 auto_ptr<NetscapePluginInstanceProxy::BooleanReply> reply = waitForReply<NetscapePluginInstanceProxy::BooleanReply>(requestID);
  /external/chromium/sdch/open-vcdiff/src/
decodetable.h 22 #include <memory> // auto_ptr
137 std::auto_ptr<VCDiffCodeTableData> non_default_code_table_data_;
  /external/llvm/lib/Linker/
Linker.cpp 94 // module it contains (wrapped in an auto_ptr), or auto_ptr<Module>() and set
96 std::auto_ptr<Module>
109 return std::auto_ptr<Module>(Result);
113 return std::auto_ptr<Module>();
LinkItems.cpp 163 std::auto_ptr<Module> M;
199 std::auto_ptr<Module> M(LoadObject(File));

Completed in 6067 milliseconds

1 2 3