/dports/security/clamav-lts/clamav-0.103.5/libclamav/c++/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 31 class IntrusiveRefCntPtr; variable 56 friend class IntrusiveRefCntPtr<Derived>; 102 class IntrusiveRefCntPtr { 104 typedef IntrusiveRefCntPtr this_type; 114 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 119 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 124 IntrusiveRefCntPtr& operator=(const IntrusiveRefCntPtr& S) { 130 IntrusiveRefCntPtr& operator=(const IntrusiveRefCntPtr<X>& S) { 135 IntrusiveRefCntPtr& operator=(T * S) { 140 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 135 template <typename T> class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() = default; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 156 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 158 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 168 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 135 template <typename T> class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() = default; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 156 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 158 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 168 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llvm10/llvm-10.0.1.src/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 135 template <typename T> class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() = default; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 156 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 158 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 168 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 135 template <typename T> class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() = default; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 156 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 158 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 168 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 135 template <typename T> class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() = default; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 156 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 158 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 168 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 135 template <typename T> class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() = default; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 156 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 158 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 168 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llvm90/llvm-9.0.1.src/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 135 template <typename T> class IntrusiveRefCntPtr { 141 explicit IntrusiveRefCntPtr() = default; 142 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 147 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 156 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 158 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 168 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llvm80/llvm-8.0.1.src/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 136 template <typename T> class IntrusiveRefCntPtr { 142 explicit IntrusiveRefCntPtr() = default; 143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 145 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 148 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 153 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 157 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 159 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 169 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llvm70/llvm-7.0.1.src/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 136 template <typename T> class IntrusiveRefCntPtr { 142 explicit IntrusiveRefCntPtr() = default; 143 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 144 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 145 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 148 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 153 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 157 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 159 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 169 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 175 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 185 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 189 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 191 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 201 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 175 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> &&S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 185 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X> &S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 189 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 191 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 201 void swap(IntrusiveRefCntPtr &other) { in swap() [all …]
|
/dports/devel/llbuild/swift-llbuild-swift-DEVELOPMENT-SNAPSHOT-2017-12-10-a/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 32 class IntrusiveRefCntPtr; variable 136 class IntrusiveRefCntPtr { 144 IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr() function 148 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 152 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 157 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 162 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 167 IntrusiveRefCntPtr& operator=(IntrusiveRefCntPtr S) { 172 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 182 void swap(IntrusiveRefCntPtr& other) { in swap() [all …]
|
/dports/devel/py-keystone-engine/keystone-engine-0.9.1-3/src/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 31 class IntrusiveRefCntPtr; variable 134 class IntrusiveRefCntPtr { 142 IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr() function 146 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 150 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 155 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 160 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 165 IntrusiveRefCntPtr& operator=(IntrusiveRefCntPtr S) { 170 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 180 void swap(IntrusiveRefCntPtr& other) { in swap() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 133 class IntrusiveRefCntPtr { 139 explicit IntrusiveRefCntPtr() = default; 141 IntrusiveRefCntPtr(T* obj) : Obj(obj) { in IntrusiveRefCntPtr() function 145 IntrusiveRefCntPtr(const IntrusiveRefCntPtr& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 149 IntrusiveRefCntPtr(IntrusiveRefCntPtr&& S) : Obj(S.Obj) { in IntrusiveRefCntPtr() function 154 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 159 IntrusiveRefCntPtr(const IntrusiveRefCntPtr<X>& S) in IntrusiveRefCntPtr() function 164 IntrusiveRefCntPtr& operator=(IntrusiveRefCntPtr S) { 169 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 179 void swap(IntrusiveRefCntPtr& other) { in swap() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 198 void swap(IntrusiveRefCntPtr &other) { in swap() 226 inline bool operator==(const IntrusiveRefCntPtr<T> &A, [all …]
|
/dports/graphics/llvm-mesa/llvm-13.0.1.src/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 198 void swap(IntrusiveRefCntPtr &other) { in swap() 226 inline bool operator==(const IntrusiveRefCntPtr<T> &A, [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 198 void swap(IntrusiveRefCntPtr &other) { in swap() 226 inline bool operator==(const IntrusiveRefCntPtr<T> &A, [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 198 void swap(IntrusiveRefCntPtr &other) { in swap() 226 inline bool operator==(const IntrusiveRefCntPtr<T> &A, [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 198 void swap(IntrusiveRefCntPtr &other) { in swap() 226 inline bool operator==(const IntrusiveRefCntPtr<T> &A, [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 163 template <typename T> class IntrusiveRefCntPtr { 169 explicit IntrusiveRefCntPtr() = default; 170 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); } in IntrusiveRefCntPtr() function 171 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr() function 172 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr() function 176 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) { in IntrusiveRefCntPtr() function 186 ~IntrusiveRefCntPtr() { release(); } in ~IntrusiveRefCntPtr() 188 IntrusiveRefCntPtr &operator=(IntrusiveRefCntPtr S) { 198 void swap(IntrusiveRefCntPtr &other) { in swap() 226 inline bool operator==(const IntrusiveRefCntPtr<T> &A, [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/ADT/ |
H A D | IntrusiveRefCntPtrTest.cpp | 37 IntrusiveRefCntPtr<TypeParam> R1 = S1; in TYPED_TEST() 39 IntrusiveRefCntPtr<TypeParam> R2 = S2; in TYPED_TEST() 49 IntrusiveRefCntPtr<TypeParam> R1 = std::move(S1); in TYPED_TEST() 88 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 93 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST() 104 static_assert(!std::is_convertible<IntrusiveRefCntPtr<X> &&, 123 TEST(IntrusiveRefCntPtr, InteropsWithConvertible) { in TEST() argument 133 IntrusiveRefCntPtr<X> X1 = std::move(Y1); in TEST() 134 IntrusiveRefCntPtr<X> X2 = Y2; in TEST() 135 IntrusiveRefCntPtr<X> X3; in TEST() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/unittests/ADT/ |
H A D | IntrusiveRefCntPtrTest.cpp | 37 IntrusiveRefCntPtr<TypeParam> R1 = S1; in TYPED_TEST() 39 IntrusiveRefCntPtr<TypeParam> R2 = S2; in TYPED_TEST() 49 IntrusiveRefCntPtr<TypeParam> R1 = std::move(S1); in TYPED_TEST() 88 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 93 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST() 104 static_assert(!std::is_convertible<IntrusiveRefCntPtr<X> &&, 123 TEST(IntrusiveRefCntPtr, InteropsWithConvertible) { in TEST() argument 133 IntrusiveRefCntPtr<X> X1 = std::move(Y1); in TEST() 134 IntrusiveRefCntPtr<X> X2 = Y2; in TEST() 135 IntrusiveRefCntPtr<X> X3; in TEST() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/llvm/unittests/ADT/ |
H A D | IntrusiveRefCntPtrTest.cpp | 37 IntrusiveRefCntPtr<TypeParam> R1 = S1; in TYPED_TEST() 39 IntrusiveRefCntPtr<TypeParam> R2 = S2; in TYPED_TEST() 49 IntrusiveRefCntPtr<TypeParam> R1 = std::move(S1); in TYPED_TEST() 88 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 93 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST() 104 static_assert(!std::is_convertible<IntrusiveRefCntPtr<X> &&, 123 TEST(IntrusiveRefCntPtr, InteropsWithConvertible) { in TEST() argument 133 IntrusiveRefCntPtr<X> X1 = std::move(Y1); in TEST() 134 IntrusiveRefCntPtr<X> X2 = Y2; in TEST() 135 IntrusiveRefCntPtr<X> X3; in TEST() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/llvm/unittests/ADT/ |
H A D | IntrusiveRefCntPtrTest.cpp | 37 IntrusiveRefCntPtr<TypeParam> R1 = S1; in TYPED_TEST() 39 IntrusiveRefCntPtr<TypeParam> R2 = S2; in TYPED_TEST() 49 IntrusiveRefCntPtr<TypeParam> R1 = std::move(S1); in TYPED_TEST() 88 TEST(IntrusiveRefCntPtr, UsesTraitsToRetainAndRelease) { in TEST() argument 93 IntrusiveRefCntPtr<InterceptRefCounted> R = I; in TEST() 104 static_assert(!std::is_convertible<IntrusiveRefCntPtr<X> &&, 123 TEST(IntrusiveRefCntPtr, InteropsWithConvertible) { in TEST() argument 133 IntrusiveRefCntPtr<X> X1 = std::move(Y1); in TEST() 134 IntrusiveRefCntPtr<X> X2 = Y2; in TEST() 135 IntrusiveRefCntPtr<X> X3; in TEST() [all …]
|