Home
last modified time | relevance | path

Searched defs:IntrusivePtr (Results 1 – 4 of 4) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/core/platform/
H A Dintrusive_ptr_test.cc25 TEST(IntrusivePtr, ConstructorAddRefFalse) { in TEST() argument
32 TEST(IntrusivePtr, ConstructorAddRefTrue) { in TEST() argument
40 TEST(IntrusivePtr, CopyConstructor) { in TEST() argument
46 TEST(IntrusivePtr, CopyAssignment) { in TEST() argument
57 TEST(IntrusivePtr, CopyAssignmentIntoEmpty) { in TEST() argument
64 TEST(IntrusivePtr, MoveConstructor) { in TEST() argument
71 TEST(IntrusivePtr, MoveAssignment) { in TEST() argument
79 TEST(IntrusivePtr, MoveAssignmentIntoEmpty) { in TEST() argument
87 TEST(IntrusivePtr, MoveAssignmentAlias) { in TEST() argument
94 TEST(IntrusivePtr, Reset) { in TEST() argument
[all …]
H A Dintrusive_ptr.h33 IntrusivePtr(T* h, bool add_ref) { reset(h, add_ref); } in IntrusivePtr() function
34 IntrusivePtr(const IntrusivePtr& o) { reset(o.handle_, /*add_ref=*/true); } in IntrusivePtr() function
35 IntrusivePtr(IntrusivePtr&& o) { *this = std::move(o); } in IntrusivePtr() function
36 IntrusivePtr() {} in IntrusivePtr() function
/aosp_15_r20/external/pigweed/pw_intrusive_ptr/public/pw_intrusive_ptr/
H A Dintrusive_ptr.h46 constexpr IntrusivePtr() : ptr_(nullptr) {} in IntrusivePtr() function
51 constexpr IntrusivePtr(std::nullptr_t) : IntrusivePtr() {} in IntrusivePtr() function
63 explicit IntrusivePtr(T* p) : ptr_(p) { in IntrusivePtr() function
69 IntrusivePtr(const IntrusivePtr& other) : IntrusivePtr(other.ptr_) {} in IntrusivePtr() function
71 IntrusivePtr(IntrusivePtr&& other) noexcept in IntrusivePtr() function
76 IntrusivePtr(const IntrusivePtr<U>& other) : IntrusivePtr(other.ptr_) { in IntrusivePtr() function
82 IntrusivePtr(IntrusivePtr<U>&& other) in IntrusivePtr() function
/aosp_15_r20/external/pigweed/pw_intrusive_ptr/
H A Ddocs.rst7 IntrusivePtr chapter