| /xnu-11417.121.6/libkern/libkern/c++/ |
| H A D | intrusive_shared_ptr.h | 124 struct __attribute__((trivial_abi)) intrusive_shared_ptr { 138 constexpr intrusive_shared_ptr() noexcept : ptr_(nullptr) { 140 constexpr intrusive_shared_ptr(isp_detail::nullptr_t) noexcept : ptr_(nullptr) { 155 intrusive_shared_ptr(pointer p, retain_t) noexcept : ptr_(p) { 173 intrusive_shared_ptr(__attribute__((os_consumed)) pointer p, no_retain_t) noexcept : ptr_(p) { 181 intrusive_shared_ptr(intrusive_shared_ptr const & other) : ptr_(other.ptr_) { 198 intrusive_shared_ptr(intrusive_shared_ptr<U, RefcountPolicy> const & other) : ptr_(other.ptr_) { 209 constexpr intrusive_shared_ptr(intrusive_shared_ptr && other) noexcept : ptr_(other.ptr_) { 224 …constexpr intrusive_shared_ptr(intrusive_shared_ptr<U, RefcountPolicy>&& other) noexcept : ptr_(ot… 237 ~intrusive_shared_ptr() { [all …]
|
| H A D | OSSharedPtr.h | 66 class __attribute__((trivial_abi)) OSSharedPtr: public libkern::intrusive_shared_ptr<T, intrusive_o… 67 using libkern::intrusive_shared_ptr<T, intrusive_osobject_retainer>::intrusive_shared_ptr; 71 class __attribute__((trivial_abi)) OSTaggedSharedPtr: public libkern::intrusive_shared_ptr<T, intru… 72 …using libkern::intrusive_shared_ptr<T, intrusive_tagged_osobject_retainer<Tag> >::intrusive_shared…
|
| H A D | Makefile | 33 intrusive_shared_ptr.h \
|
| /xnu-11417.121.6/tests/intrusive_shared_ptr_src/ |
| H A D | ctor.copy.cpp | 37 libkern::intrusive_shared_ptr<From, test_policy> const from(&obj, libkern::retain); in tests() 38 libkern::intrusive_shared_ptr<To, test_policy> to(from); // explicit in tests() 44 libkern::intrusive_shared_ptr<From, test_policy> const from(&obj, libkern::retain); in tests() 45 libkern::intrusive_shared_ptr<To, test_policy> to{from}; // explicit in tests() 51 libkern::intrusive_shared_ptr<From, test_policy> const from(&obj, libkern::retain); in tests() 52 libkern::intrusive_shared_ptr<To, test_policy> to = from; // implicit in tests() 60 libkern::intrusive_shared_ptr<From, test_policy> const from = nullptr; in tests() 61 libkern::intrusive_shared_ptr<To, test_policy> to = from; in tests() 100 …_constructible_v</*to*/ libkern::intrusive_shared_ptr<Derived, dummy_policy<2> >, /*from*/ libkern…
|
| H A D | ctor.move.cpp | 38 libkern::intrusive_shared_ptr<From, test_policy> from(&obj, libkern::retain); in tests() 42 libkern::intrusive_shared_ptr<To, test_policy> to(std::move(from)); // explicit in tests() 49 libkern::intrusive_shared_ptr<From, test_policy> from(&obj, libkern::retain); in tests() 53 libkern::intrusive_shared_ptr<To, test_policy> to{std::move(from)}; // explicit in tests() 60 libkern::intrusive_shared_ptr<From, test_policy> from(&obj, libkern::retain); in tests() 64 libkern::intrusive_shared_ptr<To, test_policy> to = std::move(from); // implicit in tests() 73 libkern::intrusive_shared_ptr<From, test_policy> from = nullptr; in tests() 74 libkern::intrusive_shared_ptr<To, test_policy> to = std::move(from); in tests() 114 …_constructible_v</*to*/ libkern::intrusive_shared_ptr<Derived, dummy_policy<2> >, /*from*/ libkern…
|
| H A D | ctor.default.cpp | 18 libkern::intrusive_shared_ptr<T, test_policy> ptr; in tests() 22 libkern::intrusive_shared_ptr<T, test_policy> ptr{}; in tests() 26 …libkern::intrusive_shared_ptr<T, test_policy> ptr = libkern::intrusive_shared_ptr<T, test_policy>(… in tests() 30 libkern::intrusive_shared_ptr<T, test_policy> ptr = {}; in tests()
|
| H A D | ctor.nullptr.cpp | 18 libkern::intrusive_shared_ptr<T, test_policy> ptr = nullptr; in tests() 22 libkern::intrusive_shared_ptr<T, test_policy> ptr{nullptr}; in tests() 26 libkern::intrusive_shared_ptr<T, test_policy> ptr(nullptr); in tests()
|
| H A D | dtor.cpp | 19 libkern::intrusive_shared_ptr<T, test_policy> ptr(&obj, libkern::no_retain); 31 libkern::intrusive_shared_ptr<T, test_policy> ptr = nullptr;
|
| H A D | ctor.ptr.no_retain.cpp | 21 libkern::intrusive_shared_ptr<TQual, test_policy> ptr(&obj, libkern::no_retain); in tests() 27 libkern::intrusive_shared_ptr<TQual, test_policy> ptr{&obj, libkern::no_retain}; in tests()
|
| H A D | ctor.ptr.retain.cpp | 21 libkern::intrusive_shared_ptr<TQual, test_policy> ptr(&obj, libkern::retain); in tests() 27 libkern::intrusive_shared_ptr<TQual, test_policy> ptr{&obj, libkern::retain}; in tests()
|
| H A D | test_policy.h | 73 using tracked_shared_ptr = libkern::intrusive_shared_ptr<T, tracking_policy>; 76 using test_shared_ptr = libkern::intrusive_shared_ptr<T, test_policy>;
|
| H A D | assign.copy.cpp | 120 …:is_assignable_v</*to*/ libkern::intrusive_shared_ptr<Derived, dummy_policy<2> >, /*from*/ libkern…
|
| H A D | abi_helper.h | 12 using SharedPtr = libkern::intrusive_shared_ptr<T, test_policy>;
|
| H A D | assign.move.cpp | 121 …:is_assignable_v</*to*/ libkern::intrusive_shared_ptr<Derived, dummy_policy<2> >, /*from*/ libkern…
|
| /xnu-11417.121.6/tests/ |
| H A D | Makefile | 674 intrusive_shared_ptr: OTHER_CXXFLAGS += -Werror=implicit-int-conversion -Werror=shorten-64-to-32 -I… target 675 intrusive_shared_ptr: $(wildcard intrusive_shared_ptr_src/*.cpp) intrusive_shared_ptr.cpp target
|