Searched refs:allocate_shared (Results 1 – 7 of 7) sorted by relevance
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | allocate_shared_cxx03.pass.cpp | 74 std::shared_ptr<Zero> p = std::allocate_shared<Zero>(Alloc()); in test() 80 std::shared_ptr<One> p = std::allocate_shared<One>(Alloc(), i); in test() 87 std::shared_ptr<Two> p = std::allocate_shared<Two>(Alloc(), i, bad); in test() 94 std::shared_ptr<Three> p = std::allocate_shared<Three>(Alloc(), i, bad, bad); in test() 106 std::shared_ptr<Two> p = std::allocate_shared<Two>(test_allocator<Two>(54), i, bad); in main()
|
D | allocate_shared.pass.cpp | 60 std::shared_ptr<A> p = std::allocate_shared<A>(test_allocator<A>(54), i, c); in main() 71 std::shared_ptr<A> p = std::allocate_shared<A>(min_allocator<void>(), i, c); in main() 80 std::shared_ptr<A> p = std::allocate_shared<A>(bare_allocator<void>(), i, c); in main()
|
/external/clang/test/PCH/ |
D | cxx-variadic-templates.h | 8 allocate_shared(const _Alloc& __a, _Args&& ...__args); 14 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args) in allocate_shared() function
|
D | cxx-variadic-templates.cpp | 13 shared_ptr<int> spi = shared_ptr<int>::allocate_shared(1, 2);
|
/external/libcxx/include/ |
D | memory | 507 shared_ptr<T> allocate_shared(const A& a, Args&&... args); 3973 allocate_shared(const _Alloc& __a, _Args&& ...__args); 3990 allocate_shared(const _Alloc& __a); 3994 allocate_shared(const _Alloc& __a, _A0& __a0); 3998 allocate_shared(const _Alloc& __a, _A0& __a0, _A1& __a1); 4002 allocate_shared(const _Alloc& __a, _A0& __a0, _A1& __a1, _A2& __a2); 4342 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args) 4344 …atic_assert( is_constructible<_Tp, _Args...>::value, "Can't construct object in allocate_shared" ); 4439 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a) 4441 static_assert((is_constructible<_Tp>::value), "Can't construct object in allocate_shared" ); [all …]
|
/external/perfetto/src/profiling/memory/ |
D | client.cc | 211 return std::allocate_shared<Client>(unhooked_allocator, std::move(sock), in CreateAndHandshake()
|
/external/eigen/doc/ |
D | UnalignedArrayAssert.dox | 63 …is for instance typically the case of \c std::make_shared or \c std::allocate_shared for which is …
|