Searched refs:allocate_shared (Results 1 – 5 of 5) sorted by relevance
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/ |
D | allocate_shared_no_variadics.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 | 50 std::shared_ptr<A> p = std::allocate_shared<A>(test_allocator<A>(54), i, c); in main() 62 std::shared_ptr<A> p = std::allocate_shared<A>(min_allocator<void>(), i, c); in main() 71 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 | 469 shared_ptr<T> allocate_shared(const A& a, Args&&... args); 3964 allocate_shared(const _Alloc& __a, _Args&& ...__args); 3981 allocate_shared(const _Alloc& __a); 3985 allocate_shared(const _Alloc& __a, _A0& __a0); 3989 allocate_shared(const _Alloc& __a, _A0& __a0, _A1& __a1); 3993 allocate_shared(const _Alloc& __a, _A0& __a0, _A1& __a1, _A2& __a2); 4292 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args) 4384 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a) 4403 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _A0& __a0) 4422 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _A0& __a0, _A1& __a1) [all …]
|