/external/stlport/test/unit/ |
H A D | 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/stlport/stlport/stl/ |
H A D | _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_re [all...] |
/external/clang/test/SemaCXX/ |
H A D | 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 fo [all...] |
/external/llvm/tools/llvm-link/ |
H A D | 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/collada/include/dae/ |
H A D | daeErrorHandler.h | 58 static std::auto_ptr<daeErrorHandler> _defaultInstance;
|
/external/collada/src/dae/ |
H A D | daeErrorHandler.cpp | 13 std::auto_ptr<daeErrorHandler> daeErrorHandler::_defaultInstance(new stdErrPlugin);
|
/external/stlport/src/ |
H A D | 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<wfilebu [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | 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/ |
H A D | 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/ |
H A D | 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>();
|
H A D | 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);
|
H A D | NetscapePluginInstanceProxy.h | 254 std::auto_ptr<T> waitForReply(uint32_t requestID) 272 return std::auto_ptr<T>(); 275 return std::auto_ptr<T>(static_cast<T*>(reply));
|
/external/llvm/lib/Linker/ |
H A D | Linker.cpp | 95 // module it contains (wrapped in an auto_ptr), or auto_ptr<Module>() and set 97 std::auto_ptr<Module> 110 return std::auto_ptr<Module>(Result); 114 return std::auto_ptr<Module>();
|
H A D | LinkItems.cpp | 163 std::auto_ptr<Module> M; 199 std::auto_ptr<Module> M(LoadObject(File));
|
H A D | LinkArchives.cpp | 115 std::auto_ptr<Archive> AutoArch (
|
/external/chromium/sdch/open-vcdiff/src/ |
H A D | decodetable.h | 22 #include <memory> // auto_ptr 137 std::auto_ptr<VCDiffCodeTableData> non_default_code_table_data_;
|
/external/llvm/tools/llvm-as/ |
H A D | llvm-as.cpp | 97 std::auto_ptr<Module> M(ParseAssemblyFile(InputFilename, Err, Context));
|
/external/llvm/tools/llvm-ld/ |
H A D | Optimize.cpp | 103 std::auto_ptr<TargetMachine> target;
|
/external/llvm/tools/llvm-ranlib/ |
H A D | llvm-ranlib.cpp | 78 std::auto_ptr<Archive>
|
/external/llvm/lib/CodeGen/ |
H A D | RegAllocPBQP.cpp | 87 RegAllocPBQP(std::auto_ptr<PBQPBuilder> b, char *cPassID=0) 123 std::auto_ptr<PBQPBuilder> builder; 192 std::auto_ptr<PBQPRAProblem> PBQPBuilder::build(MachineFunction *mf, 202 std::auto_ptr<PBQPRAProblem> p(new PBQPRAProblem()); 337 std::auto_ptr<PBQPRAProblem> PBQPBuilderWithCoalescing::build( 343 std::auto_ptr<PBQPRAProblem> p = PBQPBuilder::build(mf, lis, loopInfo, vregs); 678 std::auto_ptr<PBQPRAProblem> problem = 701 std::auto_ptr<VirtRegRewriter> rewriter(createVirtRegRewriter()); 709 std::auto_ptr<PBQPBuilder> builder, 717 std::auto_ptr<PBQPBuilde [all...] |
/external/llvm/include/llvm/ |
H A D | Linker.h | 282 /// Module it contains (wrapped in an auto_ptr), or 0 if an error occurs. 283 std::auto_ptr<Module> LoadObject(const sys::Path& FN);
|
/external/llvm/tools/bugpoint/ |
H A D | BugDriver.cpp | 125 std::auto_ptr<Module> M(ParseInputFile(Filenames[i], Context));
|
/external/llvm/tools/llvm-dis/ |
H A D | llvm-dis.cpp | 127 std::auto_ptr<Module> M;
|
/external/llvm/tools/llc/ |
H A D | llc.cpp | 249 std::auto_ptr<Module> M; 309 std::auto_ptr<TargetMachine>
|
/external/llvm/lib/Archive/ |
H A D | ArchiveReader.cpp | 333 std::auto_ptr<Archive> result ( new Archive(file, C)); 448 std::auto_ptr<Archive> result ( new Archive(file, C) );
|