Home
last modified time | relevance | path

Searched refs:test_shared_ptr (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/tests/intrusive_shared_ptr_src/
H A Dctor.copy.cpp83 static_assert(std::is_copy_constructible_v<test_shared_ptr<Derived> >);
86 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<B…
87 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shar…
88 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shar…
89 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Bas…
92 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<D…
95 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<char>, /*from*/ test_shared_ptr<Deri…
96 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Unrelated>, /*from*/ test_shared_ptr
97 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Bas…
H A Dassign.copy.cpp103 static_assert(std::is_copy_assignable_v<test_shared_ptr<Derived> >);
106 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base…
107 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shared_…
108 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shared_…
109 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Base1>…
112 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Deri…
115 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<char>, /*from*/ test_shared_ptr<Derived…
116 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Unrelated>, /*from*/ test_shared_ptr<De…
117 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Base1>…
H A Dctor.move.cpp97 static_assert(std::is_move_constructible_v<test_shared_ptr<Derived> >);
100 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<B…
101 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shar…
102 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shar…
103 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Bas…
106 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<D…
109 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<char>, /*from*/ test_shared_ptr<Deri…
110 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Unrelated>, /*from*/ test_shared_ptr
111 …static_assert(!std::is_constructible_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Bas…
H A Dassign.move.cpp104 static_assert(std::is_move_assignable_v<test_shared_ptr<Derived> >);
107 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Base…
108 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shared_…
109 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<DerivedMultiple>, /*from*/ test_shared_…
110 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Base1>…
113 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Derived>, /*from*/ test_shared_ptr<Deri…
116 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<char>, /*from*/ test_shared_ptr<Derived…
117 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Unrelated>, /*from*/ test_shared_ptr<De…
118 …static_assert(!std::is_assignable_v</*to*/ test_shared_ptr<Base2>, /*from*/ test_shared_ptr<Base1>…
H A Dcompare.equal.cpp47 test_shared_ptr<TQual> const a(&obj1, libkern::no_retain); in tests()
48 test_shared_ptr<TQual> const b(&obj2, libkern::no_retain); in tests()
53 test_shared_ptr<TQual> const a(&obj1, libkern::no_retain); in tests()
54 test_shared_ptr<TQual> const b(&obj1, libkern::no_retain); in tests()
59 test_shared_ptr<TQual> const a = nullptr; in tests()
60 test_shared_ptr<TQual> const b(&obj2, libkern::no_retain); in tests()
65 test_shared_ptr<TQual> const a = nullptr; in tests()
66 test_shared_ptr<TQual> const b = nullptr; in tests()
76 test_shared_ptr<T> const a(&obj, libkern::no_retain); in tests_convert()
77 test_shared_ptr<RelatedT> const b(&obj, libkern::no_retain); in tests_convert()
H A Dcompare.equal.raw.cpp53 test_shared_ptr<TQual> const a(&obj1, libkern::no_retain); in tests()
59 test_shared_ptr<TQual> const a(&obj1, libkern::no_retain); in tests()
65 test_shared_ptr<TQual> const a = nullptr; in tests()
71 test_shared_ptr<TQual> const a(&obj1, libkern::no_retain); in tests()
77 test_shared_ptr<TQual> const a = nullptr; in tests()
90 test_shared_ptr<T> const a(&obj, libkern::no_retain); in tests_convert()
96 test_shared_ptr<RelatedT> const a(&obj, libkern::no_retain); in tests_convert()
H A Dabi.size_alignment.cpp14 test_shared_ptr<int> ptr;
29 test_shared_ptr<int> ptr;
45 test_shared_ptr<int> ptr;
64 test_shared_ptr<int> ptr;
84 test_shared_ptr<int> ptr;
104 test_shared_ptr<int> ptr;
124 test_shared_ptr<int> ptr __attribute__((packed));
H A Doperator.bool.cpp22 test_shared_ptr<T> const ptr(&obj, libkern::no_retain); in tests()
31 test_shared_ptr<T> const ptr = nullptr; in tests()
39 static_assert(!std::is_convertible_v<test_shared_ptr<T>, bool>); in tests()
H A Dcompare.equal.nullptr.cpp49 test_shared_ptr<TQual> const a(&obj, libkern::no_retain); in tests()
54 test_shared_ptr<TQual> const a = nullptr; in tests()
H A Dget.cpp17 can_call_get_on_temporary(int)->decltype(std::declval<test_shared_ptr<T> >().get(), bool ()) in can_call_get_on_temporary()
H A Dtest_policy.h76 using test_shared_ptr = libkern::intrusive_shared_ptr<T, test_policy>; variable