/external/clang/test/PCH/ |
cxx-variadic-templates.cpp | 13 shared_ptr<int> spi = shared_ptr<int>::allocate_shared(1, 2);
|
cxx-variadic-templates.h | 3 class shared_ptr{ class 7 shared_ptr<_Tp> 13 shared_ptr<_Tp> 14 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args) 16 shared_ptr<_Tp> __r;
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
op_bool.pass.cpp | 12 // shared_ptr 22 const std::shared_ptr<int> p(new int(32)); 26 const std::shared_ptr<int> p;
|
unique.pass.cpp | 12 // shared_ptr 21 const std::shared_ptr<int> p(new int(32)); 24 std::shared_ptr<int> p2 = p;
|
owner_before_shared_ptr.pass.cpp | 12 // shared_ptr 14 // template <class U> bool owner_before(shared_ptr<U> const& b) const; 21 const std::shared_ptr<int> p1(new int); 22 const std::shared_ptr<int> p2 = p1; 23 const std::shared_ptr<int> p3(new int);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/ |
atomic_compare_exchange_strong.pass.cpp | 12 // shared_ptr 16 // atomic_compare_exchange_strong(shared_ptr<T>* p, shared_ptr<T>* v, 17 // shared_ptr<T> w); 26 std::shared_ptr<int> p(new int(4)); 27 std::shared_ptr<int> v(new int(3)); 28 std::shared_ptr<int> w(new int(2)); 36 std::shared_ptr<int> p(new int(4)); 37 std::shared_ptr<int> v = p; 38 std::shared_ptr<int> w(new int(2)) [all...] |
atomic_compare_exchange_weak.pass.cpp | 12 // shared_ptr 16 // atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v, 17 // shared_ptr<T> w); 26 std::shared_ptr<int> p(new int(4)); 27 std::shared_ptr<int> v(new int(3)); 28 std::shared_ptr<int> w(new int(2)); 36 std::shared_ptr<int> p(new int(4)); 37 std::shared_ptr<int> v = p; 38 std::shared_ptr<int> w(new int(2)) [all...] |
atomic_exchange.pass.cpp | 12 // shared_ptr 15 // shared_ptr<T> 16 // atomic_exchange(shared_ptr<T>* p, shared_ptr<T> r) 25 std::shared_ptr<int> p(new int(4)); 26 std::shared_ptr<int> r(new int(3));
|
atomic_load.pass.cpp | 12 // shared_ptr 15 // shared_ptr<T> 16 // atomic_load(const shared_ptr<T>* p) 25 std::shared_ptr<int> p(new int(3)); 26 std::shared_ptr<int> q = std::atomic_load(&p);
|
atomic_load_explicit.pass.cpp | 12 // shared_ptr 15 // shared_ptr<T> 16 // atomic_load_explicit(const shared_ptr<T>* p, memory_order mo) 25 const std::shared_ptr<int> p(new int(3)); 26 std::shared_ptr<int> q = std::atomic_load_explicit(&p, std::memory_order_relaxed);
|
atomic_store.pass.cpp | 12 // shared_ptr 16 // atomic_store(shared_ptr<T>* p, shared_ptr<T> r) 25 std::shared_ptr<int> p; 26 std::shared_ptr<int> r(new int(3));
|
atomic_store_explicit.pass.cpp | 12 // shared_ptr 16 // atomic_store_explicit(shared_ptr<T>* p, shared_ptr<T> r, memory_order mo) 25 std::shared_ptr<int> p; 26 std::shared_ptr<int> r(new int(3));
|
atomic_compare_exchange_strong_explicit.pass.cpp | 12 // shared_ptr 16 // atomic_compare_exchange_strong_explicit(shared_ptr<T>* p, shared_ptr<T>* v, 17 // shared_ptr<T> w, memory_order success, 27 std::shared_ptr<int> p(new int(4)); 28 std::shared_ptr<int> v(new int(3)); 29 std::shared_ptr<int> w(new int(2)); 39 std::shared_ptr<int> p(new int(4)); 40 std::shared_ptr<int> v = p; 41 std::shared_ptr<int> w(new int(2)) [all...] |
atomic_compare_exchange_weak_explicit.pass.cpp | 12 // shared_ptr 16 // atomic_compare_exchange_weak_explicit(shared_ptr<T>* p, shared_ptr<T>* v, 17 // shared_ptr<T> w, memory_order success, 27 std::shared_ptr<int> p(new int(4)); 28 std::shared_ptr<int> v(new int(3)); 29 std::shared_ptr<int> w(new int(2)); 39 std::shared_ptr<int> p(new int(4)); 40 std::shared_ptr<int> v = p; 41 std::shared_ptr<int> w(new int(2)) [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 30 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 63 /// 2.2.3.7 shared_ptr I/O 73 /// 2.2.3.10 shared_ptr get_deleter (experimental) 89 * The object pointed to is deleted when the last shared_ptr pointing to 93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr 97 * @brief Construct an empty %shared_ptr. 100 constexpr shared_ptr() noexcept 103 shared_ptr(const shared_ptr&) noexcept = default 112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr 129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr 165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
not_less_than.fail.cpp | 21 const std::shared_ptr<int> p1(new int); 22 const std::shared_ptr<int> p2(new int);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
eq.pass.cpp | 12 // shared_ptr 14 // template<class T, class U> bool operator==(const shared_ptr<T>& a, const shared_ptr<U>& b); 15 // template<class T, class U> bool operator!=(const shared_ptr<T>& a, const shared_ptr<U>& b); 26 const std::shared_ptr<int> p1(ptr1); 27 const std::shared_ptr<int> p2(ptr2); 28 const std::shared_ptr<int> p3(ptr2, do_nothing);
|
lt.pass.cpp | 12 // shared_ptr 14 // template<class T, class U> bool operator<(const shared_ptr<T>& a, const shared_ptr<U>& b); 25 const std::shared_ptr<int> p1(ptr1); 26 const std::shared_ptr<int> p2(ptr2); 27 const std::shared_ptr<int> p3(ptr2, do_nothing);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 30 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 63 /// 2.2.3.7 shared_ptr I/O 73 /// 2.2.3.10 shared_ptr get_deleter (experimental) 89 * The object pointed to is deleted when the last shared_ptr pointing to 93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr 97 * @brief Construct an empty %shared_ptr. 100 constexpr shared_ptr() function in class:shared_ptr 103 shared_ptr(const shared_ptr&) = default; // never throw 112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr 129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr 165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 218 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 226 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 236 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 266 constexpr shared_ptr(nullptr_t __p) function in class:shared_ptr 315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 30 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 63 /// 2.2.3.7 shared_ptr I/O 73 /// 2.2.3.10 shared_ptr get_deleter (experimental) 89 * The object pointed to is deleted when the last shared_ptr pointing to 93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr 97 * @brief Construct an empty %shared_ptr. 100 constexpr shared_ptr() function in class:shared_ptr 103 shared_ptr(const shared_ptr&) = default; // never throw 112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr 129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr 165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 218 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 226 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 236 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 266 constexpr shared_ptr(nullptr_t __p) function in class:shared_ptr 315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 30 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 63 /// 2.2.3.7 shared_ptr I/O 73 /// 2.2.3.10 shared_ptr get_deleter (experimental) 89 * The object pointed to is deleted when the last shared_ptr pointing to 93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr 97 * @brief Construct an empty %shared_ptr. 100 constexpr shared_ptr() function in class:shared_ptr 103 shared_ptr(const shared_ptr&) = default; // never throw 112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr 129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr 165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr 206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 218 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 226 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 236 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 266 constexpr shared_ptr(nullptr_t __p) function in class:shared_ptr 315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.enab/ |
enable_shared_from_this.pass.cpp | 19 // shared_ptr<T> shared_from_this(); 20 // shared_ptr<T const> shared_from_this() const; 38 std::shared_ptr<Y> p(new Z); 39 std::shared_ptr<T> q = p->shared_from_this(); 44 std::shared_ptr<Y> p = std::make_shared<Z>(); 45 std::shared_ptr<T> q = p->shared_from_this();
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/ |
types.pass.cpp | 12 // template<class T> class shared_ptr 25 static_assert((std::is_same<std::shared_ptr<A>::element_type, A>::value), "");
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
default.pass.cpp | 12 // shared_ptr(); 19 std::shared_ptr<int> p;
|
nullptr_t.pass.cpp | 12 // shared_ptr(nullptr_t) 19 std::shared_ptr<int> p(nullptr);
|