Searched defs:RawPtrCountingImplForTest (Results 1 – 1 of 1) sorted by relevance
20 struct RawPtrCountingImplForTest : public base::internal::RawPtrNoOpImpl { struct21 using SuperImpl = base::internal::RawPtrNoOpImpl;23 static constexpr bool kMustZeroOnConstruct = false;24 static constexpr bool kMustZeroOnMove = false;25 static constexpr bool kMustZeroOnDestruct = false;28 PA_ALWAYS_INLINE static T* WrapRawPtr(T* ptr) { in WrapRawPtr()34 PA_ALWAYS_INLINE static void ReleaseWrappedPtr(T* ptr) { in ReleaseWrappedPtr()40 PA_ALWAYS_INLINE static T* SafelyUnwrapPtrForDereference(T* wrapped_ptr) { in SafelyUnwrapPtrForDereference()46 PA_ALWAYS_INLINE static T* SafelyUnwrapPtrForExtraction(T* wrapped_ptr) { in SafelyUnwrapPtrForExtraction()52 PA_ALWAYS_INLINE static T* UnsafelyUnwrapPtrForComparison(T* wrapped_ptr) { in UnsafelyUnwrapPtrForComparison()[all …]