/external/cronet/buildtools/third_party/libc++/trunk/include/__memory/ |
D | auto_ptr.h | 30 class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr 37 _LIBCPP_INLINE_VISIBILITY explicit auto_ptr(_Tp* __p = 0) _NOEXCEPT : __ptr_(__p) {} in __ptr_() 38 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) _NOEXCEPT : __ptr_(__p.release()) {} in auto_ptr() function 39 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr<_Up>& __p) _NOEXCEPT in auto_ptr() function 41 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr& __p) _NOEXCEPT 43 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr<_Up>& __p) _NOEXCEPT 45 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr_ref<_Tp> __p) _NOEXCEPT 47 _LIBCPP_INLINE_VISIBILITY ~auto_ptr() _NOEXCEPT {delete __ptr_;} in ~auto_ptr() 66 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr_ref<_Tp> __p) _NOEXCEPT : __ptr_(__p.__ptr_) {} in auto_ptr() function 69 template<class _Up> _LIBCPP_INLINE_VISIBILITY operator auto_ptr<_Up>() _NOEXCEPT [all …]
|
/external/llvm/test/Transforms/MemCpyOpt/ |
D | loadstore-sret.ll | 7 %"class.std::auto_ptr" = type { i32* } 10 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) ssp { 12 %temp.lvalue = alloca %"class.std::auto_ptr", align 8 13 ; CHECK: call void @_Z3barv(%"class.std::auto_ptr"* sret %agg.result) 14 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue) 15 …%tmp.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue, i6… 18 …%tmp.i.i4 = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %agg.result, i6… 25 declare void @_Z3barv(%"class.std::auto_ptr"* nocapture sret) nounwind
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
D | 2011-09-06-EndOfFunction.ll | 6 %"class.std::auto_ptr" = type { i32* } 9 define void @_Z3foov(%"class.std::auto_ptr"* noalias nocapture sret %agg.result) uwtable ssp { 11 %temp.lvalue = alloca %"class.std::auto_ptr", align 8 12 call void @_Z3barv(%"class.std::auto_ptr"* sret %temp.lvalue) 13 …%_M_ptr.i.i = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %temp.lvalue,… 17 …%_M_ptr.i.i4 = getelementptr inbounds %"class.std::auto_ptr", %"class.std::auto_ptr"* %agg.result,… 23 declare void @_Z3barv(%"class.std::auto_ptr"* sret)
|
/external/OpenCSD/decoder/tests/snapshot_parser_lib/source/ |
D | snapshot_parser.cpp | 346 auto_ptr<Section> NewSection( const string& sectionName, Parsed& result) in NewSection() 352 return auto_ptr<Section>(new GlobalSection(result)); in NewSection() 356 return auto_ptr<Section>(new DumpSection(result)); in NewSection() 360 return auto_ptr<Section>(new ExtendRegsSection(result)); in NewSection() 364 return auto_ptr<Section>(new SymbolicRegsSection(result)); in NewSection() 368 return auto_ptr<Section>(new DeviceSection(result)); in NewSection() 373 return auto_ptr<Section>(new IgnoredSection); in NewSection() 401 auto_ptr<Section> NewDeviceList(const string& sectionName, ParsedDevices& result) in NewDeviceList() 407 return auto_ptr<Section>(new DeviceListSection(result)); in NewDeviceList() 413 return auto_ptr<Section>(new NullSection); in NewDeviceList() [all …]
|
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/ |
D | utils.h | 119 bool YUVSurfaceSetNV12(std::auto_ptr<CSurfaceWrapper> &surface, 122 bool YUVSurfaceSetYV12(std::auto_ptr<CSurfaceWrapper> &surface, 126 std::auto_ptr<CSurfaceWrapper> &surface, 129 bool YUVSurfaceGetNV12(std::auto_ptr<CSurfaceWrapper> &surface, 132 bool YUVSurfaceGetYV12(std::auto_ptr<CSurfaceWrapper> &surface, 136 std::auto_ptr<CSurfaceWrapper> &surface, 181 std::auto_ptr<CSurfaceWrapper> &surface, 186 std::auto_ptr<CSurfaceWrapper> &surface, 198 std::auto_ptr<CDeviceWrapper> &device); 207 std::auto_ptr<CSurfaceWrapper> &surface,
|
/external/clang/test/SemaCXX/ |
D | conversion-function.cpp | 248 struct auto_ptr { struct 251 auto_ptr(auto_ptr&); 252 auto_ptr(auto_ptr_ref); 253 explicit auto_ptr(int *); 259 X(auto_ptr); 263 X x(auto_ptr(new int)); in f() 264 return X(auto_ptr(new int)); in f() 267 auto_ptr foo();
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | auto_pointer.pass.cpp | 53 using AP = std::auto_ptr<int>; in test_sfinae() 59 using AP = std::auto_ptr<A>; in test_sfinae() 68 std::auto_ptr<B> ap(p); in main() 79 std::auto_ptr<B> ap(p); in main() 92 std::auto_ptr<B>&&>::value, in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.ctor/ |
D | auto_pointer.pass.cpp | 53 using AP = std::auto_ptr<int>; in test_sfinae() 59 using AP = std::auto_ptr<A>; in test_sfinae() 68 std::auto_ptr<B> ap(p); in main() 79 std::auto_ptr<B> ap(p); in main() 92 std::auto_ptr<B>&&>::value, in main()
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/ |
D | convert_to_auto_ptr.pass.cpp | 23 std::auto_ptr<B> 26 return std::auto_ptr<B>(new B(1)); in source() 32 std::auto_ptr<A> ap2(source()); in test()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.conv/ |
D | convert_to_auto_ptr.pass.cpp | 24 std::auto_ptr<B> 27 return std::auto_ptr<B>(new B(1)); in source() 33 std::auto_ptr<A> ap2(source()); in test()
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/ |
D | assignment.fail.cpp | 26 const std::auto_ptr<A> ap1(p1); in test() 28 std::auto_ptr<A> ap2(p2); in test() 32 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
D | assignment.pass.cpp | 28 std::auto_ptr<A> ap1(p1); in test() 30 std::auto_ptr<A> ap2(p2); in test() 34 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
D | convert_assignment.pass.cpp | 28 std::auto_ptr<B> ap1(p1); in test() 30 std::auto_ptr<A> ap2(p2); in test() 35 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
D | convert_assignment.fail.cpp | 26 const std::auto_ptr<B> ap1(p1); in test() 28 std::auto_ptr<A> ap2(p2); in test() 33 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.cons/ |
D | assignment.pass.cpp | 29 std::auto_ptr<A> ap1(p1); in test() 31 std::auto_ptr<A> ap2(p2); in test() 35 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
D | assignment.compile.fail.cpp | 25 const std::auto_ptr<A> ap1(p1); in test() 27 std::auto_ptr<A> ap2(p2); in test() 31 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
D | convert_assignment.pass.cpp | 29 std::auto_ptr<B> ap1(p1); in test() 31 std::auto_ptr<A> ap2(p2); in test() 36 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
D | convert_assignment.compile.fail.cpp | 27 const std::auto_ptr<B> ap1(p1); in test() 29 std::auto_ptr<A> ap2(p2); in test() 34 std::auto_ptr<A>& apr = ap2 = ap1; in test()
|
/external/clang/test/Analysis/diagnostics/Inputs/include/ |
D | report-issues-within-main-file.h | 2 class auto_ptr { 6 auto_ptr(_Tp* __p = 0) throw() : _M_ptr(__p) { } in throw() 7 ~auto_ptr() { delete _M_ptr; } in ~auto_ptr()
|
/external/clang/test/CodeGenCXX/ |
D | 2010-07-23-DeclLoc.cpp | 14 template<typename _Tp> class auto_ptr { class 18 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in auto_ptr() function in std::auto_ptr 78 std::auto_ptr< TRawSymbolOwnerData<SIZE> > data(new TRawSymbolOwnerData<SIZE>()); in create_symbol_owner_data_arch_specific() 79 std::auto_ptr< TExtendedMachOHeader<SIZE_AND_ENDIANNESS> > header; in create_symbol_owner_data_arch_specific()
|
/external/libcxx/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/ |
D | reset.pass.cpp | 28 std::auto_ptr<A> ap(p); in test() 36 std::auto_ptr<A> ap(p); in test() 44 std::auto_ptr<A> ap(p); in test()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/depr/depr.auto.ptr/auto.ptr/auto.ptr.members/ |
D | reset.pass.cpp | 29 std::auto_ptr<A> ap(p); in test() 37 std::auto_ptr<A> ap(p); in test() 45 std::auto_ptr<A> ap(p); in test()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
D | auto_ptr_Y.pass.cpp | 50 std::auto_ptr<A> pA(new A); in main() 67 std::auto_ptr<A> pA; in main() 84 std::auto_ptr<A> pA(new A); in main() 101 std::auto_ptr<A> pA; in main()
|
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
D | auto_ptr_Y.pass.cpp | 47 std::auto_ptr<A> pA(new A); in main() 64 std::auto_ptr<A> pA; in main() 81 std::auto_ptr<A> pA(new A); in main() 98 std::auto_ptr<A> pA; in main()
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
D | auto_ptr.pass.cpp | 51 std::auto_ptr<A> ptr(new A); in main() 65 std::auto_ptr<A const> ptr(new A); in main() 79 std::auto_ptr<A> ptr(new A); in main()
|